.page-news {
  --news-rail: 250px;
  --news-gap: 34px;
  --news-line: rgba(28, 53, 80, .9);
  padding-bottom: 72px;
  background:
    repeating-linear-gradient(90deg, rgba(28,53,80,.24) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(7,17,31,0) 0%, rgba(12,27,46,.45) 46%, rgba(7,17,31,0) 100%);
}

.page-news .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute);
  padding: 20px 0 8px;
}

.page-news .crumbs a {
  color: var(--mute);
  text-decoration: none;
}

.page-news .crumbs a:hover,
.page-news .crumbs a:focus-visible {
  color: var(--cyan);
}

.page-news .crumbs [aria-current="page"] {
  color: var(--paper);
}

/* 首屏标题区 */
.page-news .news-head {
  position: relative;
  padding: 10px 0 26px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 128px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, transparent);
}

.page-news .news-head .label {
  color: var(--cyan);
  letter-spacing: .24em;
}

.page-news .news-head h1 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--paper);
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.page-news .news-head__lede {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
  color: #C7D6E4;
  margin: 0 0 18px;
}

.page-news .news-head__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mute);
}

.page-news .news-head__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* 主体两栏 */
.page-news .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: 28px;
}

.page-news .news-rail {
  border: 1px solid var(--line);
  background: rgba(12, 27, 46, .82);
  padding: 18px 18px 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-news .news-rail__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--mute);
  text-transform: uppercase;
}

.page-news .news-rail__title--gap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

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

.page-news .news-series__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  font-size: 15px;
  color: #CBD9E6;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.page-news .news-series__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
}

.page-news .news-series__link:hover,
.page-news .news-series__link:focus-visible {
  color: var(--paper);
  background: rgba(53, 242, 224, .08);
  border-left-color: var(--cyan);
}

.page-news .news-series__link[aria-current="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-left-color: var(--cyan);
}

.page-news .news-series__link[aria-current="true"] .news-series__idx {
  color: var(--ink);
}

.page-news .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-news .news-rail__box {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  background: rgba(7, 17, 31, .7);
}

.page-news .news-rail__box-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--paper);
}

.page-news .news-rail__box-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mute);
}

/* 章节 */
.page-news .news-sec {
  padding: 26px 0 8px;
  scroll-margin-top: 84px;
}

.page-news .news-sec + .news-sec {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.page-news .news-sec .chapter {
  margin-bottom: 10px;
}

.page-news .news-sec .chapter__index {
  color: var(--orange);
}

.page-news .news-sec .chapter__title {
  color: var(--paper);
}

.page-news .news-sec__intro {
  max-width: 64ch;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #B6C7D6;
}

.page-news .news-sec__foot {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.page-news .news-sec__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 224, .5);
}

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

/* 焦点 */
.page-news .focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .focus-lead,
.page-news .focus-mini {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(12,27,46,.95), rgba(7,17,31,.92));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.page-news .focus-lead:hover,
.page-news .focus-mini:hover {
  border-color: rgba(53, 242, 224, .55);
  transform: translateY(-2px);
}

.page-news .focus-lead__media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.page-news .focus-lead__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}

.page-news .focus-lead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(53,242,224,.06) 0 1px, transparent 1px 4px),
    linear-gradient(200deg, rgba(7,17,31,0) 40%, rgba(7,17,31,.75) 100%);
  pointer-events: none;
}

.page-news .focus-lead__media .media__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 7px 14px;
  color: var(--ink);
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-news .focus-lead__body {
  padding: 18px 18px 20px;
}

.page-news .focus-lead__title {
  margin: 6px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 3.4vw, 27px);
  line-height: 1.32;
  color: var(--paper);
}

.page-news .focus-lead__title a,
.page-news .focus-mini__title a,
.page-news .entry__title a,
.page-news .pick__title a {
  color: inherit;
  text-decoration: none;
}

.page-news .focus-lead__title a:hover,
.page-news .focus-lead__title a:focus-visible,
.page-news .focus-mini__title a:hover,
.page-news .focus-mini__title a:focus-visible,
.page-news .entry__title a:hover,
.page-news .entry__title a:focus-visible,
.page-news .pick__title a:hover,
.page-news .pick__title a:focus-visible {
  color: var(--cyan);
}

.page-news .focus-lead__text,
.page-news .focus-mini__text {
  font-size: 15px;
  line-height: 1.72;
  color: #AFC2D2;
}

.page-news .focus-lead__text {
  margin: 0 0 14px;
}

.page-news .focus-lead__tags,
.page-news .focus-mini__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.page-news .focus-mini {
  padding: 18px;
  border-left: 3px solid var(--orange);
}

.page-news .focus-mini:nth-child(3) {
  border-left-color: var(--violet);
}

.page-news .focus-mini__title {
  margin: 6px 0 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.36;
  color: var(--paper);
}

.page-news .focus-mini__text {
  margin: 0 0 12px;
}

/* 通用条目 */
.page-news .entry__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--mute);
}

.page-news .entry__week {
  color: var(--cyan);
}

.page-news .entry__more {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--mute);
}

.page-news .entry__more summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
  padding: 4px 0;
}

.page-news .entry__more p {
  margin: 8px 0 0;
  line-height: 1.7;
  color: #9FB4C6;
}

/* 周报 */
.page-news .weekly-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .weekly-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: wk;
}

.page-news .weekly-list .entry {
  position: relative;
  padding: 16px 16px 16px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  background: rgba(12, 27, 46, .62);
  transition: background .24s var(--ease), border-color .24s var(--ease);
}

.page-news .weekly-list .entry:hover {
  background: rgba(12, 27, 46, .95);
  border-left-color: var(--orange);
}

.page-news .entry__title {
  margin: 7px 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .entry__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #A8BCCD;
}

.page-news .weekly-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}

.page-news .weekly-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-news .weekly-figure .media__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

/* 资料库 */
.page-news .library-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-news .library-figure {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}

.page-news .library-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.85);
}

.page-news .library-figure .media__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.page-news .library-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-news .lib-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 12px;
  padding: 13px 14px;
  background: rgba(9, 22, 37, .96);
  transition: background .22s var(--ease);
}

.page-news .lib-row:hover {
  background: rgba(18, 38, 62, .96);
}

.page-news .lib-row__cat {
  white-space: nowrap;
}

.page-news .lib-row__name {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper);
}

.page-news .lib-row__meta {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
}

/* 版本手记 */
.page-news .version-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  position: relative;
  display: grid;
  gap: 14px;
}

.page-news .version-track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 55%, rgba(123,97,255,0));
}

.page-news .version-item {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(12, 27, 46, .6);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.page-news .version-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.page-news .version-item:first-child {
  border-color: rgba(53, 242, 224, .5);
  background: rgba(53, 242, 224, .06);
}

.page-news .version-item__ver {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-news .version-item__title {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .version-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: #A8BCCD;
}

/* 赛季专题 */
.page-news .topic-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 78%);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line) transparent;
}

.page-news .topic-card {
  scroll-snap-align: start;
  padding: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(53,242,224,.1), rgba(7,17,31,0) 62%),
    rgba(9, 22, 37, .94);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.page-news .topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 47, .6);
}

.page-news .topic-card__idx {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: rgba(53, 242, 224, .5);
}

.page-news .topic-card__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--paper);
}

.page-news .topic-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #9FB4C6;
}

/* 编辑推荐 */
.page-news .picks-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.page-news .pick {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--violet);
  background: rgba(12, 27, 46, .68);
}

.page-news .pick:nth-child(2) {
  border-top-color: var(--orange);
}

.page-news .pick:nth-child(3) {
  border-top-color: var(--green);
}

.page-news .pick__kind {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
}

.page-news .pick__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .pick__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #A8BCCD;
}

.page-news .picks-side {
  padding: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(200deg, rgba(123,97,255,.14), rgba(9,22,37,.95) 58%);
}

.page-news .picks-side__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.page-news .picks-side__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-news .picks-side__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .picks-side__list a {
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  color: #C4D4E2;
  text-decoration: none;
  border-left: 2px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .picks-side__list a:hover,
.page-news .picks-side__list a:focus-visible {
  color: var(--paper);
  background: rgba(53, 242, 224, .09);
  border-left-color: var(--cyan);
}

.page-news .picks-side__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 显现 */
.page-news [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-news [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .34s var(--ease), transform .34s var(--ease);
  }

  .page-news [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* 断点 */
@media (min-width: 720px) {
  .page-news .focus-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "lead lead"
      "mini1 mini2";
  }

  .page-news .focus-lead { grid-area: lead; }
  .page-news .focus-mini:nth-child(2) { grid-area: mini1; }
  .page-news .focus-mini:nth-child(3) { grid-area: mini2; }

  .page-news .library-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .page-news .topic-strip {
    grid-auto-columns: minmax(200px, 44%);
  }

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

@media (min-width: 1000px) {
  .page-news .news-layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    gap: var(--news-gap);
  }

  .page-news .news-rail {
    position: sticky;
    top: 22px;
  }

  .page-news .focus-grid {
    grid-template-columns: 1.55fr 1fr;
    grid-template-areas:
      "lead mini1"
      "lead mini2";
  }

  .page-news .focus-lead__media img {
    aspect-ratio: 12 / 7;
  }

  .page-news .weekly-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .topic-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }

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

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

@media (min-width: 1240px) {
  .page-news .news-head h1 {
    max-width: 22ch;
  }

  .page-news .library-list {
    grid-template-columns: 1fr;
  }
}
