.page-news,
.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

.page-news {
  --news-rail: 250px;
  background: var(--warm-white);
  color: var(--indigo);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

.page-news .page-news__crumbs {
  padding-top: 26px;
}

.page-news .crumbs {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.page-news .crumbs a:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange-tint);
}

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

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  display: grid;
  gap: 34px;
  padding-block: 22px 52px;
}

.page-news .news-hero__copy {
  min-width: 0;
}

.page-news .news-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: lowercase;
  color: var(--orange-deep);
}

.page-news .news-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--indigo);
  max-width: 13em;
}

.page-news .news-hero__lead {
  margin: 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--indigo-mid);
}

.page-news .news-hero__meta {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

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

.page-news .news-hero__meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  flex: 0 0 auto;
}

.page-news .news-hero__meta li:nth-child(2)::before {
  background: var(--orange);
}

.page-news .news-hero__meta li:nth-child(3)::before {
  background: var(--indigo-mid);
}

.page-news .news-hero__figure {
  position: relative;
  margin: 0;
  min-width: 0;
}

.page-news .news-hero__figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -12px;
  width: 64%;
  height: 72%;
  background: var(--orange-tint);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}

.page-news .news-hero__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 var(--paper);
  background: var(--blue-grey);
}

.page-news .annotation {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: -16px;
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--indigo);
  background: var(--warm-white);
  border: 1px solid var(--line);
  transform: rotate(-6deg);
}

/* ---------- 主体两栏 ---------- */
.page-news .news-layout {
  display: grid;
  gap: 38px;
  padding-bottom: 72px;
}

.page-news .news-rail {
  min-width: 0;
  border-top: 3px solid var(--indigo);
  padding-top: 18px;
}

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

/* 筛选条：纯 CSS 过滤，无 JS 时全部内容照常可见 */
.page-news .filter-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.page-news .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--indigo);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 0 var(--paper);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}

.page-news .filter-chip:hover {
  border-color: var(--orange-deep);
  color: var(--orange-deep);
}

.page-news .filter-input:focus-visible + .filter-chip {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-news .filter-input:checked + .filter-chip {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 0 var(--orange-deep);
}

.page-news .filter-chip__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  opacity: .78;
}

.page-news .news-rail__figure {
  margin: 26px 0 0;
}

.page-news .news-rail__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--blue-grey);
}

.page-news .news-rail__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.page-news .news-rail__note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 笔记流 ---------- */
.page-news .notes-flow {
  min-width: 0;
  columns: 1;
  column-gap: 28px;
}

.page-news .note-card {
  display: flex;
  gap: 14px;
  margin: 0 0 24px;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 5px 5px 0 var(--paper);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-news .note-card:hover {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 var(--orange-tint);
}

.page-news .note-card__index {
  flex: 0 0 auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--ink-soft);
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.page-news .note-card:hover .note-card__index {
  color: var(--orange);
  transform: translateX(3px);
}

.page-news .note-card__body {
  min-width: 0;
  flex: 1 1 auto;
}

.page-news .note-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.page-news .note-card__time {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.page-news .note-card__title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--indigo);
}

.page-news .note-card__excerpt {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--indigo-mid);
}

.page-news .note-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-tint);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-news .note-card__link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-news .note-card__link:hover {
  border-bottom-color: var(--orange);
}

.page-news .note-card__link:focus-visible,
.page-news .news-subscribe a:focus-visible,
.page-news .news-pause a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-news .note-card__figure {
  margin: 16px 0 14px;
}

.page-news .note-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--blue-grey);
}

.page-news .note-card__figure--sm img {
  aspect-ratio: 4 / 3;
}

/* 置顶笔记 */
.page-news .note-card--pinned {
  display: block;
  position: relative;
  overflow: hidden;
  column-span: all;
  margin: 0 0 30px;
  padding: 26px 22px;
  background: var(--indigo);
  border-color: var(--indigo);
  box-shadow: 7px 7px 0 var(--orange-tint);
}

.page-news .note-card--pinned::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(61, 217, 176, .13);
  pointer-events: none;
}

.page-news .note-card--pinned > * {
  position: relative;
  z-index: 1;
}

.page-news .note-card--pinned .note-card__meta {
  border-bottom-color: rgba(251, 247, 242, .24);
}

.page-news .note-card--pinned .note-card__time {
  color: rgba(251, 247, 242, .66);
  border-left-color: rgba(251, 247, 242, .26);
}

.page-news .note-card--pinned .note-card__title {
  margin-top: 14px;
  font-size: clamp(1.32rem, 3.4vw, 1.8rem);
  color: var(--warm-white);
  max-width: 20em;
}

.page-news .note-card--pinned .note-card__excerpt {
  max-width: 44em;
  font-size: 15px;
  color: rgba(251, 247, 242, .84);
}

.page-news .note-card--pinned .note-card__figure img {
  border-color: rgba(251, 247, 242, .2);
}

.page-news .note-card--pinned .note-card__link {
  color: var(--mint);
  border-bottom-color: rgba(61, 217, 176, .45);
  margin-top: 4px;
}

.page-news .note-card--pinned .note-card__link:hover {
  border-bottom-color: var(--mint);
}

.page-news .note-fold {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(251, 247, 242, .24);
}

.page-news .note-fold > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--mint);
  transition: color .2s var(--ease);
}

.page-news .note-fold > summary::-webkit-details-marker {
  display: none;
}

.page-news .note-fold > summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 15px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--indigo);
  background: var(--mint);
  border-radius: 50%;
}

.page-news .note-fold[open] > summary::before {
  content: "–";
}

.page-news .note-fold > summary:hover {
  color: var(--warm-white);
}

.page-news .note-fold__body p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(251, 247, 242, .82);
  max-width: 46em;
}

/* 列表末端的留白节奏 */
.page-news .news-pause {
  column-span: all;
  margin: 18px 0 0;
  padding: 42px 0 10px;
  text-align: center;
}

.page-news .news-pause::before {
  content: "";
  display: block;
  width: 64px;
  height: 0;
  margin: 0 auto 22px;
  border-top: 2px dotted var(--orange);
}

.page-news .news-pause__text {
  margin: 0 auto 20px;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .news-pause__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- 订阅说明 ---------- */
.page-news .news-subscribe {
  background: var(--blue-grey);
  border-top: 1px solid var(--line);
  padding-block: 56px 64px;
}

.page-news .news-subscribe__inner {
  display: grid;
  gap: 32px;
}

.page-news .news-subscribe__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: lowercase;
  color: var(--orange-deep);
}

.page-news .news-subscribe h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--indigo);
  max-width: 18em;
}

.page-news .news-subscribe__lead {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--indigo-mid);
}

.page-news .news-subscribe__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .news-subscribe__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--indigo-mid);
}

.page-news .news-subscribe__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .85;
}

.page-news .news-subscribe__mail {
  display: inline-block;
  margin: 20px 0 18px;
  padding: 9px 14px;
  border-radius: 2px;
  background: var(--orange-tint);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--indigo);
  word-break: break-all;
}

.page-news .news-subscribe__aside {
  padding: 22px 20px;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 2px;
  box-shadow: 5px 5px 0 var(--paper);
  font-size: 14px;
  line-height: 1.78;
  color: var(--indigo-mid);
}

.page-news .news-subscribe__aside p {
  margin: 0 0 8px;
}

.page-news .news-subscribe__aside-k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--mint-deep);
}

.page-news .news-subscribe__aside-k + p {
  margin-bottom: 18px;
}

.page-news .news-subscribe__aside-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-tint);
  transition: border-color .2s var(--ease);
}

.page-news .news-subscribe__aside-link:hover {
  border-bottom-color: var(--orange);
}

/* ---------- 纯 CSS 栏目过滤 ---------- */
.page-news .news-layout:has(#f-update:checked) .note-card:not([data-cat="update"]),
.page-news .news-layout:has(#f-case:checked) .note-card:not([data-cat="case"]),
.page-news .news-layout:has(#f-tips:checked) .note-card:not([data-cat="tips"]),
.page-news .news-layout:has(#f-editor:checked) .note-card:not([data-cat="editor"]) {
  display: none;
}

/* ---------- 断点 ---------- */
@media (max-width: 939px) {
  .page-news .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .page-news .filter-chip {
    flex: 0 0 auto;
  }

  .page-news .news-rail__figure,
  .page-news .news-rail__note {
    max-width: 26rem;
  }
}

@media (min-width: 760px) {
  .page-news .notes-flow {
    columns: 2;
  }
}

@media (min-width: 940px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 56px;
    padding-block: 40px 80px;
  }

  .page-news .news-layout {
    grid-template-columns: var(--news-rail) minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }

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

  .page-news .news-subscribe__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    column-gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero h1 {
    max-width: 12em;
  }

  .page-news .notes-flow {
    column-gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .note-card,
  .page-news .note-card__index,
  .page-news .filter-chip {
    transition-duration: .01ms;
  }

  .page-news .note-card:hover,
  .page-news .note-card:hover .note-card__index,
  .page-news .filter-input:checked + .filter-chip {
    transform: none;
  }
}
<<<END>>>
