.page-news {
  --news-line: 2px solid var(--edge);
  --news-hard: 6px 6px 0 rgba(6, 16, 33, .85);
  --news-hard-sm: 4px 4px 0 rgba(6, 16, 33, .8);
  position: relative;
  color: var(--ink);
  padding: 24px 0 76px;
  background:
    radial-gradient(760px 460px at 88% -6%, rgba(30, 90, 168, .38), transparent 64%),
    radial-gradient(560px 400px at -6% 30%, rgba(111, 255, 233, .07), transparent 70%),
    var(--night);
}

.page-news .media-frame {
  width: 100%;
  overflow: hidden;
}

.page-news .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 顶部 ---------- */

.page-news .news-masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 22px;
  border-bottom: var(--news-line);
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 255, 233, .16), transparent 68%);
  pointer-events: none;
}

.page-news .news-masthead__rail {
  display: block;
  margin: 16px 0 8px;
  color: var(--muted);
}

.page-news .news-masthead__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 8.5vw, 66px);
  line-height: 1.03;
  letter-spacing: -.02em;
  max-width: 15em;
}

.page-news .news-masthead__title em {
  font-style: normal;
  color: var(--pulse);
  box-shadow: inset 0 -.14em 0 rgba(255, 77, 46, .22);
}

.page-news .news-masthead__col {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.page-news .news-masthead__lede {
  margin: 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.8;
  color: #cfdcf1;
}

.page-news .news-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-news .news-jump__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--edge);
  background: rgba(18, 46, 82, .62);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}

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

/* ---------- 首屏要点块 ---------- */

.page-news .news-flash {
  display: grid;
  margin-top: 26px;
  border: var(--news-line);
  border-top: 4px solid var(--pulse);
  background: linear-gradient(158deg, rgba(30, 90, 168, .44), rgba(11, 31, 58, .18) 62%), var(--tier);
  box-shadow: var(--news-hard);
}

.page-news .news-flash__body {
  padding: 22px 18px 20px;
}

.page-news .news-flash__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 5.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.page-news .news-flash__text {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: #cfdcf1;
}

.page-news .news-flash__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(42, 74, 120, .9);
}

.page-news .news-flash__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .news-flash__stats .stat__value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--pulse);
  line-height: 1;
}

.page-news .news-flash__stats .stat__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

.page-news .news-flash__media {
  border-top: var(--news-line);
}

.page-news .news-flash__media .media-frame__cap {
  font-family: var(--font-mono);
}

/* ---------- 速记板列表 ---------- */

.page-news .news-stream {
  margin-top: 46px;
}

.page-news .news-more {
  font-size: 13px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 255, 233, .5);
  padding-bottom: 2px;
}

.page-news .news-more:hover,
.page-news .news-more:focus-visible {
  color: var(--pulse-hi);
  border-bottom-color: var(--pulse-hi);
}

.page-news .news-stream__note {
  margin: 10px 0 18px;
  font-size: 13px;
  color: var(--muted);
}

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

.page-news .news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 15px 12px 15px 14px;
  border-bottom: 1px solid rgba(42, 74, 120, .7);
  border-left: 3px solid transparent;
  transition: border-left-color .2s var(--ease), background-color .2s var(--ease);
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  border-left-color: var(--ice);
  background: rgba(18, 46, 82, .45);
}

.page-news .news-item__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.page-news .news-item__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.page-news .news-item__desc {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #c3d3ea;
}

.page-news .news-item .tag {
  justify-self: start;
  margin-top: 6px;
}

.page-news .news-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- 按项目查找 ---------- */

.page-news .news-explore {
  margin-top: 52px;
}

.page-news .news-band {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  margin-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-band__chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 15px;
  border: 1px solid var(--edge);
  background: rgba(18, 46, 82, .5);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.page-news .news-band__chip:hover,
.page-news .news-band__chip:focus-visible {
  background: var(--pulse);
  border-color: var(--pulse);
  color: #fff;
}

.page-news .news-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news .news-projects__shot {
  margin: 0;
  grid-column: 1 / -1;
  border: var(--news-line);
  box-shadow: var(--news-hard-sm);
  background: var(--abyss);
}

.page-news .news-project {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 15px 18px;
  border: var(--news-line);
  border-top: 4px solid var(--channel);
  background: rgba(18, 46, 82, .5);
  box-shadow: var(--news-hard-sm);
  transition: border-top-color .2s var(--ease), transform .2s var(--ease);
}

.page-news .news-project:hover {
  border-top-color: var(--ice);
  transform: translateY(-2px);
}

.page-news .news-project__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .01em;
}

.page-news .news-project__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #c8d7ec;
}

.page-news .news-project__focus {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(42, 74, 120, .9);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ice);
}

.page-news .news-project__figure {
  margin: 12px 0 0;
  border: 1px solid var(--edge);
}

/* ---------- 频道与栏目更新 ---------- */

.page-news .news-channels {
  margin-top: 52px;
}

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

.page-news .news-update {
  display: grid;
  gap: 6px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(42, 74, 120, .7);
}

.page-news .news-update__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--pulse-hi);
}

.page-news .news-update__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #d3dff2;
  max-width: 44em;
}

.page-news .news-channels__foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.page-news .news-channels__foot a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 255, 233, .45);
}

.page-news .news-channels__foot a:hover,
.page-news .news-channels__foot a:focus-visible {
  color: var(--pulse-hi);
  border-bottom-color: var(--pulse-hi);
}

/* ---------- 版本迭代日志 ---------- */

.page-news .news-log {
  margin-top: 52px;
  padding: 22px 16px 26px;
  border: var(--news-line);
  border-left: 4px solid var(--pulse);
  background: var(--abyss);
  box-shadow: var(--news-hard);
}

.page-news .news-log__wrap {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.page-news .news-log__media {
  margin: 0;
  border: 1px solid var(--edge);
}

.page-news .news-log .accordion__inner {
  font-size: 14px;
  line-height: 1.8;
  color: #c8d7ec;
}

.page-news .news-log .accordion__inner ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-news .news-log .accordion__trigger {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  width: 100%;
  text-align: left;
}

.page-news .news-ver {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}

.page-news .news-ver__state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 2px 7px;
  border: 1px solid var(--edge);
  color: var(--muted);
}

.page-news .news-ver__state--live {
  border-color: var(--ice);
  color: var(--ice);
  background: rgba(111, 255, 233, .1);
}

.page-news .news-ver__title {
  font-size: 15px;
  font-weight: 700;
  color: #dce7f8;
}

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

.page-news .news-series {
  margin-top: 52px;
}

.page-news .news-series__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.page-news .news-series__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 16px;
  border: var(--news-line);
  border-top: 4px solid var(--channel);
  background: rgba(18, 46, 82, .52);
  transition: border-top-color .2s var(--ease), transform .2s var(--ease);
}

.page-news .news-series__card:hover,
.page-news .news-series__card:focus-within {
  border-top-color: var(--pulse);
  transform: translateY(-3px);
}

.page-news .news-series__cadence {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ice);
}

.page-news .news-series__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.3;
}

.page-news .news-series__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #c8d7ec;
}

.page-news .news-series__peek {
  margin: auto 0 0;
  padding-top: 11px;
  border-top: 1px dashed rgba(42, 74, 120, .9);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 订阅与提醒 ---------- */

.page-news .news-subscribe {
  display: grid;
  gap: 22px;
  margin-top: 52px;
  padding: 24px 18px;
  border: var(--news-line);
  background: linear-gradient(118deg, rgba(255, 77, 46, .13), rgba(11, 31, 58, .5) 46%), var(--tier);
  box-shadow: var(--news-hard);
}

.page-news .news-subscribe__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.16;
}

.page-news .news-subscribe__text {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: #d3dff2;
}

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-news .news-subscribe__foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.page-news .news-subscribe__foot a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 255, 233, .45);
}

.page-news .news-subscribe__foot a:hover,
.page-news .news-subscribe__foot a:focus-visible {
  color: var(--pulse-hi);
  border-bottom-color: var(--pulse-hi);
}

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

.page-news .news-steps__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 12px 12px 0;
  border-left: 3px solid var(--pulse);
  padding-left: 12px;
  background: rgba(11, 31, 58, .55);
}

.page-news .news-steps__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ice);
  line-height: 1.2;
}

.page-news .news-steps__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #d3dff2;
}

/* ---------- 回顶浮动入口 ---------- */

.page-news .news-pin {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 2px solid var(--abyss);
  background: var(--ice);
  color: var(--abyss);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: var(--news-hard-sm);
}

.page-news .news-pin:hover,
.page-news .news-pin:focus-visible {
  background: var(--pulse);
  color: #fff;
  border-color: var(--abyss);
}

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

@media (min-width: 720px) {
  .page-news {
    padding-top: 34px;
  }

  .page-news .news-masthead__col {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px;
    align-items: start;
  }

  .page-news .news-flash__body {
    padding: 26px 24px 24px;
  }

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

  .page-news .news-series__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .news-update {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }

  .page-news .news-update__tag {
    padding-top: 3px;
  }
}

@media (min-width: 880px) {
  .page-news .news-item {
    grid-template-columns: 176px minmax(0, 1fr) auto;
    gap: 4px 20px;
    align-items: baseline;
    padding: 17px 14px 17px 18px;
  }

  .page-news .news-item .tag {
    margin-top: 0;
    justify-self: end;
  }

  .page-news .news-item__desc {
    grid-column: 2 / 3;
  }

  .page-news .news-item__time {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
  }

  .page-news .news-item__body {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1000px) {
  .page-news .news-log {
    padding: 26px 26px 30px;
  }

  .page-news .news-log__wrap {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 28px;
  }

  .page-news .news-subscribe {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 30px;
    padding: 30px 26px;
  }
}

@media (min-width: 1080px) {
  .page-news .news-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-news .news-project:hover,
  .page-news .news-series__card:hover,
  .page-news .news-series__card:focus-within {
    transform: none;
  }
}
