.page-news {
  --news-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(circle at 15% 4%, rgba(138, 43, 226, 0.12), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(0, 216, 255, 0.08), transparent 24%),
    var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
}

.page-news a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-news__layout {
  display: grid;
  gap: 28px;
  padding: 24px 0 70px;
}

.page-news .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text-dim);
}

.page-news .breadcrumbs__sep {
  opacity: 0.5;
}

/* ===== 框景首屏区 ===== */
.page-news__hero {
  position: relative;
  padding: 34px 22px 38px;
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.13), rgba(138, 43, 226, 0.06) 52%, rgba(255, 106, 0, 0.08)),
    var(--bg-raise);
  border: 1px solid rgba(0, 216, 255, 0.28);
  border-left: 6px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
}

.page-news__hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(0, 216, 255, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.page-news__hero::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.22), transparent 68%);
  pointer-events: none;
}

.page-news__hero > * {
  position: relative;
  z-index: 1;
}

.page-news__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6.2vw, 62px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 10px 0 16px;
}

.page-news__lede {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: 17px;
  color: var(--text-dim);
}

.page-news__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 分类标签筛选 ===== */
.page-news__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 6px;
}

.page-news__filter-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.22s var(--news-ease), border-color 0.22s, color 0.22s;
}

.page-news__filter-pill:hover {
  border-color: var(--border-glow);
  color: var(--blue);
  transform: translateY(-2px);
  text-decoration: none;
}

.page-news__filter-pill:active {
  transform: translateY(0);
}

/* ===== 区块标题 ===== */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 46px 0 22px;
}

.section-head__note {
  margin: 0;
  color: var(--text-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.12;
}

.section-title__num {
  display: inline-block;
  margin-right: 12px;
  padding: 3px 10px;
  transform: skewX(-14deg);
  border-radius: 6px;
  background: rgba(0, 216, 255, 0.16);
  color: var(--blue);
  font-size: 0.66em;
  vertical-align: 4px;
}

/* ===== 战报更新：第12轮 ===== */
.news-round__spotlight {
  display: grid;
  overflow: hidden;
  background: var(--bg-raise);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 16px 16px 0 rgba(0, 216, 255, 0.06);
}

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

.news-round__content {
  padding: 24px 22px 26px;
}

.news-round__content h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 14px 0 10px;
}

.news-round__content p {
  color: var(--text-dim);
  margin: 0 0 14px;
}

/* ===== 新闻快讯列表 ===== */
.news-feed {
  margin-top: 12px;
}

.news-feed__item {
  position: relative;
  padding: 24px 0 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: pageNewsRise 0.5s var(--news-ease) both;
}

.news-feed__rail {
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 30px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
}

.news-feed__item--orange .news-feed__rail {
  background: linear-gradient(180deg, var(--orange), var(--blue));
}

.news-feed__item--violet .news-feed__rail {
  background: linear-gradient(180deg, var(--violet), var(--blue));
}

.news-feed__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-feed__time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.news-feed__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 8px;
}

.news-feed__excerpt {
  color: var(--text-dim);
  margin: 0 0 14px;
  max-width: 760px;
}

.news-feed__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 14px;
}

.news-feed__trigger {
  appearance: none;
  background: rgba(0, 216, 255, 0.1);
  border: 1px solid rgba(0, 216, 255, 0.45);
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transform: skewX(-8deg);
  transition: background 0.2s ease, color 0.2s ease;
}

.news-feed__trigger:hover {
  background: rgba(0, 216, 255, 0.2);
  color: #ffffff;
}

.news-feed__panel-inner {
  padding-top: 16px;
  color: var(--text-dim);
}

.news-feed__panel-inner p {
  margin: 0;
}

/* ===== 功能迭新 ===== */
.news-features__grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  background: var(--bg-raise);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  animation: pageNewsRise 0.5s var(--news-ease) both;
  transition: transform 0.3s var(--news-ease), box-shadow 0.3s var(--news-ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px rgba(0, 216, 255, 0.12);
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-card__body {
  padding: 18px 18px 22px;
}

.feature-card__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  margin: 10px 0 8px;
}

.feature-card__body p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ===== 专题系列 ===== */
.news-series__list {
  display: grid;
  gap: 18px;
}

.series-item {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  animation: pageNewsRise 0.5s var(--news-ease) both;
}

.series-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--gradient);
}

.series-item__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

.series-item--plain {
  grid-template-columns: 56px 1fr;
  align-items: start;
}

.series-item__index {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.12);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  transform: skewX(-8deg);
}

.series-item__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 8px 0 6px;
  font-weight: 800;
}

.series-item__body p {
  color: var(--text-dim);
  margin: 0;
  font-size: 15px;
}

/* ===== 底部说明 ===== */
.news-update-note {
  margin-top: 48px;
  padding: 20px 22px;
  background: linear-gradient(120deg, rgba(0, 216, 255, 0.12), rgba(138, 43, 226, 0.16));
  border-left: 4px solid var(--violet);
  border-radius: 0 14px 14px 0;
  color: var(--text-dim);
  font-size: 15px;
}

.news-update-note p {
  margin: 0 0 6px;
}

.news-update-note p:last-child {
  margin-bottom: 0;
}

/* ===== 侧边栏 ===== */
.page-news__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-card {
  position: relative;
  padding: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), var(--bg-raise);
  border: 1px solid rgba(0, 216, 255, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.side-card__kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 6px;
  font-weight: 700;
}

.side-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
}

.side-card__track {
  position: relative;
  height: 92px;
  margin: 8px 0 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  padding-left: 12px;
}

.side-card__fill {
  position: absolute;
  left: -2px;
  top: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient);
  height: 38%;
  animation: pageNewsScrollHint 2.2s var(--news-ease) infinite alternate;
}

.side-card__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.side-card__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.side-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(0, 216, 255, 0.6);
}

.side-card--cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.side-card--cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
}

.side-card--cats a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.8;
}

.side-card--cats a:hover {
  background: rgba(0, 216, 255, 0.1);
  color: var(--blue);
  text-decoration: none;
}

.side-card--stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.side-card--stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.side-card--stats span {
  font-size: 13px;
}

.side-card--stats strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--orange);
}

/* ===== 锚点定位高亮 ===== */
.page-news__main section:target,
.page-news__main article:target {
  animation: pageNewsTargetFlash 0.9s ease both;
}

/* ===== 动效 ===== */
@keyframes pageNewsRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageNewsScrollHint {
  from {
    height: 24%;
    opacity: 0.55;
  }
  to {
    height: 88%;
    opacity: 1;
  }
}

@keyframes pageNewsTargetFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
  }
  45% {
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.14);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
  }
}

/* ===== 平板与桌面 ===== */
@media (min-width: 720px) {
  .page-news__hero {
    padding: 42px 36px 48px;
  }

  .news-round__spotlight {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .news-round__media {
    min-height: 100%;
  }

  .news-round__media img {
    height: 100%;
  }

  .news-round__content {
    padding: 30px 28px;
  }

  .news-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .feature-card__body {
    padding: 22px 22px 26px;
  }

  .series-item {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .series-item--plain {
    grid-template-columns: 56px 1fr;
  }
}

@media (min-width: 960px) {
  .page-news__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    padding: 36px 0 90px;
  }

  .page-news__side {
    position: sticky;
    top: 96px;
  }
}

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