.page-news {
  --news-rule: rgba(200, 211, 224, 0.12);
  --news-rule-strong: rgba(34, 224, 214, 0.30);
  --news-gap: clamp(18px, 4vw, 44px);
  --news-radius: 14px;
  position: relative;
  overflow-x: hidden;
  padding-bottom: var(--wm-space-4);
  color: var(--wm-rock);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(154, 107, 255, 0.14), transparent 62%),
    radial-gradient(900px 460px at 6% 22%, rgba(34, 224, 214, 0.10), transparent 60%),
    linear-gradient(180deg, #050B18 0%, #07142A 42%, #050B18 100%);
}

/* ---------- 首屏 ---------- */
.page-news .news-focus {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 104px) 0 clamp(38px, 5vw, 56px);
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-focus__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .news-focus__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
  display: block;
}

.page-news .news-focus__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 24, 0.90) 0%, rgba(5, 11, 24, 0.58) 44%, rgba(5, 11, 24, 0.97) 100%),
    repeating-linear-gradient(90deg, rgba(34, 224, 214, 0.07) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, rgba(34, 224, 214, 0.07) 0 1px, transparent 1px 12px);
}

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

.page-news .news-h1 {
  margin: 18px 0 0;
  max-width: 20ch;
  font-family: var(--wm-sans);
  font-size: clamp(2rem, 6.2vw, 3.9rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  transform: skewX(-4deg);
  transform-origin: left bottom;
  color: var(--wm-cream);
}

.page-news .news-lead {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.78;
  color: var(--wm-rock);
}

.page-news .news-focus__caption {
  margin: clamp(30px, 5vw, 46px) 0 0;
  font-family: var(--wm-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wm-cyan);
}

.page-news .news-focus__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-focus__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-focus__num {
  font-family: var(--wm-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--wm-cyan);
  padding-top: 5px;
}

.page-news .news-focus__label {
  font-family: var(--wm-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--wm-sand);
  padding-top: 4px;
}

.page-news .news-focus__text {
  grid-column: 2;
  margin: 6px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.72;
  color: var(--wm-cream);
}

.page-news .news-focus__note {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--wm-cold);
}

@media (min-width: 900px) {
  .page-news .news-focus__item {
    grid-template-columns: 52px 150px minmax(0, 1fr);
    align-items: start;
    gap: 0 22px;
  }
  .page-news .news-focus__text {
    grid-column: 3;
    margin-top: 0;
  }
}

/* ---------- 章节通用 ---------- */
.page-news .news-chapter {
  position: relative;
}

.page-news .news-h2 {
  margin: 14px 0 0;
  font-family: var(--wm-sans);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.16;
  transform: skewX(-3deg);
  transform-origin: left bottom;
  color: var(--wm-cream);
}

.page-news .news-chapter__lead {
  margin: 16px 0 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--wm-rock);
}

/* ---------- 筛选 ---------- */
.page-news .wm-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 6px;
}

.page-news .wm-filter__btn {
  font-family: var(--wm-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--news-rule-strong);
  background: transparent;
  color: var(--wm-rock);
  cursor: pointer;
  transition: background 0.2s var(--wm-ease), color 0.2s var(--wm-ease), border-color 0.2s var(--wm-ease);
}

.page-news .wm-filter__btn:hover {
  border-color: var(--wm-cyan);
  color: var(--wm-cream);
}

.page-news .wm-filter__btn[aria-pressed="true"] {
  background: var(--wm-cyan);
  border-color: var(--wm-cyan);
  color: #04121a;
}

.page-news .wm-filter__btn:focus-visible {
  outline: 2px solid var(--wm-cyan);
  outline-offset: 3px;
}

/* ---------- 条目流 ---------- */
.page-news .news-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0 24px 16px;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: rgba(200, 211, 224, 0.25);
}

.page-news .news-item--focus::before { background: var(--wm-orange); }
.page-news .news-item--board::before { background: var(--wm-cyan); }
.page-news .news-item--version::before { background: var(--wm-violet); }
.page-news .news-item--feature::before { background: var(--wm-moss); }

.page-news .news-item__num {
  font-family: var(--wm-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--wm-cold);
  padding-top: 3px;
}

.page-news .news-item__body {
  min-width: 0;
}

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

.page-news .news-item__time {
  font-family: var(--wm-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--wm-cold);
}

.page-news .news-item__title {
  margin: 9px 0 7px;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  font-weight: 700;
  line-height: 1.48;
  color: var(--wm-cream);
}

.page-news .news-item__desc {
  margin: 0;
  max-width: 60ch;
  font-size: 14.8px;
  line-height: 1.76;
  color: var(--wm-rock);
}

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

.page-news .news-item__more > summary {
  display: inline-block;
  list-style: none;
  cursor: pointer;
  font-family: var(--wm-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--wm-cyan);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(34, 224, 214, 0.38);
}

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

.page-news .news-item__more > summary:focus-visible {
  outline: 2px solid var(--wm-cyan);
  outline-offset: 3px;
}

.page-news .news-item__more[open] > summary {
  color: var(--wm-cream);
  border-bottom-color: rgba(239, 243, 247, 0.4);
}

.page-news .news-item__more p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--wm-cold);
}

.page-news .news-item__thumb {
  grid-column: 2;
  margin: 14px 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--news-rule);
}

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

@media (min-width: 768px) {
  .page-news .news-item--media {
    grid-template-columns: 38px minmax(0, 1fr) 186px;
  }
  .page-news .news-item--media .news-item__thumb {
    grid-column: 3;
    grid-row: 1;
    margin: 2px 0 0;
    aspect-ratio: 4 / 3;
    align-self: start;
  }
  .page-news .news-item--media .news-item__thumb img {
    height: 100%;
  }
}

/* ---------- 专题轨道 ---------- */
.page-news .news-rail {
  display: flex;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0 0 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-news .news-rail > li {
  flex: 0 0 min(268px, 74vw);
  scroll-snap-align: start;
}

.page-news .news-rail > li.wm-rail__item--wide {
  flex-basis: min(360px, 84vw);
}

.page-news .news-topic {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: var(--news-radius);
  border: 1px solid var(--news-rule);
  background: linear-gradient(160deg, rgba(18, 48, 92, 0.72) 0%, rgba(11, 26, 51, 0.9) 100%);
}

.page-news .news-topic__media {
  margin: -20px -20px 16px;
  border-radius: var(--news-radius) var(--news-radius) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--news-rule);
}

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

.page-news .news-topic__kicker {
  margin: 0;
  font-family: var(--wm-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--wm-moss);
}

.page-news .news-topic__title {
  margin: 10px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--wm-cream);
}

.page-news .news-topic__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.72;
  color: var(--wm-rock);
}

.page-news .news-topic__link {
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--wm-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--wm-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 214, 0.4);
  padding-bottom: 2px;
}

.page-news .news-topic__link:hover {
  color: var(--wm-cream);
  border-bottom-color: rgba(239, 243, 247, 0.5);
}

.page-news .news-topic__link:focus-visible {
  outline: 2px solid var(--wm-cyan);
  outline-offset: 3px;
}

/* ---------- 赛季阶段 ---------- */
.page-news .news-phases {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.page-news .news-phase {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--news-radius);
  border: 1px solid var(--news-rule);
  background: rgba(11, 26, 51, 0.62);
  overflow: hidden;
}

.page-news .news-phase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--wm-cyan);
}

.page-news .news-phase--pre::after { background: var(--wm-orange); }
.page-news .news-phase--live::after { background: var(--wm-cyan); }
.page-news .news-phase--post::after { background: var(--wm-moss); }
.page-news .news-phase--off::after { background: var(--wm-clay); }

.page-news .news-phase__num {
  margin: 0;
  font-family: var(--wm-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--wm-sand);
}

.page-news .news-phase__title {
  margin: 10px 0 8px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--wm-cream);
}

.page-news .news-phase__text {
  margin: 0;
  font-size: 14.2px;
  line-height: 1.76;
  color: var(--wm-rock);
}

.page-news .news-phases__help {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--wm-cold);
}

.page-news .news-phases__help a {
  color: var(--wm-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 214, 0.4);
}

.page-news .news-phases__help a:hover {
  color: var(--wm-cream);
}

.page-news .news-phases__help a:focus-visible {
  outline: 2px solid var(--wm-cyan);
  outline-offset: 3px;
}

/* ---------- 订阅带 ---------- */
.page-news .news-sub {
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: clamp(34px, 5vw, 56px) 0;
  border-top: 1px solid rgba(154, 107, 255, 0.4);
  border-bottom: 1px solid rgba(255, 122, 47, 0.35);
  background:
    radial-gradient(620px 320px at 88% 10%, rgba(255, 122, 47, 0.22), transparent 62%),
    linear-gradient(120deg, rgba(18, 48, 92, 0.96) 0%, rgba(122, 78, 190, 0.42) 100%);
}

.page-news .news-sub__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-news .news-sub__title {
  margin: 12px 0 0;
  max-width: 22ch;
  font-family: var(--wm-sans);
  font-size: clamp(1.5rem, 3.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.12;
  transform: skewX(-3deg);
  transform-origin: left bottom;
  color: var(--wm-cream);
}

.page-news .news-sub__desc {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--wm-rock);
}

.page-news .news-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .news-sub__actions .wm-btn {
  white-space: nowrap;
}

/* ---------- 尾部指引 ---------- */
.page-news .news-more {
  margin-top: clamp(32px, 5vw, 52px);
}

.page-news .news-more p {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--wm-cold);
}

.page-news .news-more a {
  color: var(--wm-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 214, 0.38);
}

.page-news .news-more a:hover {
  color: var(--wm-cream);
}

.page-news .news-more a:focus-visible {
  outline: 2px solid var(--wm-cyan);
  outline-offset: 3px;
}

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

@media (min-width: 1024px) {
  .page-news .news-phases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .news-sub__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .page-news .news-sub__actions {
    flex: 0 0 auto;
    padding-bottom: 4px;
  }

  .page-news .news-rail > li {
    flex-basis: 300px;
  }

  .page-news .news-rail > li.wm-rail__item--wide {
    flex-basis: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .wm-filter__btn,
  .page-news .news-topic__link {
    transition: none;
  }
}
