.page-news {
  --n-line: rgba(127, 169, 184, 0.32);
  --n-dark-line: rgba(127, 169, 184, 0.28);
  background: var(--c-fog);
  color: var(--c-night);
  overflow-x: hidden;
}

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

.page-news .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-size: 12px;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  padding: calc(var(--header-h) + 22px) 0 clamp(56px, 7vw, 92px);
  color: var(--c-fog);
  background:
    radial-gradient(130% 100% at 8% -10%, rgba(127, 169, 184, 0.38), rgba(46, 37, 71, 0) 60%),
    radial-gradient(90% 80% at 100% 108%, rgba(216, 164, 92, 0.22), rgba(46, 37, 71, 0) 62%),
    linear-gradient(165deg, #241d3b 0%, var(--c-violet) 55%, #191428 100%);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1px;
  height: 64px;
  background: var(--c-fog);
  clip-path: polygon(0 64%, 17% 38%, 33% 58%, 51% 26%, 69% 54%, 86% 32%, 100% 60%, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-news .news-hero .breadcrumb a {
  color: rgba(238, 241, 242, 0.74);
  text-decoration: none;
}

.page-news .news-hero .breadcrumb a:hover {
  color: var(--c-gold);
}

.page-news .news-hero .breadcrumb__item {
  color: rgba(238, 241, 242, 0.56);
}

.page-news .news-hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  margin-top: clamp(20px, 4vw, 40px);
}

.page-news .news-hero__lead .mono-label {
  color: var(--c-gold);
}

.page-news .news-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #f8fbfc;
}

.page-news .news-hero__intro {
  margin: 18px 0 0;
  max-width: 33em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(238, 241, 242, 0.82);
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-news .news-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(238, 241, 242, 0.74);
}

.page-news .news-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--c-gold);
}

.page-news .news-hero__facts .mono {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-news .news-hero__figure {
  margin: 0;
  border: 2px solid rgba(127, 169, 184, 0.55);
  box-shadow: 10px 10px 0 0 rgba(21, 24, 35, 0.55);
  background: linear-gradient(150deg, rgba(127, 169, 184, 0.22), rgba(21, 24, 35, 0.6));
}

.page-news .news-hero__figure img {
  width: 100%;
  object-fit: cover;
}

.page-news .news-hero__figure figcaption {
  padding: 9px 12px;
  border-top: 1px solid rgba(127, 169, 184, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(238, 241, 242, 0.7);
}

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

/* ---------- 目录式列表 ---------- */
.page-news .news-stream {
  background: var(--c-fog);
  padding-top: clamp(24px, 4vw, 40px);
}

.page-news .news-layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-news .news-index .mono-label {
  display: block;
}

.page-news .news-index__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-silver);
}

.page-news .news-index__list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--c-silver);
  font-size: 15px;
  color: var(--c-night);
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.page-news .news-index__list a:hover {
  color: var(--c-teal);
  padding-left: 8px;
}

.page-news .news-index__list .mono {
  color: var(--c-teal);
}

.page-news .news-index__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-gray);
}

.page-news .news-index__note a {
  color: var(--c-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

  .page-news .news-index {
    position: sticky;
    top: calc(var(--header-h-scrolled) + 20px);
  }
}

.page-news .news-list__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: -0.02em;
}

.page-news .news-list__head p {
  margin: 0 0 18px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-gray);
}

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

.page-news .chip {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid var(--c-night);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-night);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-news .chip:hover {
  background: var(--c-night);
  color: var(--c-fog);
  transform: translateY(-2px);
}

.page-news .entry-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--c-night);
}

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

.page-news .entry__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-areas:
    "batch plus"
    "title plus"
    "tags plus";
  gap: 6px 16px;
  align-items: start;
  padding: 20px 4px 20px 0;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s var(--ease), padding-left 0.18s var(--ease);
}

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

.page-news .entry__summary:hover {
  background: rgba(127, 169, 184, 0.14);
  padding-left: 10px;
}

.page-news .entry__batch {
  grid-area: batch;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--c-teal);
}

.page-news .entry__title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.45;
  color: var(--c-night);
}

.page-news .entry__tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .entry__plus {
  grid-area: plus;
  align-self: center;
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--c-night);
  border-radius: 2px;
}

.page-news .entry__plus::before,
.page-news .entry__plus::after {
  content: "";
  position: absolute;
  background: var(--c-night);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.page-news .entry__plus::before {
  left: 5px;
  right: 5px;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.page-news .entry__plus::after {
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

.page-news .entry__fold[open] .entry__plus::after {
  opacity: 0;
}

.page-news .entry__body {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-gray);
}

.page-news .entry__body p {
  margin: 0 0 14px;
  max-width: 42em;
}

.page-news .entry__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--c-teal);
  text-decoration: none;
  border-bottom: 2px solid var(--c-gold);
  padding-bottom: 2px;
  transition: color 0.18s var(--ease);
}

.page-news .entry__link:hover {
  color: var(--c-night);
}

@media (min-width: 760px) {
  .page-news .entry__summary {
    grid-template-columns: 108px minmax(0, 1fr) 34px;
    grid-template-areas:
      "batch title plus"
      "batch tags plus";
    align-items: center;
    column-gap: 22px;
    padding: 22px 6px 22px 0;
  }

  .page-news .entry__body {
    padding-left: 130px;
  }
}

/* ---------- 专题通用 ---------- */
.page-news .news-topic {
  padding: clamp(44px, 6vw, 86px) 0;
}

.page-news .topic-head {
  max-width: 44em;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-news .topic-head h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-news .topic-head__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-gray);
}

/* ---------- 账户中心改版 ---------- */
.page-news .news-topic--accounts {
  background: var(--c-mist);
}

.page-news .topic-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-news .topic-grid__text h2 {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.page-news .topic-grid__text > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-gray);
}

.page-news .topic-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-news .topic-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-night);
}

.page-news .topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--c-sky);
}

.page-news .topic-list strong {
  color: var(--c-teal);
}

.page-news .path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-news .path li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--c-night);
  border-radius: 2px;
  background: var(--c-fog);
  font-size: 14px;
  color: var(--c-night);
}

.page-news .path .mono {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-teal);
}

.page-news .topic-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--c-gold);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-teal);
  text-decoration: none;
}

.page-news .topic-link:hover {
  color: var(--c-night);
}

.page-news .topic-grid__figure {
  margin: 0;
  border: 2px solid var(--c-night);
  box-shadow: var(--shadow-soft);
  background: var(--c-fog);
}

.page-news .topic-grid__figure img {
  width: 100%;
  object-fit: cover;
}

.page-news .topic-grid__figure figcaption {
  padding: 9px 14px;
  border-top: 1px solid var(--c-silver);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-gray);
}

@media (min-width: 900px) {
  .page-news .topic-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

/* ---------- 版本对照 ---------- */
.page-news .news-topic--versions {
  background: linear-gradient(180deg, #251e3d 0%, var(--c-violet) 100%);
  color: var(--c-fog);
}

.page-news .news-topic--versions .mono-label {
  color: var(--c-gold);
}

.page-news .news-topic--versions .topic-head h2 {
  color: #f8fbfc;
}

.page-news .news-topic--versions .topic-head__lead {
  color: rgba(238, 241, 242, 0.76);
}

.page-news .compare-wrap {
  overflow-x: auto;
  border: 2px solid rgba(127, 169, 184, 0.55);
  background: rgba(21, 24, 35, 0.38);
  -webkit-overflow-scrolling: touch;
}

.page-news .compare {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-news .compare th,
.page-news .compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--n-dark-line);
}

.page-news .compare thead th {
  position: sticky;
  top: 0;
  background: #241e3a;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
}

.page-news .compare tbody th {
  width: 32%;
  font-weight: 700;
  color: #f4f7f8;
}

.page-news .compare td {
  color: rgba(238, 241, 242, 0.8);
  line-height: 1.7;
}

.page-news .compare tbody tr:hover th,
.page-news .compare tbody tr:hover td {
  background: rgba(127, 169, 184, 0.16);
  color: #ffffff;
}

.page-news .compare tbody tr:last-child th,
.page-news .compare tbody tr:last-child td {
  border-bottom: 0;
}

.page-news .topic-figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
  border: 2px solid rgba(127, 169, 184, 0.5);
}

.page-news .topic-figure img {
  width: 100%;
  object-fit: cover;
}

.page-news .topic-figure figcaption {
  padding: 9px 14px;
  border-top: 1px solid rgba(127, 169, 184, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(238, 241, 242, 0.68);
}

/* ---------- 收藏指引 ---------- */
.page-news .news-topic--saved {
  background: var(--c-fog);
}

.page-news .index-groups {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
}

.page-news .index-group {
  padding: 18px 18px 22px;
  background: var(--c-mist);
  border-left: 4px solid var(--c-sky);
}

.page-news .index-group--hot {
  border-left-color: var(--c-gold);
}

.page-news .index-group--often {
  border-left-color: var(--c-sky);
}

.page-news .index-group--ref {
  border-left-color: var(--c-pink);
}

.page-news .index-group h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.page-news .index-group__count {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-gray);
}

.page-news .index-group ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .index-group li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c-silver);
  font-size: 15px;
  color: var(--c-night);
}

.page-news .index-group li:last-child {
  border-bottom: 0;
}

.page-news .index-group li .mono {
  color: var(--c-teal);
}

@media (min-width: 820px) {
  .page-news .index-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-news .index-group:nth-child(2) {
    margin-top: 26px;
  }

  .page-news .index-group:nth-child(3) {
    margin-top: 52px;
  }
}

/* ---------- 工具额度 ---------- */
.page-news .news-topic--quota {
  background: linear-gradient(180deg, rgba(127, 169, 184, 0.3) 0%, rgba(127, 169, 184, 0.12) 62%, var(--c-fog) 100%);
}

.page-news .quota-grid {
  display: grid;
  gap: clamp(22px, 4vw, 38px);
}

.page-news .quota-spec ul {
  margin: 14px 0 14px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-silver);
}

.page-news .quota-spec li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-silver);
  font-size: 15px;
  color: var(--c-night);
}

.page-news .quota-spec li .mono {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-teal);
}

.page-news .quota-spec__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-gray);
}

.page-news .quota-log {
  overflow-x: auto;
  border: 2px solid var(--c-night);
  box-shadow: var(--shadow-brut);
  background: var(--c-fog);
  -webkit-overflow-scrolling: touch;
}

.page-news .quota-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.page-news .quota-table caption {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--c-gray);
  border-bottom: 1px solid var(--c-silver);
}

.page-news .quota-table th,
.page-news .quota-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-silver);
  white-space: nowrap;
}

.page-news .quota-table thead th {
  background: var(--c-teal);
  color: var(--c-fog);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .quota-table tbody td:first-child {
  color: var(--c-night);
  font-weight: 700;
}

.page-news .quota-table tbody td {
  color: var(--c-gray);
}

.page-news .quota-table tbody tr:hover td {
  background: rgba(127, 169, 184, 0.18);
  color: var(--c-night);
}

.page-news .quota-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-news .quota-figure {
  margin: clamp(22px, 4vw, 36px) 0 0;
  border: 2px solid var(--c-night);
  background: var(--c-violet);
}

.page-news .quota-figure img {
  width: 100%;
  object-fit: cover;
}

.page-news .quota-figure figcaption {
  padding: 9px 14px;
  border-top: 1px solid rgba(127, 169, 184, 0.4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(238, 241, 242, 0.78);
}

@media (min-width: 880px) {
  .page-news .quota-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
  }
}

/* ---------- 继续阅读 ---------- */
.page-news .news-topic--more {
  background: var(--c-mist);
}

.page-news .more-grid {
  display: grid;
  gap: 16px;
}

.page-news .more-card {
  display: block;
  padding: 22px;
  background: var(--c-fog);
  border: 2px solid var(--c-night);
  border-radius: 2px;
  box-shadow: var(--shadow-brut);
  color: var(--c-night);
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-news .more-card:hover,
.page-news .more-card:focus-visible {
  transform: translate(-2px, -3px);
  box-shadow: 9px 9px 0 0 var(--c-night);
}

.page-news .more-card__index {
  display: inline-block;
  padding: 3px 8px;
  background: var(--c-teal);
  color: var(--c-fog);
  font-weight: 700;
}

.page-news .more-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.page-news .more-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--c-gray);
}

.page-news .more-card__go {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--c-teal);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    transition: none !important;
    animation: none !important;
  }
}
