.page-news {
  --note-hair: rgba(24, 42, 74, 0.14);
  --note-hair-light: rgba(247, 243, 232, 0.2);
  background: var(--cream);
  color: var(--ink);
  padding-bottom: clamp(36px, 5vw, 72px);
}

.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

.page-news .notes-crumb-wrap {
  padding-top: clamp(12px, 2vw, 20px);
}

/* ---------- 首屏 ---------- */
.page-news .notes-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.6vw, 40px) 0 clamp(28px, 4.4vw, 54px);
}

.page-news .notes-hero::before {
  content: "";
  position: absolute;
  inset: -12% -6% auto -6%;
  height: 130%;
  background-image: repeating-linear-gradient(112deg, rgba(199, 161, 90, 0.22) 0 1px, transparent 1px 46px);
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

.page-news .notes-hero-grid {
  position: relative;
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
  align-items: end;
}

.page-news .notes-hero-copy .eyebrow {
  margin: 0 0 14px;
}

.page-news .notes-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 7.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--indigo);
  text-wrap: balance;
}

.page-news .notes-hero .lede {
  margin: 0 0 clamp(20px, 3vw, 28px);
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 2.1vw, 1.06rem);
  line-height: 1.85;
  color: var(--ink);
}

.page-news .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--indigo);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-news .hero-stat {
  padding: clamp(11px, 1.8vw, 17px) clamp(8px, 1.6vw, 16px);
  border-left: 1px solid var(--note-hair-light);
}

.page-news .hero-stat:first-child {
  border-left: 0;
}

.page-news .hero-stat dt {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.page-news .hero-stat dd {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(247, 243, 232, 0.82);
}

.page-news .hero-stat dd .mono {
  margin-right: 3px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gold-light);
}

.page-news .notes-hero-media {
  position: relative;
  margin: 0;
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--indigo);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.page-news .notes-hero-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(199, 161, 90, 0.4);
  pointer-events: none;
}

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

/* ---------- 主体两栏 ---------- */
.page-news .notes-body {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(18px, 3vw, 30px);
}

.page-news .notes-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-news .side-nav {
  padding: 14px 12px 10px;
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--cloud);
  box-shadow: var(--shadow-1);
}

.page-news .side-nav-title {
  margin: 0 0 10px;
  padding-left: 4px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--rock);
}

.page-news .side-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .side-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-news .side-nav-list a:hover,
.page-news .side-nav-list a:focus-visible {
  background: var(--sand);
  border-left-color: var(--gold);
}

.page-news .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.page-news .dot--gold { background: var(--gold); }
.page-news .dot--vermilion { background: var(--vermilion); }
.page-news .dot--turquoise { background: var(--turquoise); }
.page-news .dot--rock { background: var(--rock); }

.page-news .side-card {
  padding: 16px;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--indigo);
  color: var(--cloud);
  box-shadow: var(--shadow-1);
}

.page-news .side-card-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.page-news .side-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(247, 243, 232, 0.86);
}

.page-news .side-facts li {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--note-hair-light);
}

.page-news .side-facts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-news .side-facts .mono {
  margin-right: 5px;
  font-size: 1.05rem;
  color: var(--gold-light);
}

/* ---------- 笔记流 ---------- */
.page-news .notes-stream {
  display: grid;
  gap: clamp(30px, 4.4vw, 52px);
  min-width: 0;
}

.page-news .note-section {
  --sec-dot: var(--gold);
  scroll-margin-top: 96px;
  min-width: 0;
}

.page-news .note-section--version { --sec-dot: var(--gold); }
.page-news .note-section--path { --sec-dot: var(--vermilion); }
.page-news .note-section--device { --sec-dot: var(--turquoise); }
.page-news .note-section--feedback { --sec-dot: var(--rock); }

.page-news .note-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--note-hair);
}

.page-news .note-section-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.32rem, 3.4vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--indigo);
}

.page-news .note-section-head h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--sec-dot);
  transform: translateY(-2px) rotate(45deg);
}

.page-news .note-section-sub {
  margin: 0;
  max-width: 44ch;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--rock);
}

.page-news .note-list {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.page-news .note {
  min-width: 0;
  padding: clamp(15px, 2.5vw, 21px);
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--cloud);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .note:hover {
  border-color: rgba(199, 161, 90, 0.6);
  box-shadow: var(--shadow-2);
}

.page-news .note-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.page-news .note-num {
  padding: 1px 6px;
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.page-news .note-when {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--rock);
}

.page-news .note-title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--indigo);
}

.page-news .note-sum {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.82;
  color: var(--ink);
}

.page-news .note-fold {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--note-hair);
}

.page-news .note-fold .fold-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ink);
}

.page-news .note-fold .fold-body p + p {
  margin-top: 10px;
}

.page-news .note-figure {
  margin: 16px 0 0;
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--cloud);
  overflow: hidden;
}

.page-news .note-figure--square {
  max-width: 440px;
}

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

.page-news .note-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--note-hair);
  font-size: 0.77rem;
  line-height: 1.7;
  color: var(--rock);
}

/* 反馈索引区底块 */
.page-news .note-section--feedback {
  padding: clamp(15px, 2.4vw, 24px);
  border: 1px solid rgba(199, 161, 90, 0.42);
  border-radius: var(--radius);
  background: var(--sand);
}

.page-news .note-section--feedback .note-section-head {
  border-bottom-color: rgba(24, 42, 74, 0.2);
}

/* 专题系列深色块 */
.page-news .note-section--series {
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--indigo);
  color: var(--cloud);
  box-shadow: var(--shadow-2);
}

.page-news .note-section--series .note-section-head {
  border-bottom-color: var(--note-hair-light);
}

.page-news .note-section--series .note-section-head h2 {
  color: var(--cloud);
}

.page-news .note-section--series .note-section-sub {
  color: rgba(247, 243, 232, 0.74);
}

.page-news .series-label {
  margin: 16px 0 9px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
}

.page-news .series-group--first .series-label {
  margin-top: 4px;
}

.page-news .series-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.page-news .series-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 11px 13px;
  border: 1px solid var(--note-hair-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(247, 243, 232, 0.06);
}

.page-news .series-num {
  font-size: 0.78rem;
  color: rgba(247, 243, 232, 0.7);
}

.page-news .series-name {
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cloud);
}

.page-news .series-note {
  flex: 1 0 100%;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.7);
}

/* ---------- 回访与协助 ---------- */
.page-news .note-help {
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--note-hair);
  scroll-margin-top: 96px;
}

.page-news .note-help h2 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(1.28rem, 3.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--indigo);
}

.page-news .help-grid {
  display: grid;
  gap: 13px;
}

.page-news .help-card {
  display: block;
  padding: clamp(17px, 2.5vw, 23px);
  border: 1px solid var(--note-hair);
  border-radius: var(--radius);
  background: var(--cloud);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-news .help-card:hover,
.page-news .help-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.page-news .help-card h3 {
  margin: 8px 0;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--indigo);
}

.page-news .help-card p {
  margin: 0 0 14px;
  font-size: 0.91rem;
  line-height: 1.8;
  color: var(--ink);
}

.page-news .help-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--vermilion);
}

.page-news .help-card--ink {
  border-color: var(--indigo);
  background: var(--indigo);
  color: var(--cloud);
}

.page-news .help-card--ink h3 {
  color: var(--cloud);
}

.page-news .help-card--ink p {
  color: rgba(247, 243, 232, 0.82);
}

.page-news .help-card--ink .help-kicker {
  color: var(--gold-light);
}

.page-news .help-contact {
  margin: 16px 0 0;
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--rock);
}

.page-news .back-top {
  margin: clamp(22px, 3vw, 34px) 0 0;
  text-align: right;
  font-size: 0.84rem;
}

.page-news .back-top a {
  color: var(--rock);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--note-hair);
}

.page-news .back-top a:hover {
  color: var(--indigo);
  border-bottom-color: var(--gold);
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-news .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-news .notes-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (min-width: 980px) {
  .page-news .notes-body {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
  }

  .page-news .notes-side {
    position: sticky;
    top: 92px;
  }

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

  .page-news .note-list .note:nth-child(3n + 1):last-child {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 400px) {
  .page-news .hero-stat dd .mono {
    display: block;
    margin-right: 0;
  }

  .page-news .note-when {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .note,
  .page-news .help-card,
  .page-news .side-nav-list a {
    transition: none;
  }

  .page-news .help-card:hover,
  .page-news .help-card:focus-visible {
    transform: none;
  }
}
