.page-news {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  color: var(--ice);
  background:
    repeating-linear-gradient(105deg, transparent 0px, transparent 34px, rgba(0, 255, 135, 0.02) 35px, transparent 36px),
    radial-gradient(ellipse at 85% 5%, rgba(30, 140, 90, 0.18), transparent 52%),
    radial-gradient(ellipse at 12% 75%, rgba(0, 255, 135, 0.05), transparent 42%),
    linear-gradient(180deg, var(--space-deep) 0%, #0A172A 50%, var(--space-deep-2) 100%);
  overflow-x: clip;
}

/* ===== 页面头部 ===== */
.page-news .news-head {
  padding: 56px 20px 40px;
  position: relative;
}

.page-news .news-head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 44px;
  background: linear-gradient(90deg, var(--neon) 0%, transparent 30%, rgba(217, 242, 242, 0.1) 65%, transparent 100%);
}

.page-news .breadcrumb {
  margin-bottom: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-news .breadcrumb a {
  color: var(--neon);
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.page-news .breadcrumb a:hover {
  opacity: 0.75;
}

.page-news .crumb-sep {
  margin-inline: 8px;
  color: rgba(217, 242, 242, 0.4);
}

.page-news .news-head-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news .news-head-main .section-index {
  color: var(--neon);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-news .news-head-main h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--white);
  transform: skew(var(--skew));
  transform-origin: left center;
  padding-right: 10px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.page-news .news-head-desc {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(217, 242, 242, 0.76);
}

.page-news .news-head-status {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-news .status-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: rgba(30, 140, 90, 0.16);
  border: 1px solid rgba(0, 255, 135, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.page-news .status-metrics {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-news .status-metric {
  padding: 16px 14px;
  border-radius: var(--radius);
  background: rgba(42, 59, 76, 0.5);
  border: 1px solid rgba(217, 242, 242, 0.08);
}

.page-news .status-metric dt {
  font-size: 12px;
  color: rgba(217, 242, 242, 0.62);
  margin-bottom: 6px;
}

.page-news .status-metric dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ice);
  line-height: 1.4;
}

.page-news .status-metric .num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--neon);
  display: block;
}

.page-news .trust-line {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(217, 242, 242, 0.5);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  max-width: 320px;
}

/* ===== 维护记录区 ===== */
.page-news .news-feed {
  padding: 8px 20px 48px;
}

.page-news .feed-head {
  margin-bottom: 28px;
}

.page-news .feed-title-group .section-index {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.page-news .feed-title-group h2,
.page-news .topics-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ===== 分类筛选 ===== */
.page-news .news-filter {
  position: relative;
}

.page-news .filter-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.page-news .filter-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 20px;
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 20;
  background: rgba(11, 29, 51, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
  scrollbar-width: none;
}

.page-news .filter-pills::-webkit-scrollbar {
  display: none;
}

.page-news .filter-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(42, 59, 76, 0.62);
  color: var(--ice);
  border: 1px solid rgba(217, 242, 242, 0.14);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  user-select: none;
}

.page-news .filter-pill:hover,
.page-news .filter-pill:focus-visible {
  border-color: rgba(0, 255, 135, 0.5);
  background: rgba(0, 255, 135, 0.06);
}

.page-news #cat-all:checked ~ .filter-pills label[for="cat-all"],
.page-news #cat-data:checked ~ .filter-pills label[for="cat-data"],
.page-news #cat-replay:checked ~ .filter-pills label[for="cat-replay"],
.page-news #cat-mobile:checked ~ .filter-pills label[for="cat-mobile"] {
  background: var(--neon);
  color: var(--space-deep);
  border-color: var(--neon);
  box-shadow: 0 4px 20px rgba(0, 255, 135, 0.25);
}

/* ===== 文章列表 ===== */
.page-news .news-list {
  display: grid;
  gap: 40px;
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(217, 242, 242, 0.08);
  position: relative;
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--neon);
  transform: skew(var(--skew));
}

.page-news .news-item:nth-child(even)::before {
  left: auto;
  right: 0;
  background: var(--gold);
}

/* 分类过滤逻辑 */
.page-news #cat-data:checked ~ .news-list .news-item:not([data-category="data"]),
.page-news #cat-replay:checked ~ .news-list .news-item:not([data-category="replay"]),
.page-news #cat-mobile:checked ~ .news-list .news-item:not([data-category="mobile"]) {
  display: none;
}

/* 图片区 */
.page-news .news-media {
  position: relative;
  transform: skew(var(--skew));
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.7);
  background: var(--slate);
  box-shadow: var(--shadow);
  min-height: 0;
}

.page-news .news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 20, 38, 0.55) 100%);
  pointer-events: none;
}

.page-news .news-img,
.page-news .news-imgholder {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transform: skew(calc(var(--skew) * -1)) scale(1.08);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.page-news .news-item:hover .news-img,
.page-news .news-item:hover .news-imgholder {
  transform: skew(calc(var(--skew) * -1)) scale(1.16);
  filter: brightness(1.06);
}

.page-news .news-imgholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-news .news-day {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(7, 20, 38, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: skew(calc(var(--skew) * -1));
}

.page-news .news-day .num--gold {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--gold);
}

/* 正文区 */
.page-news .news-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.page-news .news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .news-log-num {
  font-family: var(--font-num);
  font-size: 12px;
  color: rgba(217, 242, 242, 0.38);
  letter-spacing: 0.12em;
}

.page-news .news-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-news .news-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(217, 242, 242, 0.7);
}

.page-news .news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.page-news .news-readtime {
  font-size: 13px;
  color: rgba(217, 242, 242, 0.4);
  font-family: var(--font-num);
}

.page-news .btn {
  text-decoration: none;
}

.page-news .btn-ghost {
  border-color: rgba(0, 255, 135, 0.35);
  color: var(--neon);
}

.page-news .btn-ghost:hover {
  background: rgba(0, 255, 135, 0.08);
  border-color: var(--neon);
}

/* ===== 专题系列 ===== */
.page-news .news-topics {
  padding: 48px 20px 72px;
}

.page-news .topics-head {
  margin-bottom: 32px;
  max-width: 640px;
}

.page-news .topics-head .section-index {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.page-news .topics-desc {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(217, 242, 242, 0.64);
}

.page-news .topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .topic-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(42, 59, 76, 0.4);
  border: 1px solid rgba(217, 242, 242, 0.1);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.page-news .topic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), transparent 80%);
}

.page-news .topic-card:hover {
  transform: translateY(-4px) skew(0);
  box-shadow: var(--shadow-deep);
  border-color: rgba(0, 255, 135, 0.3);
}

.page-news .topic-card--featured {
  background: linear-gradient(135deg, rgba(30, 140, 90, 0.24) 0%, rgba(11, 29, 51, 0.88) 48%, rgba(212, 175, 55, 0.12) 100%);
  border-color: rgba(0, 255, 135, 0.22);
}

.page-news .topic-card--featured::before {
  background: linear-gradient(90deg, var(--gold), var(--neon) 70%, transparent);
}

.page-news .topic-code {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.page-news .topic-card--featured .topic-code {
  color: var(--gold);
}

.page-news .topic-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  transform: skew(var(--skew));
  transform-origin: left center;
  padding-right: 6px;
}

.page-news .topic-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(217, 242, 242, 0.68);
}

.page-news .topic-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--neon);
  transition: gap 0.3s var(--ease);
}

.page-news .topic-card--featured .topic-link {
  color: var(--gold);
}

.page-news .topic-card:hover .topic-link {
  gap: 12px;
}

/* ===== 平板 ===== */
@media (min-width: 640px) {
  .page-news .news-head {
    padding: 64px 32px 44px;
  }

  .page-news .news-feed {
    padding: 8px 32px 56px;
  }

  .page-news .news-topics {
    padding: 56px 32px 80px;
  }

  .page-news .news-head-row {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
    gap: 40px;
  }

  .page-news .news-item {
    gap: 28px;
  }

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

/* ===== 桌面 ===== */
@media (min-width: 1024px) {
  .page-news .news-head {
    padding: 80px 48px 48px;
  }

  .page-news .news-feed {
    padding: 8px 48px 64px;
  }

  .page-news .news-topics {
    padding: 64px 48px 96px;
  }

  .page-news .news-head-main .section-index {
    font-size: 14px;
  }

  .page-news .news-head-desc {
    font-size: 17px;
    max-width: 560px;
  }

  .page-news .news-list {
    gap: 56px;
  }

  .page-news .news-item {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: center;
  }

  .page-news .news-item:nth-child(even) {
    grid-template-columns: 7fr 5fr;
  }

  .page-news .news-item:nth-child(even) .news-media {
    order: 2;
  }

  .page-news .news-item:nth-child(even)::before {
    left: 0;
    right: auto;
  }

  .page-news .news-text {
    font-size: 16px;
  }

  .page-news .filter-pills {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    margin-bottom: 36px;
  }

  .page-news .topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-news .topic-card {
    padding: 32px 30px;
  }
}

/* ===== 动效增强 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-news .news-img,
  .page-news .news-imgholder,
  .page-news .topic-card,
  .page-news .filter-pill,
  .page-news .topic-link,
  .page-news .btn-ghost {
    transition: none;
  }

  .page-news .news-head-main h1,
  .page-news .news-media,
  .page-news .news-img,
  .page-news .news-imgholder,
  .page-news .topic-name {
    transform: none;
  }
}
