.page-news {
  --news-cover-min: 520px;
}

/* ---------- 首屏专题封面 ---------- */
.page-news .news-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

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

.page-news .news-cover__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .42;
}

.page-news .news-cover__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 42, .5) 0%, rgba(10, 26, 42, .82) 58%, var(--ink) 100%),
    radial-gradient(120% 90% at 12% 15%, rgba(47, 230, 208, .14), transparent 62%);
}

.page-news .news-cover__inner {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 8vw, 96px) 0 clamp(30px, 5vw, 58px);
}

.page-news .news-cover h1 {
  margin: 18px 0 0;
  max-width: 15em;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.005em;
  color: var(--cream);
  text-wrap: balance;
}

.page-news .news-cover__lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(244, 241, 232, .8);
}

.page-news .news-index-bar {
  margin-top: clamp(26px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-index-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: rgba(19, 43, 68, .62);
  color: var(--cream);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}

.page-news .news-index-bar__item:hover,
.page-news .news-index-bar__item:focus-visible {
  border-color: var(--cyan);
  background: rgba(47, 230, 208, .1);
  color: var(--cyan);
}

.page-news .news-index-bar__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--clay);
}

/* ---------- 通用区块 ---------- */
.page-news .news-block {
  padding: clamp(48px, 7.5vw, 92px) 0;
}

.page-news .news-block--list {
  background:
    linear-gradient(180deg, rgba(19, 43, 68, .34) 0%, rgba(10, 26, 42, 0) 48%);
  border-top: 1px solid var(--line);
}

.page-news .section-head p {
  max-width: 46em;
  color: rgba(244, 241, 232, .72);
}

/* ---------- 专题簇 ---------- */
.page-news .cluster-layout {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(26px, 4vw, 40px);
}

.page-news .cluster-list {
  min-width: 0;
}

.page-news .cluster {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}

.page-news .cluster + .cluster {
  margin-top: 12px;
}

.page-news .cluster[open] {
  border-color: rgba(47, 230, 208, .4);
  background: rgba(19, 43, 68, .72);
}

.page-news .cluster__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .cluster__head::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--stone);
  border-bottom: 2px solid var(--stone);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-news .cluster[open] .cluster__head::after {
  transform: rotate(-135deg) translate(-3px, -3px);
  border-color: var(--cyan);
}

.page-news .cluster__head:hover {
  background: rgba(47, 230, 208, .05);
}

.page-news .cluster__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--pill);
  border: 1px solid rgba(193, 116, 63, .55);
  background: rgba(193, 116, 63, .2);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
}

.page-news .cluster:nth-child(even) .cluster__num {
  border-color: rgba(110, 143, 106, .6);
  background: rgba(110, 143, 106, .22);
}

.page-news .cluster__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: .01em;
}

.page-news .cluster__body {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
}

.page-news .cluster__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 241, 232, .74);
}

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

.page-news .cluster__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
}

.page-news .cluster__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--clay);
}

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

.page-news .news-aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel-deep);
}

.page-news .news-aside-card__title {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
}

.page-news .news-aside-card__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 241, 232, .72);
}

.page-news .news-aside-card .btn {
  margin-top: 18px;
}

.page-news .news-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--slate);
}

.page-news .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 625;
  object-fit: cover;
}

.page-news .news-figure--tall img {
  aspect-ratio: 1200 / 800;
}

.page-news .news-figure__caption {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--stone);
}

/* ---------- 版本脉络 ---------- */
.page-news .version-rail {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .version-rail__item {
  position: relative;
  padding-left: 16px;
}

.page-news .version-rail__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.page-news .version-rail__item:last-child::before {
  background: var(--cyan);
}

.page-news .version-rail__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--cyan);
}

.page-news .version-rail__text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 241, 232, .7);
}

/* ---------- 更新列表 ---------- */
.page-news .news-banner {
  margin: clamp(24px, 4vw, 36px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--slate);
}

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

.page-news .news-banner__caption {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--stone);
}

.page-news .news-list-layout {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(24px, 3.5vw, 36px);
}

.page-news .news-list {
  min-width: 0;
  border-top: 1px solid var(--line-strong);
}

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

.page-news .news-item__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px 16px 20px;
  cursor: pointer;
  list-style: none;
  transition: background .18s var(--ease);
}

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

.page-news .news-item__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.page-news .news-item__row:hover {
  background: rgba(47, 230, 208, .05);
}

.page-news .news-item__row:hover::before,
.page-news .news-item[open] .news-item__row::before {
  opacity: 1;
  transform: scaleY(1);
}

.page-news .news-item[open] .news-item__row {
  background: rgba(47, 230, 208, .06);
}

.page-news .news-item__code {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
}

.page-news .news-item[open] .news-item__code {
  color: var(--cyan);
}

.page-news .news-item__main {
  display: block;
  min-width: 0;
}

.page-news .news-item__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-news .news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 9px;
}

.page-news .news-item__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--stone);
}

.page-news .news-item__panel {
  padding: 0 18px 20px 46px;
}

.page-news .news-item__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 241, 232, .72);
}

.page-news .news-item__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 230, 208, .35);
  padding-bottom: 1px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-news .news-item__link:hover {
  border-color: var(--cyan);
}

/* ---------- 赛季时间轴 ---------- */
.page-news .season-rail {
  position: relative;
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .season-rail__item {
  position: relative;
  padding: 18px 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
}

.page-news .season-rail__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: var(--clay);
}

.page-news .season-rail__item:nth-child(1)::before {
  background: var(--moss);
}

.page-news .season-rail__item:nth-child(2)::before {
  background: var(--clay);
}

.page-news .season-rail__item:nth-child(3)::before {
  background: var(--orange);
}

.page-news .season-rail__item:nth-child(4)::before {
  background: var(--stone);
}

.page-news .season-rail__stage {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cream);
}

.page-news .season-rail__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.76;
  color: rgba(244, 241, 232, .72);
}

/* ---------- 订阅与回看 ---------- */
.page-news .news-follow {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 130% at 88% 0%, rgba(255, 122, 47, .14), transparent 58%),
    linear-gradient(160deg, rgba(19, 43, 68, .78), rgba(10, 26, 42, .72));
}

.page-news .news-follow h2 {
  margin: 12px 0 0;
  max-width: 20em;
}

.page-news .news-follow p {
  max-width: 42em;
  color: rgba(244, 241, 232, .75);
}

.page-news .news-follow__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .news-follow__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(244, 241, 232, .78);
}

.page-news .news-follow__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-news .news-follow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 900px) {
  .page-news .cluster-layout {
    grid-template-columns: 1.55fr 1fr;
    align-items: start;
  }

  .page-news .cluster-aside {
    position: sticky;
    top: calc(var(--nav-h) + 22px);
  }

  .page-news .news-list-layout {
    grid-template-columns: 1.62fr 1fr;
    align-items: start;
  }

  .page-news .news-rail {
    position: sticky;
    top: calc(var(--nav-h) + 22px);
  }
}

@media (min-width: 800px) {
  .page-news .season-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding-top: 38px;
  }

  .page-news .season-rail::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--moss) 0%, var(--clay) 38%, var(--orange) 74%, var(--stone) 100%);
    opacity: .68;
  }

  .page-news .season-rail__item {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .page-news .season-rail__item::before {
    left: 0;
    top: -32px;
    bottom: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ink);
    border: 3px solid var(--clay);
  }

  .page-news .season-rail__item:nth-child(1)::before {
    border-color: var(--moss);
    background: var(--ink);
  }

  .page-news .season-rail__item:nth-child(2)::before {
    border-color: var(--clay);
    background: var(--ink);
  }

  .page-news .season-rail__item:nth-child(3)::before {
    border-color: var(--orange);
    background: var(--ink);
  }

  .page-news .season-rail__item:nth-child(4)::before {
    border-color: var(--stone);
    background: var(--ink);
  }
}

@media (min-width: 1100px) {
  .page-news .news-item__panel {
    padding-left: 52px;
  }
}

@media (max-width: 560px) {
  .page-news .news-item__panel {
    padding-left: 20px;
  }

  .page-news .news-cover h1 {
    max-width: none;
  }

  .page-news .news-follow__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
