.page-news {
  --news-rail-w: 236px;
  background: var(--mist);
  color: var(--seed);
  font-family: var(--font-body);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-news .breadcrumb {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 0;
  font-size: 13px;
  color: var(--cool);
}
.page-news .breadcrumb a {
  color: var(--ink-70);
  text-decoration: none;
}
.page-news .breadcrumb a:hover {
  color: var(--jade-deep);
}

/* 封面首屏 */
.page-news .news-cover {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) var(--gutter) clamp(28px, 5vw, 56px);
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}
.page-news .news-cover__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.page-news .news-cover__title em {
  font-style: normal;
  color: var(--jade-deep);
}
.page-news .news-cover__lead {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  line-height: 1.9;
  color: var(--ink-70);
  max-width: 34em;
  margin: 18px 0 0;
}
.page-news .news-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-news .news-cover__strip {
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(155deg, rgba(191, 227, 203, 0.62), rgba(226, 232, 225, 0.24) 55%, rgba(246, 247, 242, 0)),
    var(--mist);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-news .news-cover__strip-title {
  margin: 0 0 12px;
  color: var(--terracotta);
}
.page-news .news-cover__strip dl {
  margin: 0;
}
.page-news .news-cover__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.page-news .news-cover__stat:last-of-type {
  border-bottom: 0;
}
.page-news .news-cover__stat dt {
  color: var(--ink-70);
}
.page-news .news-cover__stat dd {
  margin: 0;
  font-weight: 700;
}
.page-news .news-cover__strip-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cool);
}

/* 主栅格 */
.page-news .news-body {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}
.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.page-news .news-stream {
  min-width: 0;
}

/* 左栏 */
.page-news .news-rail {
  display: grid;
  gap: 16px;
}
.page-news .news-rail__block {
  padding: 16px 16px 18px;
  background: var(--fog-green);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.page-news .news-rail__block--anchors {
  background: transparent;
  padding: 0 2px;
  clip-path: none;
}
.page-news .news-rail__title {
  margin: 0 0 12px;
  color: var(--ink-45);
}

.page-news .tagbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-news .tagbar__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink-70);
  background: rgba(246, 247, 242, 0.72);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .tagbar__item em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--cool);
}
.page-news .tagbar__item:hover {
  border-color: var(--jade);
  color: var(--seed);
}

.page-news .rail-nav {
  display: grid;
  gap: 2px;
}
.page-news .rail-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0 7px 10px;
  font-size: 14px;
  color: var(--cool);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .rail-nav__link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex: none;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.page-news .rail-nav__link:hover,
.page-news .rail-nav__link[aria-current="true"] {
  color: var(--jade-deep);
  border-left-color: var(--jade);
}
.page-news .rail-nav__link[aria-current="true"]::before {
  background: var(--jade);
  opacity: 1;
  transform: scale(1.6);
}

/* 筛选选中态与焦点态 */
.page-news #tag-all:checked ~ .news-rail label[for="tag-all"],
.page-news #tag-version:checked ~ .news-rail label[for="tag-version"],
.page-news #tag-exp:checked ~ .news-rail label[for="tag-exp"],
.page-news #tag-export:checked ~ .news-rail label[for="tag-export"],
.page-news #tag-origin:checked ~ .news-rail label[for="tag-origin"] {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--mist);
}
.page-news #tag-all:checked ~ .news-rail label[for="tag-all"] em,
.page-news #tag-version:checked ~ .news-rail label[for="tag-version"] em,
.page-news #tag-exp:checked ~ .news-rail label[for="tag-exp"] em,
.page-news #tag-export:checked ~ .news-rail label[for="tag-export"] em,
.page-news #tag-origin:checked ~ .news-rail label[for="tag-origin"] em {
  color: rgba(246, 247, 242, 0.82);
}
.page-news .news-body:has(#tag-all:focus-visible) label[for="tag-all"],
.page-news .news-body:has(#tag-version:focus-visible) label[for="tag-version"],
.page-news .news-body:has(#tag-exp:focus-visible) label[for="tag-exp"],
.page-news .news-body:has(#tag-export:focus-visible) label[for="tag-export"],
.page-news .news-body:has(#tag-origin:focus-visible) label[for="tag-origin"] {
  outline: 2px solid var(--jade-deep);
  outline-offset: 2px;
}

/* 过滤逻辑 */
.page-news #tag-version:checked ~ .news-stream .entry:not(.is-version),
.page-news #tag-exp:checked ~ .news-stream .entry:not(.is-exp),
.page-news #tag-export:checked ~ .news-stream .entry:not(.is-export),
.page-news #tag-origin:checked ~ .news-stream .entry:not(.is-origin) {
  display: none;
}

/* 章节 */
.page-news .news-sec {
  margin-bottom: clamp(38px, 6vw, 68px);
}
.page-news .news-sec:last-child {
  margin-bottom: 0;
}
.page-news .section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.page-news .section-head__index {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--terracotta);
}
.page-news .section-head__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -0.01em;
  margin: 0;
}
.page-news .section-head__rule {
  flex: 1;
  height: 1px;
  min-width: 24px;
  background: linear-gradient(90deg, var(--terracotta-sand), transparent);
}
.page-news .news-sec__lead {
  margin: -6px 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-70);
  max-width: 44em;
}

/* 置顶公告 */
.page-news .pin {
  padding: clamp(20px, 3.5vw, 34px);
  background:
    linear-gradient(150deg, rgba(215, 240, 122, 0.22), rgba(246, 247, 242, 0) 46%),
    var(--mist);
  border: 1px solid var(--terracotta-sand);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.page-news .pin__flag {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  background: var(--jade);
  color: var(--mist);
}
.page-news .pin__kicker {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}
.page-news .pin__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.32;
  margin: 0 0 14px;
}
.page-news .pin__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-news .pin__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-70);
}
.page-news .pin__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--seed);
  opacity: 0.6;
}
.page-news .pin__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.page-news .pin__note {
  margin: 0;
  flex: 1 1 260px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--cool);
}

/* 时间轴 */
.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  position: relative;
}
.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--jade), var(--terracotta-sand) 70%, transparent);
}
.page-news .timeline__item {
  position: relative;
  padding-bottom: clamp(22px, 3.4vw, 34px);
}
.page-news .timeline__item:last-child {
  padding-bottom: 0;
}
.page-news .timeline__dot {
  position: absolute;
  left: -22px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mist);
  border: 2px solid var(--terracotta);
}
.page-news .timeline__item.is-current .timeline__dot {
  left: -24px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--jade);
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(47, 158, 95, 0.18);
}
.page-news .timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-news .timeline__ver {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--jade-deep);
}
.page-news .timeline__when {
  font-size: 12.5px;
  color: var(--cool);
}
.page-news .timeline__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.45;
  margin: 8px 0 6px;
}
.page-news .timeline__desc {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-70);
}
.page-news .timeline__scope {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cool);
}
.page-news .timeline__tip {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--jade-deep);
  background: rgba(191, 227, 203, 0.34);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.page-news .timeline__item:hover .timeline__tip,
.page-news .timeline__item:focus-within .timeline__tip {
  opacity: 1;
  transform: none;
}

/* 归档条目 */
.page-news .feed {
  display: grid;
}
.page-news .entry {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
  animation: newsFade 0.3s var(--ease) both;
}
.page-news .entry:first-child {
  padding-top: 8px;
}
.page-news .entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-news .entry__ver {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--jade-deep);
}
.page-news .entry__when {
  font-size: 12.5px;
  color: var(--cool);
}
.page-news .tagpill {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  border: 1px solid var(--line);
  color: var(--ink-70);
  background: rgba(246, 247, 242, 0.9);
}
.page-news .tagpill--exp {
  color: var(--jade-deep);
  border-color: rgba(47, 158, 95, 0.42);
  background: rgba(191, 227, 203, 0.42);
}
.page-news .tagpill--ver {
  color: var(--terracotta);
  border-color: var(--terracotta-sand);
  background: rgba(228, 179, 155, 0.22);
}
.page-news .tagpill--export {
  color: var(--seed);
  background: var(--fog-green);
}
.page-news .tagpill--origin {
  color: var(--mist);
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.page-news .entry__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0;
}
.page-news .entry__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-70);
}
.page-news .entry__desc a {
  color: var(--jade-deep);
}
.page-news .entry__scope {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--cool);
}
.page-news .entry__link {
  justify-self: start;
  font-size: 13.5px;
  color: var(--jade-deep);
  text-decoration: none;
  border-bottom: 1px dashed var(--jade);
  padding-bottom: 1px;
}
.page-news .entry__link:hover {
  color: var(--seed);
  border-bottom-color: var(--seed);
}
.page-news .entry__grid {
  display: grid;
  gap: 12px;
}
.page-news .entry__figure {
  margin: 0;
}
.page-news .entry__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--terracotta-sand);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  object-fit: cover;
}

/* 移动端体验专题 */
.page-news .news-figure {
  margin: 0 0 22px;
}
.page-news .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .prose {
  margin: 0 0 18px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-70);
}
.page-news .prose--serif {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--seed);
}

.page-news .compare {
  margin: 22px 0;
  border: 1px solid var(--line);
  background: var(--mist);
  overflow-x: auto;
}
.page-news .compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}
.page-news .compare th,
.page-news .compare td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.page-news .compare thead th {
  background: var(--fog-green);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--seed);
}
.page-news .compare tbody tr:last-child td {
  border-bottom: 0;
}
.page-news .compare td {
  color: var(--ink-70);
  line-height: 1.65;
}
.page-news .compare td:first-child {
  color: var(--seed);
  font-weight: 600;
}
.page-news .compare td:last-child {
  color: var(--seed);
  background: rgba(191, 227, 203, 0.22);
}

/* 评测卡片 */
.page-news .review-grid {
  display: grid;
  gap: 16px;
}
.page-news .review-card {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  overflow: hidden;
}
.page-news .review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-sand) 58%, transparent);
}
.page-news .review-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 14px;
  border: 1px solid var(--terracotta-sand);
  object-fit: cover;
}
.page-news .review-card__ver {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cool);
}
.page-news .review-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0 0 8px;
}
.page-news .review-card__desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-70);
}
.page-news .review-card__fit {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--jade-deep);
}

.page-news .meter-wrap {
  margin-top: 24px;
  padding: 18px;
  background: var(--fog-green);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.page-news .meter-wrap .label {
  margin: 0 0 10px;
  color: var(--ink-45);
}
.page-news .meter__track {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: rgba(20, 26, 23, 0.1);
  overflow: hidden;
}
.page-news .meter__fill {
  height: 100%;
  width: var(--v, 0%);
  transform: none;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--jade-deep), var(--jade));
  transition: width 0.6s var(--ease);
}
.page-news .meter__legend {
  margin: 9px 0 0;
  font-size: 12px;
  color: var(--ink-70);
}

/* 更新提醒 */
.page-news .sub-panel {
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(162deg, rgba(191, 227, 203, 0.5), rgba(246, 247, 242, 0.24) 62%),
    var(--fog-green);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.page-news .sub-panel > h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.3;
  margin: 0 0 10px;
}
.page-news .sub-panel > p {
  margin: 0 0 20px;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-70);
}
.page-news .sub-ways {
  display: grid;
  gap: 14px;
}
.page-news .sub-way {
  padding: 16px 18px;
  background: rgba(246, 247, 242, 0.88);
  border: 1px solid var(--line);
}
.page-news .sub-way > .mono {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--terracotta);
}
.page-news .sub-way h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.page-news .sub-way p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-70);
}
.page-news .sub-panel__hint {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-70);
}
.page-news .sub-panel__hint a {
  color: var(--jade-deep);
}

@keyframes newsFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 断点 */
@media (max-width: 759px) {
  .page-news .timeline__tip {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .page-news .sub-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .entry__grid {
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: start;
  }
}

@media (min-width: 780px) {
  .page-news .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  .page-news .review-card:nth-child(2) {
    margin-top: 30px;
  }
  .page-news .review-card:nth-child(3) {
    margin-top: 14px;
  }
}

@media (min-width: 900px) {
  .page-news .news-cover {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.78fr);
    align-items: end;
  }
}

@media (min-width: 960px) {
  .page-news .news-body {
    grid-template-columns: var(--news-rail-w) minmax(0, 1fr);
    align-items: start;
  }
  .page-news .news-rail {
    position: sticky;
    top: 84px;
  }
  .page-news .tagbar {
    flex-direction: column;
    align-items: stretch;
  }
  .page-news .tagbar__item {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry {
    animation: none;
  }
  .page-news .meter__fill {
    transition: none;
  }
  .page-news .timeline__tip {
    transition: none;
  }
}

.page-news {
  --v: 1rem;
}
