.page-news {
  --nl-sticky: calc(var(--sg-header-h) + 10px);
  background: var(--sg-night);
  color: var(--sg-mist);
}

.page-news .nl-head__title {
  margin: 10px 0 14px;
  font-family: var(--sg-sans);
  font-weight: 800;
  font-size: clamp(26px, 5.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--sg-mist);
}

.page-news .nl-head__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sg-blueprint);
  max-width: 62ch;
}

/* ---------- 首屏 ---------- */
.page-news .nl-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 54px;
}

.page-news .nl-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sg-line-cyan), transparent);
  pointer-events: none;
}

.page-news .nl-hero__grid {
  display: grid;
  gap: 30px;
  align-items: end;
}

.page-news .nl-hero__title {
  margin: 12px 0 0;
  font-family: var(--sg-sans);
  font-weight: 900;
  font-size: clamp(36px, 10.5vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  transform: skewX(-6deg);
  transform-origin: left bottom;
  background: linear-gradient(96deg, var(--sg-violet) 6%, var(--sg-cyan) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-news .nl-hero__intro {
  margin: 20px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sg-mist);
  opacity: 0.86;
}

.page-news .nl-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-family: var(--sg-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sg-blueprint);
}

.page-news .nl-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--sg-line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

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

.page-news .nl-hero__media {
  aspect-ratio: 14 / 9;
  margin: 0;
}

/* ---------- 节奏区 ---------- */
.page-news .nl-rhythm {
  background: var(--sg-deep);
  border-top: 1px solid var(--sg-line-soft);
  border-bottom: 1px solid var(--sg-line-soft);
}

.page-news .nl-rhythm__grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-news .nl-rail {
  padding: 20px 18px;
  border: 1px solid var(--sg-line);
  background: linear-gradient(180deg, rgba(108, 43, 255, 0.16), rgba(7, 7, 13, 0) 78%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-news .nl-rail .sg-panel__label {
  display: block;
  margin: 0 0 14px;
  font-family: var(--sg-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sg-cyan);
}

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

.page-news .nl-rail__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.page-news .nl-rail__item .sg-dot {
  margin-top: 5px;
  flex: none;
}

.page-news .nl-rail__item strong {
  display: block;
  font-family: var(--sg-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--sg-mist);
}

.page-news .nl-rail__item span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sg-blueprint);
}

.page-news .nl-rail__now {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--sg-line);
}

.page-news .nl-rail__now-label {
  display: block;
  font-family: var(--sg-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sg-blueprint);
}

.page-news .nl-rail__now p {
  margin: 8px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sg-mist);
}

.page-news .nl-rhythm__body .sg-prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sg-mist);
  opacity: 0.84;
}

.page-news .nl-rhythm__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--sg-line-soft);
}

.page-news .nl-rhythm__num {
  display: block;
  font-family: var(--sg-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--sg-cyan);
}

.page-news .nl-rhythm__cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--sg-blueprint);
}

/* ---------- 公告流 ---------- */
.page-news .nl-log__head {
  display: grid;
  gap: 22px;
  margin-bottom: 6px;
}

.page-news .nl-log__deco {
  aspect-ratio: 10 / 7;
  margin: 0;
  opacity: 0.85;
}

.page-news .nl-orbit {
  position: relative;
  margin-top: 18px;
}

.page-news .nl-filterbar {
  position: sticky;
  top: var(--nl-sticky);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 24px;
  background: linear-gradient(180deg, rgba(7, 7, 13, 0.96) 60%, rgba(7, 7, 13, 0.72));
  border-bottom: 1px solid var(--sg-line);
  backdrop-filter: blur(8px);
}

.page-news .nl-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-news .nl-filter {
  display: inline-block;
  padding: 9px 15px;
  font-family: var(--sg-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sg-blueprint);
  border: 1px solid var(--sg-line);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s var(--sg-ease), border-color 0.2s var(--sg-ease), background-color 0.2s var(--sg-ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.page-news .nl-filter:hover {
  color: var(--sg-mist);
  border-color: var(--sg-line-cyan);
}

.page-news .nl-filter-input:focus-visible + .nl-filter {
  outline: 2px solid var(--sg-cyan);
  outline-offset: 3px;
}

.page-news .nl-filter-input:checked + .nl-filter {
  color: #ffffff;
  background: var(--sg-violet);
  border-color: var(--sg-violet);
}

.page-news .nl-stream {
  column-gap: 18px;
}

.page-news .nl-card {
  break-inside: avoid;
  position: relative;
  margin: 0 0 18px;
  padding: 18px 18px 20px 22px;
  border: 1px solid var(--sg-line);
  background: linear-gradient(155deg, rgba(14, 11, 26, 0.96), rgba(7, 7, 13, 0.92));
  transition: transform 0.22s var(--sg-ease), border-color 0.22s var(--sg-ease);
}

.page-news .nl-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--nl-cat, var(--sg-violet));
}

.page-news .nl-card:hover {
  transform: translateY(-6px);
  border-color: var(--sg-line-cyan);
}

.page-news .nl-card.is-fee { --nl-cat: var(--sg-orange); }
.page-news .nl-card.is-version { --nl-cat: var(--sg-paper); }
.page-news .nl-card.is-server { --nl-cat: var(--sg-violet); }
.page-news .nl-card.is-tablet { --nl-cat: var(--sg-mint); }

.page-news .nl-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .nl-card__time {
  font-family: var(--sg-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sg-blueprint);
  white-space: nowrap;
}

.page-news .nl-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sg-mist);
}

.page-news .nl-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sg-blueprint);
}

.page-news .nl-orbit:has(#nl-f-fee:checked) .nl-card:not(.is-fee),
.page-news .nl-orbit:has(#nl-f-version:checked) .nl-card:not(.is-version),
.page-news .nl-orbit:has(#nl-f-server:checked) .nl-card:not(.is-server),
.page-news .nl-orbit:has(#nl-f-tablet:checked) .nl-card:not(.is-tablet) {
  display: none;
}

/* ---------- 费用专栏 ---------- */
.page-news .nl-fees {
  background: var(--sg-deep);
  border-top: 1px solid var(--sg-line-soft);
  border-bottom: 1px solid var(--sg-line-soft);
}

.page-news .nl-fees__grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.page-news .nl-fees__lede {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sg-mist);
  opacity: 0.84;
}

.page-news .nl-fees__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sg-line);
}

.page-news .nl-fees__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px dashed var(--sg-line);
}

.page-news .nl-fees__name {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sg-mist);
}

.page-news .nl-fees__price {
  flex: none;
  font-family: var(--sg-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: var(--sg-cyan);
  white-space: nowrap;
}

/* ---------- 版本档案 ---------- */
.page-news .nl-archive__media {
  aspect-ratio: 16 / 9;
  margin: 0 0 30px;
}

.page-news .nl-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 16px;
}

.page-news .nl-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--sg-violet), var(--sg-cyan) 70%, transparent);
}

.page-news .nl-timeline__item {
  position: relative;
  padding-left: 30px;
}

.page-news .nl-timeline__dot {
  position: absolute;
  left: 0;
  top: 20px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--sg-cyan);
  background: var(--sg-night);
}

.page-news .nl-timeline__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--sg-cyan);
}

.page-news .nl-timeline__card {
  padding: 16px 18px;
  border: 1px solid var(--sg-line);
  background: rgba(14, 11, 26, 0.78);
  transition: border-color 0.22s var(--sg-ease), transform 0.22s var(--sg-ease);
}

.page-news .nl-timeline__card:hover {
  transform: translateX(4px);
  border-color: var(--sg-line-cyan);
}

.page-news .nl-timeline__ver {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-family: var(--sg-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sg-night);
  background: var(--sg-cyan);
}

.page-news .nl-timeline__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sg-mist);
}

.page-news .nl-timeline__card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sg-blueprint);
}

.page-news .nl-timeline__when {
  font-family: var(--sg-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sg-mint);
}

/* ---------- 赛季专题 ---------- */
.page-news .nl-topics {
  background: var(--sg-deep);
  border-top: 1px solid var(--sg-line-soft);
}

.page-news .nl-topics__grid {
  display: grid;
  gap: 18px;
}

.page-news .nl-topic {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sg-line);
  background: rgba(7, 7, 13, 0.72);
  overflow: hidden;
  transition: border-color 0.22s var(--sg-ease);
}

.page-news .nl-topic:hover {
  border-color: var(--sg-line-cyan);
}

.page-news .nl-topic__media {
  aspect-ratio: 3 / 2;
  margin: 0;
}

.page-news .nl-topic__body {
  padding: 18px 18px 22px;
}

.page-news .nl-topic__title {
  margin: 12px 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sg-mist);
}

.page-news .nl-topic--lead .nl-topic__title {
  font-size: clamp(20px, 4.6vw, 28px);
  line-height: 1.3;
}

.page-news .nl-topic__body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--sg-blueprint);
}

.page-news .nl-topic__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sg-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--sg-line-cyan);
  padding-bottom: 2px;
}

.page-news .nl-topic__link:hover {
  color: var(--sg-mist);
  border-bottom-color: var(--sg-mist);
}

/* ---------- 下一步 ---------- */
.page-news .nl-next__grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-news .nl-next__card {
  display: block;
  padding: 20px 18px 22px;
  border: 1px solid var(--sg-line);
  background: linear-gradient(170deg, rgba(14, 11, 26, 0.92), rgba(7, 7, 13, 0.9));
  text-decoration: none;
  transition: transform 0.22s var(--sg-ease), border-color 0.22s var(--sg-ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-news .nl-next__card:hover {
  transform: translateY(-6px);
  border-color: var(--sg-violet);
}

.page-news .nl-next__step {
  display: block;
  margin-bottom: 12px;
  font-family: var(--sg-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sg-orange);
}

.page-news .nl-next__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sg-mist);
}

.page-news .nl-next__card span:last-child {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--sg-blueprint);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-news .nl-stream {
    columns: 2;
  }

  .page-news .nl-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .nl-hero {
    padding: 42px 0 72px;
  }

  .page-news .nl-hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 48px;
  }

  .page-news .nl-hero__media {
    align-self: stretch;
  }

  .page-news .nl-rhythm__grid {
    grid-template-columns: 0.62fr 1.38fr;
    gap: 48px;
  }

  .page-news .nl-log__head {
    grid-template-columns: 1.6fr 0.4fr;
    align-items: end;
    gap: 40px;
  }

  .page-news .nl-fees__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
  }

  .page-news .nl-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .page-news .nl-topics__grid {
    grid-template-columns: 1.22fr 0.78fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .page-news .nl-topic--lead {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1080px) {
  .page-news .nl-stream {
    columns: 3;
  }

  .page-news .nl-next__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .nl-card,
  .page-news .nl-next__card,
  .page-news .nl-timeline__card,
  .page-news .nl-filter {
    transition: none;
  }

  .page-news .nl-card:hover,
  .page-news .nl-next__card:hover {
    transform: none;
  }

  .page-news .nl-timeline__card:hover {
    transform: none;
  }
}
