/* =========================================================
   战报笔记 /notes/ —— 页面专属样式
   作用域：.page-news
   ========================================================= */

.page-news {
  --ns-gutter: 18px;
  --ns-card-pad: 18px;
  --ns-rail-w: 268px;
  --ns-line: rgba(42, 74, 64, 0.85);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  padding-top: 16px;
}

.page-news .ns-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .ns-crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.page-news .ns-crumbs a:hover,
.page-news .ns-crumbs a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-news .ns-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ink-3);
}

.page-news .ns-crumbs li[aria-current="page"] {
  color: var(--gold-2);
}

/* ---------- 首屏 ---------- */
.page-news .ns-hero {
  position: relative;
  margin-top: 14px;
  padding: 34px 0 52px;
  border-bottom: 2px solid var(--ink-3);
  overflow: hidden;
}

.page-news .ns-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--ns-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ns-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.38;
  pointer-events: none;
}

.page-news .ns-hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.22), rgba(242, 193, 78, 0) 62%);
  pointer-events: none;
}

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

.page-news .ns-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 13px;
  border: 1px solid var(--ink-3);
  background: rgba(18, 53, 44, 0.78);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}

.page-news .ns-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--red);
  animation: ns-pulse 2.1s ease-out infinite;
}

@keyframes ns-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .ns-pulse { animation: none; }
}

.page-news .ns-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(33px, 8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .ns-hero__lede {
  margin: 0 0 26px;
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .ns-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.page-news .ns-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--ink-3);
  list-style: none;
}

.page-news .ns-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-news .ns-num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.page-news .ns-lab {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* 首屏右侧状态面板 */
.page-news .ns-board {
  position: relative;
  padding: var(--ns-card-pad);
  background: var(--ink-2);
  border: 2px solid var(--ink-3);
  box-shadow: var(--shadow-lg);
}

.page-news .ns-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 4px;
  background: var(--red);
}

.page-news .ns-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.page-news .ns-board__ts {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-news .ns-board__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-3);
}

.page-news .ns-board__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-3);
}

.page-news .ns-board__ev {
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--paper);
}

.page-news .ns-board__st {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .ns-board__st--on {
  border-color: rgba(242, 193, 78, 0.7);
  color: var(--gold);
}

.page-news .ns-board__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 通用小节头部微调 ---------- */
.page-news .section-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-news .section-head p {
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- 专题横向浏览带 ---------- */
.page-news .ns-rail-sec {
  padding: 54px 0 10px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-rail {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  padding: 6px var(--ns-gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--ink-2);
}

.page-news .ns-rail::-webkit-scrollbar {
  height: 6px;
}

.page-news .ns-rail::-webkit-scrollbar-track {
  background: var(--ink-2);
}

.page-news .ns-rail::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.page-news .ns-rail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.page-news .ns-rail__card {
  flex: 0 0 var(--ns-rail-w);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--ns-card-pad);
  background: var(--ink-2);
  border: 2px solid var(--ink-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-news .ns-rail__card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--gold);
}

.page-news .ns-rail__card--lead {
  flex-basis: 300px;
  padding: 0;
  overflow: hidden;
}

.page-news .ns-rail__card--lead .ns-rail__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--ns-card-pad);
  align-items: flex-start;
}

.page-news .ns-rail__card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .ns-rail__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .ns-rail__meta {
  margin-top: auto !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.06em;
  color: var(--gold-2) !important;
}

/* ---------- 最新战报 ---------- */
.page-news .ns-list-sec {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-figure {
  display: block;
  margin: 26px 0 30px;
}

.page-news .ns-figure .media-frame {
  border: 2px solid var(--ink-3);
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.page-news .ns-briefs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .ns-brief {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--ns-card-pad);
  background: var(--ink-2);
  border: 2px solid var(--ink-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-news .ns-brief:hover {
  transform: translate(-3px, -3px);
  border-color: var(--gold);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
}

.page-news .ns-brief__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-3);
}

.page-news .ns-brief__sport {
  padding: 3px 9px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.page-news .ns-brief__ts {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .ns-brief__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.page-news .ns-brief__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .ns-brief__foot {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gold-2);
}

/* ---------- 整理流程 ---------- */
.page-news .ns-method {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
  background:
    linear-gradient(180deg, rgba(28, 74, 61, 0.28), rgba(11, 31, 26, 0) 70%);
}

.page-news .ns-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

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

.page-news .ns-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
  background: rgba(18, 53, 44, 0.62);
  border-left: 4px solid var(--gold);
}

.page-news .ns-step__n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 2px;
}

.page-news .ns-step h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .ns-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .ns-method__fig {
  margin: 0;
}

/* ---------- 版本迭代观察 ---------- */
.page-news .ns-version {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-timeline {
  position: relative;
  margin: 28px 0 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.page-news .ns-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--ink-3));
}

.page-news .ns-tl-item {
  position: relative;
  padding: 0 0 26px;
}

.page-news .ns-tl-item:last-child {
  padding-bottom: 0;
}

.page-news .ns-tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  border: 2px solid var(--gold);
}

.page-news .ns-tl-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border: 1px solid var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.page-news .ns-tl-badge--now {
  border-color: var(--red);
  background: rgba(230, 57, 70, 0.16);
  color: var(--paper);
}

.page-news .ns-tl-badge--old {
  border-color: var(--ink-3);
  color: var(--gold-2);
}

.page-news .ns-tl-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.42;
  color: var(--paper);
}

.page-news .ns-tl-item p {
  margin: 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .ns-version__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-3);
}

.page-news .ns-textlink {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid rgba(242, 193, 78, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.page-news .ns-textlink:hover,
.page-news .ns-textlink:focus-visible {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}

/* ---------- 编辑手记 ---------- */
.page-news .ns-journal {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-journal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-news .ns-journal__fig {
  margin: 0;
}

.page-news .ns-journal__lede {
  margin: 14px 0 22px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-news .ns-journal__entries {
  display: grid;
  gap: 14px;
}

.page-news .ns-journal__note {
  padding: 16px;
  background: rgba(18, 53, 44, 0.62);
  border: 1px solid var(--ink-3);
  border-top: 3px solid var(--gold);
}

.page-news .ns-journal__ts {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-2);
}

.page-news .ns-journal__note h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  color: var(--paper);
}

.page-news .ns-journal__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 订阅更新日志 ---------- */
.page-news .ns-sub {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-sub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-top: 28px;
}

.page-news .ns-sub__logtitle {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .ns-logline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--ink-3);
}

.page-news .ns-logline li {
  position: relative;
  padding: 0 0 20px 20px;
}

.page-news .ns-logline li:last-child {
  padding-bottom: 0;
}

.page-news .ns-logline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
}

.page-news .ns-logline__ts {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-2);
}

.page-news .ns-logline p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .ns-freqcard {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--ink-2);
  border: 2px solid var(--ink-3);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-news .ns-freqcard:hover {
  border-color: var(--gold);
  transform: translate(-2px, -2px);
}

.page-news .ns-freqcard__name {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  color: var(--gold);
}

.page-news .ns-freqcard p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .ns-freqcard__meta {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .ns-sub__cta {
  margin-top: 8px;
}

/* ---------- 标签索引 ---------- */
.page-news .ns-index {
  padding: 52px 0 56px;
  border-bottom: 2px solid var(--ink-3);
}

.page-news .ns-index__group {
  margin-top: 26px;
}

.page-news .ns-index__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-2);
}

.page-news .ns-index__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-3);
}

.page-news .ns-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .ns-tag {
  display: inline-block;
  padding: 8px 15px;
  background: rgba(18, 53, 44, 0.7);
  border: 2px solid var(--ink-3);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.page-news .ns-tag:hover,
.page-news .ns-tag:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.page-news .ns-tag--ver {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-color: var(--ink-3);
  color: var(--gold-2);
}

.page-news .ns-tag--ver:hover,
.page-news .ns-tag--ver:focus-visible {
  color: var(--ink);
}

/* ---------- 尾部行动区 ---------- */
.page-news .ns-tail {
  padding: 46px 0 60px;
}

.page-news .ns-tail__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px var(--ns-card-pad);
  background: var(--ink-2);
  border: 2px solid var(--ink-3);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow-lg);
}

.page-news .ns-tail__text h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(21px, 5vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-news .ns-tail__text p {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .ns-tail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   响应式
   ========================================================= */

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

  .page-news .ns-rail__card--lead {
    flex-basis: 420px;
  }

  .page-news .ns-rail__card {
    flex-basis: 300px;
  }

  .page-news .ns-tail__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 32px 30px;
  }
}

@media (min-width: 900px) {
  .page-news .ns-method__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .ns-journal__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .ns-journal__fig {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-news .ns-sub__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 44px;
  }
}

@media (min-width: 960px) {
  .page-news .ns-hero {
    padding: 46px 0 68px;
  }

  .page-news .ns-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
}

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

@media (min-width: 1316px) {
  .page-news .ns-rail {
    padding-left: calc((100vw - var(--maxw)) / 2 + var(--ns-gutter));
    padding-right: var(--ns-gutter);
  }
}

@media (max-width: 420px) {
  .page-news .ns-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .page-news .ns-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-news .ns-board__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-news .ns-board__st {
    justify-self: start;
  }
}
<<<END>>>
