.page-news {
  --news-paper: var(--stone-white);
  --news-paper-line: rgba(16, 18, 22, .12);
  --news-rail: rgba(201, 138, 75, .35);
  color: var(--stone-white);
}

.page-news img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏框景 ---------- */
.page-news .news-hero {
  padding: 20px 0 8px;
}

.page-news .hero-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 0;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, var(--line-grid) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, var(--line-grid) 0 1px, transparent 1px 34px),
    linear-gradient(158deg, var(--ink-1) 0%, var(--ink-0) 68%);
}

.page-news .hero-frame::before,
.page-news .hero-frame::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1px solid var(--wood);
  opacity: .55;
  pointer-events: none;
}

.page-news .hero-frame::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.page-news .hero-frame::after {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

.page-news .hero-frame__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-news .hero-frame__meta {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--stone-gray);
}

.page-news .hero-frame__body {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 26px 0 30px;
}

.page-news .hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  color: var(--stone-white);
}

.page-news .hero-copy .lede {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 241, 234, .82);
  max-width: 40em;
  margin: 0 0 22px;
}

.page-news .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .hero-stamp {
  align-self: start;
  border: 1px dashed var(--wood);
  border-radius: 12px;
  padding: 18px 16px;
  background: rgba(22, 32, 74, .72);
}

.page-news .hero-stamp__label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--wood-hi);
  margin: 0 0 6px;
}

.page-news .hero-stamp__ver {
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}

.page-news .hero-stamp .btn {
  width: 100%;
}

.page-news .hero-stamp__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone-gray);
  margin: 12px 0 0;
}

.page-news .hero-stats {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 16px 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  border-top: 1px solid var(--line);
}

.page-news .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .hero-stats .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--cyan);
}

.page-news .hero-stats__k {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--stone-gray);
}

/* ---------- 章节头 ---------- */
.page-news .sec-head {
  max-width: 44em;
  margin-bottom: 26px;
}

.page-news .sec-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.24;
  margin: 10px 0 12px;
  color: var(--stone-white);
}

.page-news .sec-head__lead {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 241, 234, .74);
  margin: 0;
}

/* ---------- 变更条目 ---------- */
.page-news #log {
  background:
    linear-gradient(180deg, rgba(22, 32, 74, .75), rgba(14, 22, 51, 0) 78%);
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-news .filter-btn {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--stone-gray);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-news .filter-btn:hover {
  color: var(--stone-white);
  border-color: var(--wood);
}

.page-news .filter-btn.is-active,
.page-news .filter-btn[aria-pressed="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(56, 242, 208, .08);
}

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

.page-news .log-main {
  display: grid;
  gap: 12px;
}

.page-news .log-entry {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(29, 42, 94, .5);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-news .log-entry:nth-child(3n + 2) {
  margin-left: 0;
}

.page-news .log-entry[open] {
  border-color: var(--wood);
  background: rgba(29, 42, 94, .82);
}

.page-news .log-entry.is-filtered-out {
  display: none;
}

.page-news .log-entry > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "ver title tag"
    "meta meta meta";
  align-items: center;
  gap: 6px 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .log-entry__ver {
  grid-area: ver;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.page-news .log-entry__title {
  grid-area: title;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--stone-white);
}

.page-news .log-entry__meta {
  grid-area: meta;
  font-size: 12px;
  color: var(--stone-gray);
}

.page-news .log-entry > summary .tag {
  grid-area: tag;
  justify-self: end;
}

.page-news .log-entry__body {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--line);
  margin-top: 2px;
}

.page-news .log-entry__body p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(244, 241, 234, .78);
  margin: 12px 0 0;
}

.page-news .tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.page-news .tag--settle {
  color: var(--wood-hi);
}

.page-news .tag--play {
  color: var(--violet);
}

.page-news .tag--mobile {
  color: var(--cyan);
}

.page-news .tag--file {
  color: var(--gold);
}

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

.page-news .news-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-1);
}

.page-news .news-figure img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-news .news-figure--wide img {
  aspect-ratio: 2 / 1;
}

.page-news .news-figure--square img {
  aspect-ratio: 1 / 1;
}

.page-news .news-figure__cap {
  font-size: 12px;
  line-height: 1.6;
  color: var(--stone-gray);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(14, 22, 51, .7);
}

.page-news .log-side__note {
  border-left: 2px solid var(--wood);
  padding: 4px 0 4px 16px;
}

.page-news .log-side__t {
  font-size: 15px;
  font-weight: 700;
  color: var(--stone-white);
  margin: 0 0 6px;
}

.page-news .log-side__note p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone-gray);
  margin: 0 0 12px;
}

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

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--wood) 0%, var(--news-rail) 45%, rgba(56, 242, 208, .5) 100%);
}

.page-news .timeline__node {
  position: relative;
  padding-bottom: 10px;
}

.page-news .timeline__node::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-0);
  border: 2px solid var(--gold);
}

.page-news .timeline__node--now::before {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56, 242, 208, .16);
}

.page-news .timeline__item {
  border: 1px solid transparent;
  border-radius: 10px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-news .timeline__item[open] {
  border-color: var(--line);
  background: rgba(29, 42, 94, .55);
}

.page-news .timeline__item > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .timeline__ver {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  min-width: 62px;
}

.page-news .timeline__node--now .timeline__ver {
  color: var(--cyan);
}

.page-news .timeline__sum {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 241, 234, .86);
  flex: 1 1 200px;
}

.page-news .timeline__body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--stone-gray);
  margin: 0;
  padding: 0 12px 14px 88px;
}

/* ---------- 规则调整解读（浅底） ---------- */
.page-news .section--paper {
  background: var(--news-paper);
  color: var(--stone-ink);
  border-top: 1px solid var(--news-paper-line);
  border-bottom: 1px solid var(--news-paper-line);
}

.page-news .section--paper .sec-head h2 {
  color: var(--stone-ink);
}

.page-news .section--paper .sec-head__lead {
  color: rgba(16, 18, 22, .72);
}

.page-news .section--paper .eyebrow {
  color: #8a5f2c;
}

.page-news .change-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.page-news .change-card {
  background: #fff;
  border: 1px solid var(--news-paper-line);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 0 rgba(16, 18, 22, .04);
}

.page-news .change-card__tag {
  font-size: 12px;
  letter-spacing: .04em;
  color: #8a5f2c;
  margin: 0 0 10px;
}

.page-news .change-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.35;
  color: var(--stone-ink);
  margin: 0 0 12px;
}

.page-news .change-card > p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(16, 18, 22, .76);
  margin: 0 0 16px;
}

.page-news .change-rows {
  margin: 0;
  border-top: 1px dashed var(--news-paper-line);
}

.page-news .change-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--news-paper-line);
}

.page-news .change-row dt {
  font-size: 13px;
  color: #8a5f2c;
  font-weight: 600;
}

.page-news .change-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(16, 18, 22, .8);
}

.page-news .section--paper .news-figure {
  border-color: var(--news-paper-line);
  background: #fff;
}

.page-news .section--paper .news-figure__cap {
  background: #fff;
  border-top-color: var(--news-paper-line);
  color: rgba(16, 18, 22, .6);
}

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

/* ---------- 赛季专题 ---------- */
.page-news .season-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.page-news .season-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  background: rgba(29, 42, 94, .45);
}

.page-news .season-card--now {
  border-color: rgba(56, 242, 208, .45);
  background: linear-gradient(160deg, rgba(56, 242, 208, .1), rgba(29, 42, 94, .5));
}

.page-news .season-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-news .season-card__head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin: 0;
  color: var(--stone-white);
}

.page-news .season-card__week {
  font-size: 12px;
  color: var(--stone-gray);
}

.page-news .season-card--now .season-card__week {
  color: var(--cyan);
}

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

.page-news .season-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 241, 234, .8);
}

.page-news .season-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--wood);
}

/* ---------- 更新与回看 ---------- */
.page-news .revisit-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.page-news .revisit-card {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

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

.page-news .revisit-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--stone-white);
}

.page-news .revisit-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--stone-gray);
  margin: 0;
}

.page-news .revisit-cta {
  border: 1px dashed var(--wood);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: rgba(22, 32, 74, .6);
}

.page-news .revisit-cta p {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(244, 241, 234, .84);
  margin: 0 0 16px;
  max-width: 40em;
}

.page-news .revisit-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 760px) {
  .page-news .hero-frame {
    padding: 26px 30px 0;
  }

  .page-news .hero-copy h1 {
    font-size: 42px;
  }

  .page-news .hero-frame__body {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
    gap: 32px;
    padding: 32px 0 34px;
  }

  .page-news .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .page-news .sec-head h2 {
    font-size: 30px;
  }

  .page-news .timeline__body {
    padding-left: 92px;
  }

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

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

  .page-news .revisit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }
}

@media (min-width: 1040px) {
  .page-news .news-hero {
    padding-top: 28px;
  }

  .page-news .hero-copy h1 {
    font-size: 52px;
  }

  .page-news .log-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-news .log-entry:nth-child(3n + 2) {
    margin-left: 18px;
  }

  .page-news .log-entry:nth-child(3n + 3) {
    margin-left: 9px;
  }

  .page-news .log-entry > summary {
    grid-template-columns: 78px 1fr auto;
    grid-template-areas:
      "ver title tag"
      "ver meta tag";
    align-items: start;
    padding: 16px 18px;
  }

  .page-news .log-entry__ver {
    padding-top: 2px;
  }

  .page-news .log-entry > summary .tag {
    align-self: start;
  }

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

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

  .page-news .news-figure--square {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .log-entry,
  .page-news .timeline__item,
  .page-news .filter-btn {
    transition: none;
  }
}
