.page-news {
  --news-rule: rgba(31, 58, 46, 0.14);
  --news-rule-soft: rgba(31, 58, 46, 0.08);
  --news-pad: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  padding-bottom: 80px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .page-news {
    --news-pad: 40px;
  }
}

.page-news .breadcrumb {
  padding: 20px 0 0;
}

.page-news .breadcrumb-list {
  font-size: 13px;
}

/* 首屏 */
.page-news .news-hero {
  display: grid;
  gap: 28px;
  padding: 28px 0 48px;
}

.page-news .eyebrow {
  margin: 0 0 6px;
}

.page-news .issue-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 16px;
}

.page-news .issue-num {
  font-family: var(--font-mono);
  font-size: clamp(64px, 15vw, 120px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(transparent 76%, var(--amber-soft) 76%);
  padding-right: 6px;
}

.page-news .issue-unit {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--pine-mid);
  letter-spacing: 0.02em;
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
  margin: 0 0 16px;
  max-width: 16em;
}

.page-news .news-hero .lede {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 34em;
}

.page-news .hero-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--pine-mid);
  border-left: 3px solid var(--amber);
  padding-left: 12px;
  font-variant-numeric: tabular-nums;
}

.page-news .hero-figure {
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
    align-items: center;
    padding: 40px 0 72px;
  }

  .page-news .hero-figure {
    margin-top: 44px;
  }
}

/* 当前周期 */
.page-news .cycle-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--pine);
  color: var(--paper);
  padding: 32px var(--news-pad) 34px;
  margin-bottom: 72px;
}

.page-news .cycle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.7);
  z-index: -1;
}

.page-news .cycle-inner {
  position: relative;
}

.page-news .cycle-board .eyebrow {
  color: var(--amber-soft);
}

.page-news .cycle-lede {
  margin: 8px 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(251, 248, 242, 0.86);
  max-width: 38em;
}

.page-news .cycle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-news .cycle-item {
  padding: 18px 0 20px;
  border-top: 1px solid rgba(251, 248, 242, 0.18);
}

.page-news .cycle-item:first-child {
  border-top: none;
  padding-top: 0;
}

.page-news .cycle-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(242, 184, 75, 0.18);
  color: var(--amber-soft);
}

.page-news .cycle-item--current .cycle-badge {
  background: var(--amber);
  color: var(--pine-deep);
}

.page-news .cycle-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--amber-soft);
  letter-spacing: -0.01em;
}

.page-news .cycle-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(251, 248, 242, 0.8);
}

@media (min-width: 860px) {
  .page-news .cycle-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .page-news .cycle-item {
    border-top: none;
    padding: 0 0 0 24px;
    border-left: 1px solid rgba(251, 248, 242, 0.18);
  }

  .page-news .cycle-item:first-child {
    padding-left: 0;
    border-left: none;
  }
}

/* 归档列表 */
.page-news .archive {
  padding-bottom: 72px;
}

.page-news .archive-layout {
  display: grid;
  gap: 24px;
}

.page-news .archive-rail {
  display: none;
}

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

.page-news .rail-item {
  position: relative;
  padding-left: 16px;
  display: grid;
  gap: 3px;
}

.page-news .rail-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: var(--news-rule);
}

.page-news .rail-item.is-current::before {
  background: var(--amber);
}

.page-news .rail-num {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-news .rail-item.is-current .rail-num {
  color: var(--pine);
  font-size: 24px;
  font-weight: 600;
}

.page-news .rail-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (min-width: 960px) {
  .page-news .archive-layout {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 56px;
  }

  .page-news .archive-rail {
    display: block;
    position: sticky;
    top: 128px;
    align-self: start;
  }
}

.page-news .archive-group + .archive-group {
  margin-top: 52px;
}

.page-news .group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--news-rule);
}

.page-news .group-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--pine-deep);
  letter-spacing: -0.01em;
}

.page-news .group-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.page-news .record {
  background: var(--paper);
  border: 1px solid var(--news-rule);
  border-radius: var(--r-md);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.page-news .record + .record {
  margin-top: 12px;
}

.page-news .record:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.page-news .record[open] {
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(31, 58, 46, 0.07);
}

.page-news .record > summary {
  display: grid;
  gap: 8px;
  padding: 18px 46px 18px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  border-radius: var(--r-md);
}

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

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

.page-news .record-pill {
  justify-self: start;
  font-size: 12px;
  line-height: 1.5;
}

.page-news .tag--pine {
  background: var(--pine);
  color: var(--paper);
}

.page-news .tag--amber {
  background: var(--amber-soft);
  color: var(--pine-deep);
}

.page-news .tag--line {
  background: transparent;
  border: 1px solid var(--news-rule);
  color: var(--pine-mid);
}

.page-news .record-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--pine-deep);
  letter-spacing: -0.01em;
}

.page-news .record-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.page-news .record-toggle {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 16px;
  height: 16px;
}

.page-news .record-toggle::before,
.page-news .record-toggle::after {
  content: "";
  position: absolute;
  background: var(--pine-mid);
  border-radius: 2px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-news .record-toggle::before {
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
}

.page-news .record-toggle::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
}

.page-news .record[open] .record-toggle::after {
  transform: scaleY(0);
}

.page-news .record-body {
  padding: 16px 20px 22px;
  border-top: 1px dashed var(--news-rule);
}

.page-news .record-body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 40em;
}

.page-news .record-body p:last-child {
  margin-bottom: 0;
}

.page-news .record-body .data-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (min-width: 780px) {
  .page-news .record > summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    padding: 20px 52px 20px 24px;
  }

  .page-news .record-time {
    justify-self: end;
  }

  .page-news .record-body {
    padding: 16px 24px 24px;
  }
}

/* 五项检查 */
.page-news .checks {
  padding-bottom: 72px;
}

.page-news .section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
  margin: 8px 0 12px;
  max-width: 18em;
}

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

.page-news .checks-lede,
.page-news .lookback-lede,
.page-news .next-lede {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 36em;
}

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

.page-news .check-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--news-rule-soft);
}

.page-news .check-item:first-child {
  border-top: none;
  padding-top: 0;
}

.page-news .check-ring {
  width: 40px;
  height: 40px;
  display: block;
}

.page-news .check-ring circle {
  fill: none;
  stroke-width: 4;
}

.page-news .check-ring .ring-track {
  stroke: rgba(31, 58, 46, 0.14);
}

.page-news .check-ring .ring-fill {
  stroke: var(--amber);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.page-news .check-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--pine-deep);
}

.page-news .check-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34em;
}

.page-news .checks-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

@media (min-width: 900px) {
  .page-news .checks-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .checks-figure {
    margin-top: 56px;
  }
}

/* 按版本回溯 */
.page-news .lookback {
  padding-bottom: 72px;
}

.page-news .lookback-grid {
  display: grid;
  gap: 28px;
}

.page-news .lookback-figure {
  margin: 0;
  aspect-ratio: 10 / 7;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.page-news .step-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-news .step-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.page-news .step-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 30px;
  height: 30px;
  text-align: center;
  color: var(--pine);
  background: var(--peach);
  border-radius: var(--r-pill);
  font-variant-numeric: tabular-nums;
}

.page-news .step-body h3 {
  margin: 2px 0 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--pine-deep);
}

.page-news .step-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34em;
}

.page-news .lookback-note {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .lookback-note a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .page-news .lookback-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: center;
  }
}

/* 下一期 */
.page-news .next-up {
  background: linear-gradient(155deg, var(--peach) 0%, var(--amber-soft) 100%);
  border-radius: var(--r-lg);
  padding: 32px var(--news-pad) 34px;
}

.page-news .next-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
  margin: 6px 0 10px;
}

.page-news .next-lede {
  margin: 0 0 26px;
  max-width: 34em;
}

.page-news .next-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-news .next-list li {
  background: rgba(251, 248, 242, 0.72);
  border: 1px solid rgba(31, 58, 46, 0.1);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
}

.page-news .next-list h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--pine-deep);
}

.page-news .next-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-news .next-foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 58, 46, 0.16);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 46em;
}

.page-news .next-foot a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

@media (min-width: 760px) {
  .page-news .next-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .record,
  .page-news .record-toggle::before,
  .page-news .record-toggle::after {
    transition: none;
  }

  .page-news .record:hover {
    transform: none;
  }
}
