.page-news {
  --cat-model: var(--accent);
  --cat-batch: var(--accent-alt);
  --cat-stock: var(--indigo);
  --cat-channel: var(--muted);
  --cat-service: var(--coral);
  background: var(--bg);
  color: var(--text);
  padding-bottom: clamp(44px, 8vw, 88px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 44px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 28, 47, 0.92), rgba(10, 17, 32, 0) 82%);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -140px;
  right: -150px;
  width: min(720px, 88vw);
  height: min(720px, 88vw);
  background: linear-gradient(140deg, rgba(37, 224, 196, 0.22), rgba(108, 107, 255, 0.1) 52%, rgba(10, 17, 32, 0) 72%);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 74%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -200px;
  left: -130px;
  width: min(480px, 66vw);
  height: min(480px, 66vw);
  background: radial-gradient(circle at 42% 42%, rgba(242, 179, 61, 0.16), rgba(10, 17, 32, 0) 68%);
  pointer-events: none;
}

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

.page-news .news-hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.01em;
  max-width: 15em;
}

.page-news .news-hero__lead {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--muted);
}

.page-news .news-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-board__cell {
  min-width: 0;
  padding: 16px 18px;
  background: var(--surface);
}

.page-news .news-board dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-news .news-board dd {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 0;
}

.page-news .news-board__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.page-news .news-board__unit {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 通用章节微调 ---------- */
.page-news .section {
  padding-block: clamp(44px, 7vw, 78px);
}

.page-news .section-head {
  margin-bottom: clamp(20px, 3vw, 30px);
}

/* ---------- 本期要点 ---------- */
.page-news .points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .points__item {
  position: relative;
  min-width: 0;
  padding: 24px 22px 26px;
  background: var(--surface);
}

.page-news .points__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 74%);
}

.page-news .points__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.page-news .points__item h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.36;
  font-weight: 800;
}

.page-news .points__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 目录 + 条目流 ---------- */
.page-news .desk {
  display: grid;
  gap: 26px;
}

.page-news .desk__index-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

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

.page-news .desk__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.page-news .desk__link:hover,
.page-news .desk__link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37, 224, 196, 0.06);
}

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

.page-news .desk__count {
  margin-left: auto;
  padding-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

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

.page-news .desk__intro {
  min-width: 0;
}

.page-news .entry {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .entry:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(37, 224, 196, 0.16);
}

.page-news .entry__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.page-news .entry__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-news .entry__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .entry__body {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.74;
  color: var(--muted);
}

.page-news .entry__meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--muted);
}

.page-news .entry__meta strong {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------- 分类标签与色点 ---------- */
.page-news .cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.page-news .cat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-color, var(--accent));
  flex: none;
}

.page-news .cat--model { --dot-color: var(--cat-model); }
.page-news .cat--batch { --dot-color: var(--cat-batch); }
.page-news .cat--stock { --dot-color: var(--cat-stock); }
.page-news .cat--channel { --dot-color: var(--cat-channel); }
.page-news .cat--service { --dot-color: var(--cat-service); }

.page-news .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--muted);
}

.page-news .dot--model { background: var(--cat-model); }
.page-news .dot--stock { background: var(--cat-stock); }

/* ---------- 图片占位 ---------- */
.page-news .entry__figure {
  margin: 16px 0 0;
  aspect-ratio: 4 / 3;
}

.page-news .entry__figure--wide {
  aspect-ratio: 11 / 7;
}

.page-news .entry__figure img,
.page-news .plans-banner img,
.page-news .service-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ---------- 渠道与库存 ---------- */
.page-news .stock-panel {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-news .stock-panel__num {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(36px, 8vw, 54px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--accent-alt);
}

.page-news .stock-panel__desc {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--muted);
}

.page-news .stock-bar {
  margin: 20px 0 0;
  height: 8px;
  border-radius: 99px;
  background: rgba(143, 163, 188, 0.16);
  overflow: hidden;
}

.page-news .stock-bar__fill {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transform-origin: left center;
  animation: news-bar 900ms var(--ease) both;
}

@keyframes news-bar {
  from { transform: scaleX(0.06); }
  to { transform: scaleX(1); }
}

.page-news .stock-legend {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.page-news .stock-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-news .stock-panel__more {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.page-news .stock-feed {
  display: grid;
  gap: 1px;
  min-width: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .stock-item {
  min-width: 0;
  padding: 18px 20px 20px;
  background: var(--surface);
  transition: background-color 0.3s var(--ease);
}

.page-news .stock-item:hover {
  background: #16233a;
}

.page-news .stock-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .stock-item h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.42;
  font-weight: 700;
}

.page-news .stock-item p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 行业方案专题 ---------- */
.page-news .plans-banner {
  margin: 0 0 24px;
  aspect-ratio: 2 / 1;
}

.page-news .plans {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .plan {
  position: relative;
  min-width: 0;
  padding: 22px 20px 24px;
  background: var(--surface);
}

.page-news .plan::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-alt), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.page-news .plan:hover::after {
  opacity: 1;
}

.page-news .plan__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.page-news .plan__icon svg {
  width: 20px;
  height: 20px;
}

.page-news .plan__code {
  display: block;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-news .plan__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.page-news .plan__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 售后复盘 ---------- */
.page-news .service-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.page-news .case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-news .case {
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-news .case__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .case__time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-news .case__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.46;
  font-weight: 700;
}

.page-news .case__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--muted);
}

.page-news .service-note {
  margin: 22px 0 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.76;
  color: var(--muted);
}

/* ---------- 订阅与回看 ---------- */
.page-news .follow {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(120deg, rgba(17, 28, 47, 0.96), rgba(10, 17, 32, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-news .follow::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.16), rgba(10, 17, 32, 0) 68%);
  pointer-events: none;
}

.page-news .follow > * {
  position: relative;
}

.page-news .follow__title {
  margin: 12px 0 0;
  max-width: 24em;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.36;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-news .follow__text {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.76;
  color: var(--muted);
}

.page-news .follow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.page-news .follow__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .news-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-news .desk__feed {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .desk__intro {
    grid-column: 1 / -1;
  }

  .page-news .entry--lead { grid-column: 1 / span 7; }
  .page-news .entry--tall { grid-column: 8 / span 5; margin-top: 46px; }
  .page-news .entry--full { grid-column: 1 / -1; }
  .page-news .entry--third { grid-column: 1 / span 4; }
  .page-news .entry--twothird { grid-column: 5 / span 8; }

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

@media (min-width: 960px) {
  .page-news .desk {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 36px;
  }

  .page-news .desk__index {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-news .desk__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
  }

  .page-news .desk__link {
    border-color: transparent;
    border-left: 1px solid var(--border);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }

  .page-news .desk__link:hover,
  .page-news .desk__link:focus-visible {
    border-left-color: var(--accent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .stock-bar__fill {
    animation: none;
  }

  .page-news .entry,
  .page-news .stock-item,
  .page-news .plan::after,
  .page-news .desk__link {
    transition: none;
  }
}
