.page-news {
  --news-hair: rgba(140, 106, 47, 0.36);
  --news-hair-soft: rgba(140, 106, 47, 0.2);
  --news-body: rgba(242, 237, 228, 0.76);
  --news-body-strong: rgba(242, 237, 228, 0.86);
  color: var(--mist);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 58%, #0c1626 100%);
}

/* ---------- 索引头 ---------- */
.page-news .news-mast {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 5vw, 42px) 0 clamp(30px, 6vw, 66px);
  border-bottom: 1px solid var(--line-hard);
}

.page-news .news-mast-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-news .news-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(130% 100% at 12% 0%, rgba(30, 49, 72, 0.78) 0%, rgba(15, 27, 45, 0.97) 64%),
    repeating-linear-gradient(90deg, rgba(140, 106, 47, 0.14) 0 1px, transparent 1px 64px);
}

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: clamp(24px, 5vw, 52px);
}

.page-news .breadcrumb-link {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-news .breadcrumb-link:hover,
.page-news .breadcrumb-link:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: currentColor;
}

.page-news .breadcrumb-sep {
  color: var(--line-hard);
}

.page-news .breadcrumb-current {
  color: var(--gold);
}

.page-news h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 6.2vw, 60px);
  line-height: 1.16;
  letter-spacing: 0.03em;
  font-weight: 800;
  max-width: 18ch;
  color: var(--mist);
}

.page-news .news-lead {
  margin: clamp(16px, 3vw, 24px) 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--news-body-strong);
}

.page-news .news-mast-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-hair);
  max-width: 760px;
}

.page-news .news-mast-facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--news-hair-soft);
}

.page-news .news-fact-num {
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1.2;
}

.page-news .news-fact-label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ---------- 栏目轨道 ---------- */
.page-news .news-filters {
  position: sticky;
  top: 0;
  z-index: 6;
  border-bottom: 1px solid var(--news-hair);
  background: rgba(15, 27, 45, 0.94);
  backdrop-filter: blur(8px);
}

.page-news .news-filters-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .news-filters-inner::-webkit-scrollbar {
  display: none;
}

.page-news .news-filters-label {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--line-hard);
  padding-right: 14px;
  border-right: 1px solid var(--news-hair);
}

.page-news .news-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-track a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--news-body);
  text-decoration: none;
  border: 1px solid var(--news-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-news .news-track a:hover,
.page-news .news-track a:focus-visible {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- 章节骨架 ---------- */
.page-news .news-section {
  padding-block: clamp(40px, 7vw, 88px);
  scroll-margin-top: 68px;
}

.page-news .news-section--alt {
  background: linear-gradient(
    180deg,
    rgba(22, 37, 58, 0) 0%,
    rgba(22, 37, 58, 0.72) 10%,
    rgba(22, 37, 58, 0.72) 90%,
    rgba(22, 37, 58, 0) 100%
  );
}

.page-news .news-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 3vw, 28px);
  margin-bottom: clamp(24px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--news-hair);
}

.page-news .index-num {
  flex: 0 0 auto;
  font-size: clamp(40px, 9vw, 86px);
  line-height: 0.82;
  font-weight: 200;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-hard);
}

.page-news h2 {
  margin: 8px 0 0;
  font-size: clamp(21px, 3.4vw, 33px);
  line-height: 1.26;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--mist);
}

.page-news .news-head-text > p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--news-body);
}

/* ---------- 版本记录 ---------- */
.page-news .news-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.page-news .news-entries {
  border-top: 1px solid var(--news-hair);
  min-width: 0;
}

.page-news .entry {
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .entry > summary {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas:
    "no tag time"
    "title title title";
  align-items: center;
  gap: 8px 10px;
  padding: 16px 4px 16px 0;
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast) var(--ease);
}

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

.page-news .entry > summary:hover {
  background: rgba(212, 162, 76, 0.06);
}

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

.page-news .entry-no {
  grid-area: no;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--line-hard);
}

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

.page-news .entry-title {
  grid-area: title;
  font-size: clamp(15px, 1.9vw, 17.5px);
  line-height: 1.55;
  font-weight: 600;
  color: var(--mist);
  transition: color var(--t-fast) var(--ease);
}

.page-news .entry[open] .entry-title {
  color: var(--gold-soft);
}

.page-news .entry-time {
  grid-area: time;
  justify-self: end;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  border-bottom: 1px dashed var(--news-hair);
  white-space: nowrap;
}

.page-news .entry-body {
  margin: 0 0 22px 2px;
  padding-left: 14px;
  border-left: 1px solid var(--news-hair);
}

.page-news .entry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--news-hair-soft);
  background: rgba(30, 49, 72, 0.55);
}

.page-news .entry-fields dt {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.page-news .entry-fields dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mist);
  word-break: break-word;
}

.page-news .entry-body p {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--news-body);
}

/* ---------- 图版 ---------- */
.page-news .news-figure {
  margin: 0;
  border: 1px solid var(--news-hair);
  background: var(--navy-2);
  min-width: 0;
}

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

.page-news .news-figure figcaption {
  padding: 10px 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--slate);
  border-top: 1px solid var(--news-hair-soft);
}

.page-news .news-figure--wide img {
  max-height: 260px;
}

/* ---------- 攻略合集 ---------- */
.page-news .guides-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
}

.page-news .news-figure--cover img {
  max-height: 360px;
}

.page-news .guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-hair);
  min-width: 0;
}

.page-news .guide-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "topic tag"
    "title title";
  align-items: center;
  gap: 8px 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .guide-topic {
  grid-area: topic;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ochre);
  border-left: 2px solid var(--ochre);
  padding-left: 8px;
  white-space: nowrap;
}

.page-news .guide-title {
  grid-area: title;
  font-size: clamp(14.5px, 1.8vw, 16.5px);
  line-height: 1.6;
  color: var(--mist);
}

.page-news .guide-tag {
  grid-area: tag;
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
  white-space: nowrap;
}

/* ---------- 专题与系列 ---------- */
.page-news .series-list {
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-hair);
}

.page-news .series-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "desc desc";
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--news-hair-soft);
}

.page-news .series-no {
  grid-area: no;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-news .series-item h3 {
  grid-area: name;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-news .series-item p {
  grid-area: desc;
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--news-body);
}

/* ---------- 收录进度 ---------- */
.page-news .news-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--news-hair);
  background: linear-gradient(140deg, rgba(30, 49, 72, 0.94) 0%, rgba(15, 27, 45, 0.94) 64%);
}

.page-news .news-progress-text {
  min-width: 0;
}

.page-news .news-progress h2 {
  max-width: 22ch;
}

.page-news .news-progress-text p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--news-body-strong);
}

.page-news .news-progress-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- 供稿与纠错 ---------- */
.page-news .news-coop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .news-coop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--news-hair);
  background: rgba(22, 37, 58, 0.72);
}

.page-news .news-coop-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-news .news-coop-card p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.85;
  color: var(--news-body);
}

.page-news .news-coop-card .btn {
  align-self: flex-start;
}

.page-news .news-tail {
  margin: clamp(22px, 4vw, 34px) 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--slate);
}

.page-news .news-tail a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-hard);
  transition: color var(--t-fast) var(--ease);
}

.page-news .news-tail a:hover,
.page-news .news-tail a:focus-visible {
  color: var(--gold);
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-news .news-coop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-news .news-mast-facts li {
    border-bottom: 1px solid var(--news-hair-soft);
  }

  .page-news .entry > summary {
    grid-template-columns: 42px auto minmax(0, 1fr) auto;
    grid-template-areas: "no tag title time";
    align-items: baseline;
    gap: 10px 16px;
    padding: 18px 0;
  }

  .page-news .series-item {
    grid-template-columns: 56px 190px minmax(0, 1fr);
    grid-template-areas: "no name desc";
    gap: 16px;
    align-items: baseline;
  }

  .page-news .news-figure--wide img {
    max-height: 320px;
  }
}

@media (min-width: 860px) {
  .page-news .guides-layout {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .news-progress {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: 44px;
  }
}

@media (min-width: 980px) {
  .page-news .news-split {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-track a,
  .page-news .entry-title,
  .page-news .entry > summary,
  .page-news .news-tail a {
    transition: none;
  }
}
