.page-news {
  background: var(--jade-white);
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--jade-white);
  padding: clamp(20px, 4vw, 36px) 0 clamp(44px, 9vw, 96px);
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .news-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .32;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -34%;
  right: -14%;
  width: 66%;
  height: 178%;
  background: linear-gradient(155deg, var(--red) 0%, var(--red-deep) 74%);
  transform: rotate(-8deg);
  opacity: .86;
  border-radius: 6px 140px 6px 140px;
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -8%;
  bottom: -34%;
  width: 38%;
  height: 96%;
  background: radial-gradient(circle at 42% 42%, rgba(216, 169, 74, .36), transparent 68%);
  pointer-events: none;
}

.page-news .news-hero__inner {
  position: relative;
  z-index: 2;
}

.page-news .news-hero .crumbs__link,
.page-news .news-hero .crumbs__sep,
.page-news .news-hero .crumbs__item,
.page-news .news-hero .crumbs__current {
  color: rgba(246, 241, 231, .76);
}

.page-news .news-hero .crumbs__link:hover {
  color: var(--gold);
}

.page-news .news-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: clamp(20px, 4vw, 34px) 0 0;
}

.page-news .news-hero__stamp {
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(246, 241, 231, .7);
}

.page-news .news-hero__title {
  margin: 16px 0 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: .02em;
}

.page-news .news-hero__lede {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(246, 241, 231, .9);
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vw, 32px);
}

/* ---------- 章节锚点 ---------- */
.page-news .page-news__anchors {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-news .page-news__anchors .shell {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.page-news .page-news__anchors .anchor-nav__link {
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--r-chip);
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.page-news .page-news__anchors .anchor-nav__link:hover {
  background: var(--jade-white);
  border-color: var(--gold);
  color: var(--red);
}

.page-news .page-news__anchors .anchor-nav__link[aria-current] {
  background: var(--red);
  color: var(--jade-white);
  border-color: var(--red-deep);
}

/* ---------- 章节通用 ---------- */
.page-news .news-section {
  position: relative;
  padding: clamp(38px, 7vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.page-news .news-section:first-of-type {
  border-top: 0;
}

.page-news .news-section__lede {
  max-width: 40em;
  margin: 0 0 clamp(20px, 3.4vw, 34px);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .74);
}

.page-news .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.page-news .section-head__index {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--gold);
  line-height: 1;
}

.page-news .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: .015em;
}

.page-news .section-head .vert-note {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--red);
  padding-bottom: 3px;
}

.page-news .news-figure {
  margin: 0 0 clamp(24px, 4vw, 40px);
  border-radius: var(--r-organic);
  overflow: hidden;
  background: var(--ink-2);
}

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

.page-news .news-island {
  margin-top: clamp(24px, 4vw, 36px);
}

.page-news .news-island p {
  margin: 0;
  line-height: 1.8;
  font-size: 15px;
}

.page-news .news-island a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

/* ---------- 公告列表 ---------- */
.page-news .notice-list {
  border-top: 1px solid var(--line);
}

.page-news .notice-row {
  border-bottom: 1px solid var(--line);
  transition: background 160ms var(--ease);
}

.page-news .notice-row:hover {
  background: rgba(216, 169, 74, .1);
}

.page-news .notice-row__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "id time"
    "title title"
    "tag tag";
  gap: 6px 12px;
  align-items: center;
  padding: 16px 30px 16px 2px;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.page-news .notice-row__head::-webkit-details-marker {
  display: none;
}

.page-news .notice-row__head::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 22px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 2px 5px 2px 5px;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.page-news .notice-row[open] .notice-row__head::after {
  transform: rotate(135deg);
  background: var(--red);
}

.page-news .notice-row__id {
  grid-area: id;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .04em;
}

.page-news .notice-row__title {
  grid-area: title;
  font-size: clamp(15px, 2.4vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-news .notice-row__head .tag {
  grid-area: tag;
  justify-self: start;
}

.page-news .notice-row__time {
  grid-area: time;
  font-size: 12px;
  color: rgba(22, 17, 15, .55);
  white-space: nowrap;
}

.page-news .notice-row__body {
  padding: 0 30px 20px 2px;
  max-width: 46em;
}

.page-news .notice-row__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(22, 17, 15, .78);
}

/* ---------- 时间轴 ---------- */
.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(216, 169, 74, .18) 100%);
}

.page-news .timeline__item {
  position: relative;
  padding: 0 0 30px 44px;
}

.page-news .timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .timeline__node {
  position: absolute;
  left: 5px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--amber-grad);
  border-radius: 3px 9px 3px 9px;
  box-shadow: 0 0 0 5px rgba(233, 185, 92, .2);
}

.page-news .timeline__card {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-organic);
  padding: 18px 20px 20px;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-news .timeline__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.page-news .timeline__period {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--red);
  font-weight: 600;
}

.page-news .timeline__name {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.3;
}

.page-news .timeline__span {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(22, 17, 15, .7);
}

.page-news .timeline__changes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .timeline__changes li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 标签矩阵 ---------- */
.page-news .tag-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-organic);
  overflow: hidden;
}

.page-news .tag-cell {
  background: var(--jade-white);
  padding: 20px 18px 22px;
  transition: background 160ms var(--ease);
}

.page-news .tag-cell:hover {
  background: var(--paper);
}

.page-news .tag-cell__name {
  margin: 12px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
}

.page-news .tag-cell__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(22, 17, 15, .8);
}

.page-news .tag-cell__how {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(22, 17, 15, .62);
}

/* ---------- 版本更新 ---------- */
.page-news .version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .version-item {
  background: var(--jade-white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 20px 4px 22px;
}

.page-news .version-item__no {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--red);
}

.page-news .version-item__body h3 {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
}

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

.page-news .version-item__body li {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(22, 17, 15, .78);
}

.page-news .version-aside {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  align-content: start;
}

.page-news .version-aside .news-figure {
  margin: 0;
}

.page-news .version-aside .island p {
  color: rgba(22, 17, 15, .8);
}

.page-news .version-aside .island a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

/* ---------- 往回翻 ---------- */
.page-news .archive-paths {
  align-self: start;
}

.page-news .archive-paths__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
}

.page-news .archive-paths__list {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-news .archive-paths__row dt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-news .archive-paths__row dd {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 241, 231, .82);
}

.page-news .archive-paths__cta {
  margin: 20px 0 0;
}

/* ---------- 阅读场景 ---------- */
.page-news .news-section--dark {
  background: var(--ink);
  color: var(--jade-white);
  border-top: 0;
}

.page-news .news-section--dark .section-head__title {
  color: var(--jade-white);
}

.page-news .news-section--dark .section-head .vert-note {
  color: var(--gold);
}

.page-news .scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(246, 241, 231, .16);
  border: 1px solid rgba(246, 241, 231, .16);
  border-radius: var(--r-organic);
  overflow: hidden;
  margin-top: clamp(22px, 4vw, 34px);
}

.page-news .scenario-card {
  background: var(--ink-2);
  padding: 24px 20px 26px;
  transition: background 160ms var(--ease);
}

.page-news .scenario-card:hover {
  background: #2c211d;
}

.page-news .scenario-card__who {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-news .scenario-card__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.35;
  color: var(--jade-white);
}

.page-news .scenario-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 241, 231, .8);
}

.page-news .scenario-card__link {
  margin-top: 16px;
}

.page-news .scenario-card__link a {
  font-size: 13.5px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-news .scenario-card__link a:hover {
  color: var(--amber-a);
  border-color: var(--amber-a);
}

.page-news .scenarios__foot {
  margin: clamp(24px, 4vw, 34px) 0 0;
  max-width: 42em;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(246, 241, 231, .6);
}

/* ---------- 焦点反馈 ---------- */
.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-news .notice-row__head {
    grid-template-columns: minmax(96px, 116px) 1fr auto auto;
    grid-template-areas: "id title tag time";
    gap: 14px;
    padding-right: 34px;
  }

  .page-news .notice-row__head::after {
    top: 50%;
    transform: translateY(-50%);
  }

  .page-news .notice-row[open] .notice-row__head::after {
    transform: translateY(-50%) rotate(135deg);
  }

  .page-news .notice-row__head .tag {
    justify-self: end;
  }

  .page-news .notice-row__time {
    text-align: right;
    min-width: 72px;
  }

  .page-news .tag-matrix {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .version-item {
    grid-template-columns: minmax(110px, 140px) 1fr;
    align-items: start;
    gap: 6px 24px;
    padding: 24px 6px 26px;
  }

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

@media (min-width: 900px) {
  .page-news .timeline::before {
    left: 50%;
    transform: translateX(-1px);
  }

  .page-news .timeline__item {
    width: 50%;
    padding: 0 0 40px;
  }

  .page-news .timeline__item:nth-child(odd) {
    padding-right: 52px;
    text-align: right;
  }

  .page-news .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding-left: 52px;
  }

  .page-news .timeline__item:nth-child(odd) .timeline__node {
    left: auto;
    right: -9px;
  }

  .page-news .timeline__item:nth-child(even) .timeline__node {
    left: -9px;
  }

  .page-news .timeline__card {
    border-left: 0;
    border-right: 3px solid var(--gold);
  }

  .page-news .timeline__item:nth-child(even) .timeline__card {
    border-left: 3px solid var(--gold);
    border-right: 0;
  }

  .page-news .timeline__item:nth-child(odd) .timeline__changes li {
    justify-content: flex-end;
  }

  .page-news .tag-matrix {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-news .news-hero {
    padding-bottom: clamp(72px, 9vw, 104px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .timeline__card:hover,
  .page-news .notice-row__head::after {
    transform: none;
    transition: opacity 160ms linear;
  }

  .page-news .notice-row[open] .notice-row__head::after {
    transform: rotate(135deg);
  }
}
