/* ====== 更新动态页 · 专属样式 ====== */
.page-news {
  --news-line: #D8D0C0;
  --news-darkline: rgba(255,255,255,.16);
  --news-shadow: 0 12px 32px rgba(10,31,60,.10);
  --news-shadow-dark: 0 12px 32px rgba(0,0,0,.28);
}
.page-news [id] {
  scroll-margin-top: 90px;
}
.page-news .container {
  max-width: var(--container-max);
}

/* ===== Hero ===== */
.news-hero {
  position: relative;
  background: var(--gradient-navy);
  color: #fff;
  padding: 36px 0 56px;
  overflow: hidden;
}
.news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 38%, var(--red-orange) 38% 100%);
}
.news-hero__grid {
  display: grid;
  gap: 28px;
}
.news-hero__content {
  position: relative;
  z-index: 2;
}
.news-hero .breadcrumb {
  margin-bottom: 20px;
}
.news-hero .breadcrumb a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
}
.news-hero .breadcrumb a:hover {
  color: var(--gold);
}
.news-hero .breadcrumb__sep {
  color: rgba(255,255,255,.45);
  padding: 0 6px;
}
.news-hero .eyebrow {
  color: rgba(255,255,255,.62);
}
.news-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.16;
  margin: 12px 0 16px;
  letter-spacing: .01em;
  max-width: 13em;
}
.news-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--red-orange);
  margin-top: 18px;
}
.news-hero__desc {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  max-width: 38em;
  margin-bottom: 24px;
}
.news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.news-hero__stat {
  font-family: var(--font-headline);
  font-size: var(--small);
  color: rgba(255,255,255,.72);
  letter-spacing: .04em;
}
.news-hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.news-hero__shield {
  width: 168px;
  height: 186px;
  position: relative;
  z-index: 1;
}
.news-hero__pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,.18), transparent 62%);
}
@media (min-width: 900px) {
  .news-hero {
    padding: 44px 0 72px;
  }
  .news-hero__grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
  }
}

/* ===== 最新动态区块 ===== */
.news-latest {
  background: var(--cream);
  padding-bottom: 72px;
}
.news-latest__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.news-latest__introduction {
  font-family: var(--font-body);
  color: var(--slate);
  line-height: 1.65;
  max-width: 42em;
}
@media (min-width: 900px) {
  .news-latest__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .news-latest__introduction {
    text-align: right;
  }
}

/* ===== 标签筛选 ===== */
.news-tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(10,31,60,.08);
}
.news-tab-btn {
  font-family: var(--font-headline);
  font-size: var(--small);
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 2px solid transparent;
  padding: 8px 16px;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.news-tab-btn:hover {
  border-color: var(--navy);
  background: rgba(10,31,60,.04);
}
.news-tab-btn.is-active {
  background: var(--navy);
  color: #fff;
}
@media (min-width: 900px) {
  .news-tabs__list {
    justify-content: flex-start;
    overflow-x: visible;
  }
  .news-tab-btn {
    padding: 10px 22px;
  }
}
.news-panel + .news-panel {
  margin-top: 40px;
}

/* ===== 动态标签与徽章 ===== */
.news-chip {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  color: #fff;
  background: var(--navy);
  vertical-align: middle;
}
.news-chip--gold,
.news-chip--doc,
.news-chip--fee {
  background: var(--gold);
  color: var(--navy);
}
.news-chip--ver {
  background: var(--navy);
}
.news-chip--sec {
  background: var(--red-orange);
}
.news-chip--act {
  background: var(--teal);
}
.news-chip--stat {
  background: var(--slate);
}
.news-chip--fresh {
  background: #fff;
  color: var(--red-orange);
  border: 2px solid var(--red-orange);
  padding: 2px 8px;
}

/* ===== 全部动态：特色卡 ===== */
.news-feature {
  display: grid;
  gap: 20px;
  background: var(--mist);
  box-shadow: var(--news-shadow);
  padding: 20px;
  border-top: 4px solid var(--gold);
  margin-bottom: 20px;
}
.news-feature__media {
  margin: 0;
}
.news-feature__media img {
  object-fit: cover;
}
.news-feature__body {
  padding: 8px 4px;
}
.news-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-feature__title {
  font-family: var(--font-headline);
  font-size: 22px;
  line-height: 1.35;
  margin: 14px 0 8px;
}
.news-feature__body p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}
.news-feature__list {
  margin: 14px 0 18px;
  padding-left: 18px;
  line-height: 1.8;
  color: var(--ink);
}
.news-feature__list li::marker {
  color: var(--red-orange);
}
@media (min-width: 900px) {
  .news-feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    padding: 28px;
    gap: 28px;
  }
  .news-feature__body {
    padding: 8px 8px;
  }
}

/* ===== 全部动态：迷你卡列表 ===== */
.news-minilist {
  display: grid;
  gap: 12px;
}
.news-mini {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  background: var(--mist);
  border-left: 3px solid var(--gold);
  padding: 16px;
  box-shadow: var(--news-shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.news-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10,31,60,.14);
}
.news-mini__tag {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 3px 8px;
  align-self: flex-start;
  white-space: nowrap;
}
.news-mini__tag--sec {
  background: var(--red-orange);
}
.news-mini__tag--act {
  background: var(--teal);
}
.news-mini__title {
  font-family: var(--font-headline);
  font-size: 17px;
  margin: 0 0 4px;
}
.news-mini__text {
  font-size: var(--small);
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}
@media (min-width: 900px) {
  .news-minilist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ===== 版本变更标签面板 ===== */
.news-releasegrid {
  display: grid;
  gap: 16px;
}
.news-release {
  background: var(--mist);
  border-top: 3px solid var(--navy);
  padding: 20px;
  box-shadow: var(--news-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-release--note {
  border-top-color: var(--red-orange);
  background: var(--cream);
}
.news-release__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-release__ver {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  background: rgba(10,31,60,.06);
  padding: 4px 10px;
}
.news-release__title {
  font-family: var(--font-headline);
  font-size: 18px;
  margin: 0;
}
.news-release p {
  font-size: var(--body);
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.news-release__link {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--small);
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin-top: auto;
}
.news-release__link:hover {
  color: var(--gold);
}
@media (min-width: 900px) {
  .news-releasegrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== 安全公告标签面板 ===== */
.news-secgrid {
  display: grid;
  gap: 16px;
}
.news-sec {
  background: var(--mist);
  padding: 22px;
  border-left: 4px solid var(--red-orange);
  box-shadow: var(--news-shadow);
}
.news-sec__title {
  font-family: var(--font-headline);
  font-size: 18px;
  margin: 12px 0 6px;
}
.news-sec__text {
  font-size: var(--small);
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
.news-sec__cta {
  background: var(--navy);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.news-sec__cta p {
  margin: 0;
  font-weight: 600;
}
.page-news .btn--ghost {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
}
.page-news .btn--ghost:hover {
  background: rgba(255,255,255,.12);
}
@media (min-width: 900px) {
  .news-secgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-sec__cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ===== 活动规则标签面板 ===== */
.news-actgrid {
  display: grid;
  gap: 16px;
}
.news-act {
  background: var(--mist);
  border-top: 3px solid var(--teal);
  padding: 20px;
  box-shadow: var(--news-shadow);
}
.news-act__title {
  font-family: var(--font-headline);
  font-size: 18px;
  margin: 12px 0 6px;
}
.news-act__text {
  font-size: var(--small);
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
@media (min-width: 900px) {
  .news-actgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== 版本变更时间线 ===== */
.news-timeline-section {
  position: relative;
  background: var(--gradient-navy);
  color: rgba(255,255,255,.85);
  overflow: hidden;
}
.news-timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.news-timeline-section .container {
  position: relative;
  z-index: 1;
}
.news-timeline-section .eyebrow {
  color: var(--gold);
}
.news-timeline-head {
  margin-bottom: 44px;
}
.news-timeline-head__lead {
  font-family: var(--font-body);
  color: rgba(255,255,255,.7);
  max-width: 40em;
  line-height: 1.7;
}
.news-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.news-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px;
  padding-bottom: 26px;
}
.news-timeline__item:last-child {
  padding-bottom: 6px;
}
.news-timeline__meta {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-right: 8px;
}
.news-timeline__period {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: .02em;
  line-height: 1.25;
}
.news-timeline__dot {
  grid-column: 1;
  grid-row: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,168,83,.22);
  margin-top: 20px;
  position: relative;
}
.news-timeline__item:not(:last-child) .news-timeline__dot::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 7px;
  width: 2px;
  height: calc(100% + 26px);
  background: var(--news-darkline);
}
.news-timeline__card {
  grid-column: 2;
  grid-row: 2;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--news-darkline);
  border-left: 4px solid var(--gold);
  padding: 16px;
  margin-bottom: 6px;
}
.news-timeline__card h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
}
.news-timeline__card p {
  font-size: var(--small);
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  margin: 0;
}
@media (min-width: 900px) {
  .news-timeline__item {
    grid-template-columns: 150px 40px minmax(0, 1fr);
    column-gap: 0;
    padding-bottom: 30px;
  }
  .news-timeline__meta {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: 12px;
    gap: 8px;
  }
  .news-timeline__period {
    font-size: 20px;
  }
  .news-timeline__dot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin-top: 20px;
  }
  .news-timeline__card {
    grid-column: 3;
    grid-row: 1;
  }
  .news-timeline__item:not(:last-child) .news-timeline__dot::after {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% + 30px);
  }
}

/* ===== 安全公告区块 ===== */
.news-security {
  background: var(--mist);
  padding-top: 72px;
  padding-bottom: 72px;
}
.news-security__grid {
  display: grid;
  gap: 28px;
}
.news-security__lead {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 36em;
}
.news-security__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.news-security__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
  color: var(--ink);
}
.news-security__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}
.news-security__media {
  margin: 0;
}
.news-security__media img {
  object-fit: cover;
}
@media (min-width: 900px) {
  .news-security__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
  }
  .news-security__media {
    order: 2;
  }
}

/* ===== 活动规则区块 ===== */
.news-activity {
  background: var(--cream);
  padding-top: 72px;
  padding-bottom: 72px;
}
.news-activity__head {
  margin-bottom: 24px;
}
.news-activity__intro {
  color: var(--slate);
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 42em;
}
.news-activity__banner {
  margin: 0 0 36px;
}
.news-activity__banner img {
  object-fit: cover;
}
.news-activity__grid {
  display: grid;
  gap: 16px;
}
.news-rule {
  background: var(--mist);
  border: 1px solid var(--news-line);
  padding: 22px;
  position: relative;
}
.news-rule__num {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 34px;
  color: rgba(10,31,60,.10);
  line-height: 1;
}
.news-rule__title {
  font-family: var(--font-headline);
  font-size: 18px;
  margin: 0 0 8px;
}
.news-rule__text {
  font-size: var(--small);
  color: var(--slate);
  line-height: 1.7;
  margin: 0;
}
.news-activity__note {
  margin-top: 26px;
  text-align: right;
}
.news-activity__note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 900px) {
  .news-activity__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
  }
  .news-activity__intro {
    text-align: right;
  }
  .news-activity__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .news-rule {
    padding: 24px;
  }
}

/* ===== 归档区块 ===== */
.news-archive {
  background: var(--mist);
  padding-top: 72px;
  padding-bottom: 88px;
}
.news-archive__grid {
  display: grid;
  gap: 28px;
}
.news-archive__cover {
  margin: 0;
  width: 100%;
  max-width: 400px;
}
.news-archive__cover img {
  object-fit: cover;
}
.news-archive__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-archive__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--news-line);
  border-left: 4px solid var(--navy);
  padding: 16px 18px;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.news-archive__item:hover {
  transform: translateX(4px);
  box-shadow: var(--news-shadow);
}
.news-archive__period {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.news-archive__note {
  margin: 6px 0 0;
  font-size: var(--small);
  color: var(--slate);
  line-height: 1.65;
}
@media (min-width: 900px) {
  .news-archive__grid {
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
  }
  .news-archive__cover {
    max-width: none;
  }
}
