.page-news {
  --news-sticky: calc(var(--k-header-h) + 14px);
  --news-notch: 20px;
  display: block;
  overflow-x: clip;
  background: var(--k-paper);
  color: var(--k-ink);
  font-family: var(--k-font);
  -webkit-font-smoothing: antialiased;
}

.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

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

.page-news .news-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 0 40px;
  background: linear-gradient(118deg, var(--k-night) 0%, #12294f 46%, var(--k-blue) 100%);
  color: #fff;
}

.page-news .news-masthead::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 2;
  background: linear-gradient(90deg, var(--k-green) 0 38%, var(--k-orange) 38% 62%, var(--k-green-soft) 62% 100%);
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -14%;
  width: 62%;
  height: 170%;
  z-index: -1;
  transform: rotate(-6deg);
  background: repeating-linear-gradient(102deg, rgba(107, 224, 26, .2) 0 2px, rgba(107, 224, 26, 0) 2px 20px);
  pointer-events: none;
}

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

.page-news .news-masthead .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--k-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .58);
}

.page-news .news-masthead .breadcrumbs__item {
  color: inherit;
  text-decoration: none;
}

.page-news .news-masthead a.breadcrumbs__item:hover {
  color: var(--k-green);
}

.page-news .news-masthead .breadcrumbs__item[aria-current="page"] {
  color: var(--k-green);
}

.page-news .breadcrumbs__sep {
  margin: 0 9px;
  color: rgba(255, 255, 255, .3);
}

.page-news .news-masthead__kicker {
  margin: 24px 0 12px;
  color: var(--k-green);
  letter-spacing: .18em;
}

.page-news .news-masthead__title {
  margin: 0 0 18px;
  max-width: 15em;
  font-size: clamp(33px, 8.6vw, 76px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.025em;
}

.page-news .news-masthead__title span {
  display: inline-block;
  padding: 0 .1em;
  background: var(--k-green);
  color: var(--k-night);
}

.page-news .news-masthead__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .8);
}

.page-news .stage-scale {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 30px;
}

.page-news .stage-scale__item {
  padding-top: 12px;
  border-top: 3px solid rgba(255, 255, 255, .22);
  font-family: var(--k-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}

.page-news .stage-scale__item.is-current {
  border-top-color: var(--k-green);
  color: #fff;
}

/* ---------- 主栅格 ---------- */

.page-news .news-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 62px;
}

/* ---------- 左侧栏目栏 ---------- */

.page-news .news-rail {
  position: sticky;
  top: var(--news-sticky);
  z-index: 8;
  padding: 8px 0 10px;
  background: var(--k-paper);
  border-bottom: 1px solid var(--k-hair);
}

.page-news .news-rail__cap {
  display: none;
}

.page-news .news-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-rail__nav::-webkit-scrollbar {
  display: none;
}

.page-news .news-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid rgba(18, 22, 28, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--k-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s var(--k-ease), border-color .22s var(--k-ease), color .22s var(--k-ease);
}

.page-news .news-tab:hover {
  border-color: var(--k-green-deep);
}

.page-news .news-tab[aria-current="true"] {
  background: var(--k-green);
  border-color: var(--k-green);
  color: var(--k-night);
}

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

.page-news .news-tab[aria-current="true"] .news-tab__num {
  color: var(--k-night);
}

.page-news .news-tab__hint {
  display: none;
}

.page-news .news-rail__aside {
  display: none;
}

/* ---------- 内容流 ---------- */

.page-news .news-stream {
  display: grid;
  gap: 52px;
  min-width: 0;
}

.page-news .news-block {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
  scroll-margin-top: 150px;
}

.page-news .section-head__index {
  color: var(--k-orange);
}

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

.page-news .news-banner,
.page-news .news-shot,
.page-news .news-cover {
  overflow: hidden;
  border-radius: 2px var(--news-notch) 2px var(--news-notch);
}

/* ---------- 条目列表 ---------- */

.page-news .feed {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--k-hair);
}

.page-news .feed__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "idx body"
    ".   meta";
  gap: 6px 14px;
  padding: 18px 0 18px 12px;
  margin-left: -12px;
  border-bottom: 1px solid var(--k-hair);
  border-left: 3px solid transparent;
  transition: border-color .2s var(--k-ease), background-color .2s var(--k-ease);
}

.page-news .feed__row:hover,
.page-news .feed__row:focus-within {
  border-left-color: var(--k-orange);
  background: rgba(107, 224, 26, .07);
}

.page-news .feed__idx {
  grid-area: idx;
  font-family: var(--k-mono);
  font-size: 12px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--k-orange);
}

.page-news .feed__body {
  grid-area: body;
  min-width: 0;
}

.page-news .feed__title {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.44;
  letter-spacing: -.005em;
}

.page-news .feed__sum {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--k-grey);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.page-news .feed__row:hover .feed__sum,
.page-news .feed__row:focus-within .feed__sum {
  -webkit-line-clamp: 3;
}

.page-news .feed__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .feed__time {
  font-family: var(--k-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--k-grey);
}

.page-news .feed--tight .feed__row {
  padding: 14px 0 14px 12px;
}

.page-news .feed--tight .feed__title {
  font-size: 15.5px;
}

/* ---------- 赛季阶段分组 ---------- */

.page-news .stage-groups {
  display: grid;
  gap: 34px;
}

.page-news .stage-group__name {
  position: relative;
  margin: 0 0 8px;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.005em;
}

.page-news .stage-group__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 11px;
  height: 3px;
  background: var(--k-orange);
}

/* ---------- 版本轨迹 ---------- */

.page-news .version-track {
  list-style: none;
  margin: 0 0 0 8px;
  padding: 0 0 0 26px;
  border-left: 2px solid rgba(18, 22, 28, .14);
}

.page-news .version-track__item {
  position: relative;
  padding-bottom: 28px;
}

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

.page-news .version-track__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--k-green);
  box-shadow: 0 0 0 4px var(--k-paper);
}

.page-news .version-track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.page-news .version-track__tag {
  font-family: var(--k-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--k-night);
  background: var(--k-green);
  padding: 3px 9px;
  border-radius: 2px 10px 2px 10px;
}

.page-news .version-track__when {
  color: var(--k-grey);
  letter-spacing: .12em;
}

.page-news .version-track__title {
  margin: 9px 0 6px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
}

.page-news .version-track__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--k-grey);
}

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

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

.page-news .series-item {
  padding: 16px 18px;
  border: 1px solid var(--k-hair);
  border-radius: 2px var(--news-notch) 2px var(--news-notch);
  background: #fff;
}

.page-news .series-item > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  list-style: none;
  cursor: pointer;
}

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

.page-news .series-item__name {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--k-ink);
}

.page-news .series-item__name::after {
  content: "+";
  margin-left: 10px;
  font-family: var(--k-mono);
  font-weight: 400;
  color: var(--k-orange);
}

.page-news .series-item[open] .series-item__name::after {
  content: "–";
}

.page-news .series-item__count {
  margin-left: auto;
  font-family: var(--k-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--k-grey);
}

.page-news .series-item__desc {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--k-grey);
}

.page-news .series-bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: rgba(18, 22, 28, .09);
  overflow: hidden;
}

.page-news .series-bar__fill {
  display: block;
  height: 100%;
  width: var(--series-progress, 0%);
  border-radius: 3px;
  background: repeating-linear-gradient(115deg, var(--k-green) 0 8px, var(--k-green-deep) 8px 16px);
}

.page-news .series-item__list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(18, 22, 28, .16);
}

.page-news .series-item__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.page-news .series-item__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 2px;
  background: var(--k-orange);
}

/* ---------- 订阅区 ---------- */

.page-news .news-subscribe {
  position: relative;
  overflow: hidden;
  padding: 46px 0 54px;
  background: var(--k-night);
  color: #fff;
}

.page-news .news-subscribe::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -58%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 224, 26, .3), rgba(107, 224, 26, 0) 68%);
  pointer-events: none;
}

.page-news .news-subscribe__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-news .news-subscribe .mono-label {
  color: var(--k-green);
  letter-spacing: .18em;
}

.page-news .news-subscribe__copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(25px, 4.6vw, 36px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.012em;
}

.page-news .news-subscribe__copy p {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(255, 255, 255, .76);
}

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.page-news .news-subscribe .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}

.page-news .news-subscribe__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-subscribe__steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--k-hair-dark);
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .84);
}

.page-news .news-subscribe__steps li:last-child {
  border-bottom: 1px solid var(--k-hair-dark);
}

.page-news .news-subscribe__steps a {
  color: var(--k-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .news-subscribe__n {
  padding-top: 2px;
  font-family: var(--k-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--k-green);
}

/* ---------- 断点 ---------- */

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

  .page-news .news-masthead {
    padding: 36px 0 48px;
  }

  .page-news .news-masthead__lead {
    font-size: 16.5px;
  }
}

@media (min-width: 760px) {
  .page-news .feed__row {
    grid-template-columns: 34px minmax(0, 1fr) 148px;
    grid-template-areas: "idx .page-news meta";
    gap: 0 18px;
    align-items: start;
    padding: 20px 0 20px 12px;
  }

  .page-news .feed__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 2px;
  }

  .page-news .feed--tight .feed__row {
    padding: 15px 0 15px 12px;
  }

  .page-news .feed__title {
    font-size: 17.5px;
  }

  .page-news .feed--tight .feed__title {
    font-size: 16px;
  }
}

@media (min-width: 920px) {
  .page-news .news-subscribe {
    padding: 60px 0 68px;
  }

  .page-news .news-subscribe__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-news .stage-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
  }
}

@media (min-width: 1000px) {
  .page-news .news-shell {
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 46px;
    padding-top: 44px;
    padding-bottom: 88px;
  }

  .page-news .news-stream {
    gap: 76px;
  }

  .page-news .news-rail {
    position: sticky;
    top: var(--news-sticky);
    align-self: start;
    padding: 0;
    background: transparent;
    border-bottom: 0;
  }

  .page-news .news-rail__cap {
    display: block;
    margin: 0 0 10px;
    color: var(--k-grey);
    letter-spacing: .18em;
  }

  .page-news .news-rail__nav {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
  }

  .page-news .news-tab {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 2px 16px 2px 16px;
  }

  .page-news .news-tab__hint {
    display: inline;
    margin-left: auto;
    font-family: var(--k-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--k-grey);
  }

  .page-news .news-rail__aside {
    display: block;
    margin-top: 22px;
    padding: 16px 16px 18px;
    border-radius: 2px var(--news-notch) 2px var(--news-notch);
    background: var(--k-green-soft);
  }

  .page-news .news-rail__aside-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 900;
    color: var(--k-night);
  }

  .page-news .news-rail__aside-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(11, 27, 58, .78);
  }

  .page-news .news-block {
    scroll-margin-top: calc(var(--k-header-h) + 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .feed__row,
  .page-news .news-tab {
    transition: none;
  }
}

.page-news {
  --series-progress: 1rem;
}
