.page-news {
  --news-bar-topic: var(--cyan);
  --news-bar-version: var(--ice);
  --news-bar-squad: var(--cyan-deep);
  --news-bar-watch: var(--orange);
  --news-bar-ops: var(--mist);
  --news-line: 1px solid var(--line);
}

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

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

.page-news .news-hero {
  position: relative;
  padding-block: 20px 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(115% 150% at 86% 4%, rgba(52, 245, 208, 0.1), transparent 58%),
    radial-gradient(90% 130% at 8% 0%, rgba(255, 122, 47, 0.09), transparent 62%);
}

.page-news .news-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 12px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-news .news-hero__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16);
}

.page-news .news-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(46px, 12vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-news .news-hero__lead {
  max-width: 64ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 本期头条 ---------- */

.page-news .news-top {
  row-gap: 26px;
  align-items: center;
}

.page-news .news-top__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-top__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-news .news-top__body h3 {
  margin: 0;
  font-size: clamp(23px, 5.6vw, 34px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-news .news-top__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-top__media {
  margin: 0;
}

.page-news .news-top__media figcaption,
.page-news .news-series__media figcaption,
.page-news .news-version__media figcaption,
.page-news .news-sub__media figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .news-top__media .media-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
}

.page-news .news-top__media .media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.34), rgba(5, 11, 24, 0) 55%);
  transition: opacity var(--t-base) ease-out;
  pointer-events: none;
}

.page-news .news-top__media .media-frame:hover::after {
  opacity: 0.35;
}

/* ---------- 更新条目列表 ---------- */

.page-news .filter-bar {
  margin-bottom: 18px;
}

.page-news .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--news-line);
}

.page-news .news-item {
  position: relative;
  padding: 18px 0 18px 18px;
  border-bottom: var(--news-line);
  transition: background var(--t-fast) ease-out;
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  border-radius: 2px;
  background: var(--news-bar-ops);
  transition: width var(--t-fast) ease-out;
}

.page-news .news-item[data-tags~="topic"]::before {
  background: var(--news-bar-topic);
}

.page-news .news-item[data-tags~="version"]::before {
  background: var(--news-bar-version);
}

.page-news .news-item[data-tags~="squad"]::before {
  background: var(--news-bar-squad);
}

.page-news .news-item[data-tags~="watch"]::before {
  background: var(--news-bar-watch);
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  background: linear-gradient(90deg, rgba(52, 245, 208, 0.07), rgba(52, 245, 208, 0) 62%);
}

.page-news .news-item:hover::before,
.page-news .news-item:focus-within::before {
  width: 3px;
}

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

.page-news .news-item__time {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mist);
  white-space: nowrap;
}

.page-news .news-item__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--white);
  transition: color var(--t-fast) ease-out;
}

.page-news .news-item:hover .news-item__title {
  color: var(--cyan);
}

.page-news .news-item__text {
  max-width: 68ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 联赛追踪系列 ---------- */

.page-news .news-series {
  row-gap: 26px;
  align-items: center;
}

.page-news .news-series__media {
  margin: 0;
}

.page-news .news-series__media .media-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.page-news .news-series__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-series__list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 22px 0 0;
  border-top: var(--news-line);
}

.page-news .news-series__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--white);
}

.page-news .news-series__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- 版本与迭代记录 ---------- */

.page-news .news-version {
  row-gap: 30px;
  align-items: start;
}

.page-news .news-version__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  display: grid;
  gap: 24px;
}

.page-news .news-version__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.page-news .news-version__item {
  position: relative;
}

.page-news .news-version__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.14);
}

.page-news .news-version__item[data-state="live"]::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.18);
}

.page-news .news-version__ver {
  margin: 0 0 4px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.page-news .news-version__item[data-state="live"] .news-version__ver {
  color: var(--orange);
}

.page-news .news-version__title {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--white);
}

.page-news .news-version__text {
  max-width: 62ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-news .news-version__media {
  margin: 0;
}

.page-news .news-version__media .media-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.page-news .news-version__note {
  margin-top: 30px;
}

/* ---------- 订阅与反馈入口 ---------- */

.page-news .news-sub {
  row-gap: 28px;
  align-items: start;
}

.page-news .news-sub__body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-sub__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 245, 208, 0.36);
  transition: border-color var(--t-fast) ease-out, color var(--t-fast) ease-out;
}

.page-news .news-sub__body a:hover,
.page-news .news-sub__body a:focus-visible {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.page-news .news-sub__body .btn {
  margin-top: 8px;
}

.page-news .news-sub__media {
  margin: 0;
}

.page-news .news-sub__media .media-frame {
  overflow: hidden;
  border-radius: var(--r-lg);
}

/* ---------- 分类索引 ---------- */

.page-news .news-index {
  --white: var(--paper-ink);
  --mist: var(--paper-mist);
}

.page-news .news-index__lead {
  max-width: 66ch;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-index__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(10, 20, 40, 0.14);
}

.page-news .news-index__tag {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10, 20, 40, 0.18);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--paper-ink);
  background: rgba(255, 255, 255, 0.6);
  transition: background var(--t-fast) ease-out, border-color var(--t-fast) ease-out,
    transform var(--t-fast) ease-out;
}

.page-news .news-index__tag:hover {
  background: rgba(15, 199, 166, 0.16);
  border-color: var(--cyan-deep);
  transform: translateY(-2px);
}

.page-news .news-index__foot {
  max-width: 66ch;
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .news-index__foot a {
  color: var(--cyan-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 199, 166, 0.45);
}

.page-news .news-index__foot a:hover,
.page-news .news-index__foot a:focus-visible {
  border-bottom-color: var(--cyan-deep);
}

/* ---------- 焦点可达性 ---------- */

.page-news a:focus-visible,
.page-news button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 桌面增强 ---------- */

@media (min-width: 900px) {
  .page-news .news-hero {
    padding-block: 30px 46px;
  }

  .page-news .news-hero__lead {
    font-size: 16px;
  }

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

  .page-news .news-item::before {
    top: 22px;
    bottom: 22px;
  }

  .page-news .news-item__title {
    font-size: 18px;
  }

  .page-news .news-item__text {
    font-size: 14.5px;
  }

  .page-news .news-version__list {
    padding-left: 26px;
  }

  .page-news .news-version__item::before {
    left: -26px;
  }

  .page-news .news-index__cloud {
    gap: 12px 14px;
  }

  .page-news .news-index__tag {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-item::before,
  .page-news .news-item__title,
  .page-news .news-index__tag,
  .page-news .news-top__media .media-frame::after {
    transition: none;
  }

  .page-news .news-index__tag:hover {
    transform: none;
  }
}
