.page-news {
  --news-shadow: 0 18px 40px rgba(10, 23, 48, .10);
  --news-shadow-night: 0 22px 48px rgba(4, 10, 24, .45);
  background: var(--ob-paper);
  color: var(--ob-ink);
}

/* ============ 首屏 ============ */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--ob-night);
  color: var(--ob-paper);
  padding: calc(var(--ob-header-h) + 44px) 0 clamp(52px, 8vw, 96px);
  isolation: isolate;
}

.page-news .news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-news .news-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .34;
  filter: saturate(.75);
}

.page-news .news-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 23, 48, .96) 0%, rgba(10, 23, 48, .74) 48%, rgba(16, 34, 74, .52) 100%),
    radial-gradient(120% 90% at 82% 8%, rgba(242, 169, 59, .18) 0%, transparent 58%);
}

.page-news .news-hero__inner {
  position: relative;
}

.page-news .news-crumbs {
  font-family: var(--ob-font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ob-slate);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}

.page-news .news-crumbs a {
  color: var(--ob-paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 238, 225, .34);
}

.page-news .news-crumbs a:hover {
  border-bottom-color: var(--ob-gold);
  color: var(--ob-gold);
}

.page-news .news-kicker {
  color: var(--ob-gold);
  margin-bottom: 18px;
}

.page-news .news-hero__title {
  font-family: var(--ob-font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 22px;
  color: var(--ob-paper);
  max-width: 14em;
}

.page-news .news-hero__title br {
  display: block;
}

.page-news .news-hero__lead {
  max-width: 46em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 238, 225, .82);
  margin: 0 0 34px;
}

.page-news .news-hero__panel {
  max-width: 460px;
  border: 1px solid var(--ob-glass-line);
  background: var(--ob-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 4px;
  padding: 20px 22px 22px;
  box-shadow: var(--news-shadow-night);
}

.page-news .news-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ob-hairline-light);
}

.page-news .news-hero__code {
  color: var(--ob-gold);
  font-size: 12px;
}

.page-news .news-hero__big {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 10px;
}

.page-news .news-hero__big strong {
  font-family: var(--ob-font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ob-gold);
  letter-spacing: .01em;
}

.page-news .news-hero__big span {
  font-size: 14px;
  color: rgba(245, 238, 225, .78);
}

.page-news .news-hero__small {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ob-slate);
  margin: 0;
}

/* ============ 吸顶批次条 ============ */
.page-news .news-sticky {
  position: sticky;
  top: var(--ob-header-h);
  z-index: 30;
  background: var(--ob-gold);
  color: var(--ob-ink);
  border-bottom: 1px solid rgba(31, 27, 22, .18);
}

.page-news .news-sticky__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.page-news .news-sticky__code {
  color: var(--ob-night);
  font-weight: 700;
  font-size: 12px;
}

.page-news .news-sticky__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-news .news-sticky__rule {
  flex: 1 1 24px;
  min-width: 18px;
  height: 1px;
  background: rgba(31, 27, 22, .3);
}

.page-news .news-sticky__num,
.page-news .news-sticky__when {
  font-family: var(--ob-font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.page-news .news-sticky__when {
  color: rgba(31, 27, 22, .62);
}

/* ============ 章节通用 ============ */
.page-news .news-brief,
.page-news .news-stream,
.page-news .news-client,
.page-news .news-sub {
  background: var(--ob-paper);
  color: var(--ob-ink);
}

.page-news .news-rules,
.page-news .news-next {
  background: var(--ob-night);
  color: var(--ob-paper);
}

.page-news .ob-section__head {
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-news .news-rules .ob-section__sub,
.page-news .news-next .ob-section__sub {
  color: var(--ob-slate);
}

.page-news .news-rules .ob-section__title,
.page-news .news-next .ob-section__title {
  color: var(--ob-paper);
}

/* ============ 速览 ============ */
.page-news .news-brief__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .news-brief__item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: start;
  gap: 14px;
  background: var(--ob-paper-2);
  border: 1px solid var(--ob-hairline);
  border-left: 4px solid var(--ob-gold);
  border-radius: 4px;
  padding: 18px 20px;
  box-shadow: var(--news-shadow);
}

.page-news .news-brief__idx {
  font-family: var(--ob-font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ob-gold);
  padding-top: 3px;
}

.page-news .news-brief__h {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
  color: var(--ob-ink);
}

.page-news .news-brief__p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ob-muted);
  margin: 0;
}

/* ============ 时间轴 + 笔记流 ============ */
.page-news .news-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-news .news-rail {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ob-night);
  padding: 22px 20px;
}

.page-news .news-rail__tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-news .news-rail__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-news .news-rail__node {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "dot code"
    "dot when"
    "dot num";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--ob-hairline-light);
  border-radius: 3px;
  background: rgba(10, 23, 48, .5);
}

.page-news .news-rail__dot {
  grid-area: dot;
  align-self: stretch;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ob-slate);
  box-shadow: 0 0 0 4px rgba(138, 154, 180, .16);
  margin-top: 5px;
}

.page-news .news-rail__node.is-current {
  border-color: rgba(242, 169, 59, .62);
  background: rgba(242, 169, 59, .12);
}

.page-news .news-rail__node.is-current .news-rail__dot {
  background: var(--ob-gold);
  box-shadow: 0 0 0 4px rgba(242, 169, 59, .22);
}

.page-news .news-rail__node .ob-coord {
  grid-area: code;
  color: var(--ob-paper);
  font-size: 12px;
}

.page-news .news-rail__when {
  grid-area: when;
  font-size: 12px;
  color: var(--ob-slate);
}

.page-news .news-rail__n {
  grid-area: num;
  font-family: var(--ob-font-mono);
  font-size: 11px;
  color: var(--ob-gold);
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.page-news .news-filter .ob-filter__btn[aria-pressed="true"] {
  background: var(--ob-night);
  border-color: var(--ob-night);
  color: var(--ob-paper);
}

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

.page-news .news-notes {
  display: grid;
  gap: 14px;
}

.page-news .news-note {
  border: 1px solid var(--ob-hairline);
  border-left: 4px solid var(--ob-slate);
  border-radius: 4px;
  background: var(--ob-paper-2);
  padding: 18px 20px 16px;
  box-shadow: var(--news-shadow);
}

.page-news .news-note--red { border-left-color: var(--ob-red); }
.page-news .news-note--blue { border-left-color: var(--ob-blue); }
.page-news .news-note--yellow { border-left-color: var(--ob-yellow); }
.page-news .news-note--green { border-left-color: var(--ob-green); }
.page-news .news-note--gold { border-left-color: var(--ob-gold); }

.page-news .news-note__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .news-note__top .ob-coord {
  font-size: 11px;
  color: var(--ob-muted);
}

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

.page-news .news-note__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--ob-ink);
}

.page-news .news-note__sum {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ob-muted);
  margin: 0 0 12px;
}

.page-news .news-note__more {
  border-top: 1px dashed var(--ob-hairline);
  padding-top: 10px;
}

.page-news .news-note__more summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--ob-blue);
  letter-spacing: .02em;
  list-style: none;
}

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

.page-news .news-note__more summary::before {
  content: "+";
  display: inline-block;
  width: 14px;
  font-family: var(--ob-font-mono);
  color: var(--ob-gold);
}

.page-news .news-note__more[open] summary::before {
  content: "−";
}

.page-news .news-note__pts {
  margin: 12px 0 10px;
  padding-left: 18px;
  list-style: disc;
}

.page-news .news-note__pts li {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ob-ink);
  margin-bottom: 5px;
}

.page-news .news-note__scope {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ob-green-deep);
  background: rgba(30, 158, 107, .09);
  border-left: 3px solid var(--ob-green);
  border-radius: 2px;
  padding: 9px 12px;
  margin: 0;
}

.page-news .news-note__scope strong {
  font-weight: 700;
}

/* ============ 条款改动表 ============ */
.page-news .news-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--ob-hairline-light);
  border-radius: 4px;
  background: rgba(16, 34, 74, .55);
}

.page-news .news-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.page-news .news-table__cap {
  caption-side: top;
  text-align: left;
  font-family: var(--ob-font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ob-slate);
  padding: 14px 16px 0;
}

.page-news .news-table th,
.page-news .news-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.7;
  border-bottom: 1px solid var(--ob-hairline-light);
}

.page-news .news-table thead th {
  font-family: var(--ob-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--ob-gold);
  background: rgba(242, 169, 59, .08);
  white-space: nowrap;
}

.page-news .news-table tbody th {
  font-weight: 700;
  color: var(--ob-paper);
}

.page-news .news-table tbody td {
  color: rgba(245, 238, 225, .78);
}

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

.page-news .news-rules__note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ob-slate);
  border-left: 3px solid var(--ob-blue);
  padding-left: 14px;
  max-width: 62em;
}

/* ============ 客户端与多端 ============ */
.page-news .news-client__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .news-client__fig {
  margin: 0;
}

.page-news .news-client__list {
  display: grid;
  gap: 12px;
}

.page-news .news-client__item {
  background: var(--ob-paper-2);
  border: 1px solid var(--ob-hairline);
  border-top: 3px solid var(--ob-blue);
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: var(--news-shadow);
}

.page-news .news-client__code {
  display: block;
  font-size: 11px;
  color: var(--ob-muted);
  margin-bottom: 7px;
}

.page-news .news-client__h {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
  color: var(--ob-ink);
}

.page-news .news-client__p {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ob-muted);
  margin: 0;
}

/* ============ 订阅与推送 ============ */
.page-news .news-sub {
  background: var(--ob-night-2);
  color: var(--ob-paper);
}

.page-news .news-sub .ob-section__title {
  color: var(--ob-paper);
}

.page-news .news-sub .ob-section__sub {
  color: var(--ob-slate);
}

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

.page-news .news-sub__p {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(245, 238, 225, .8);
  margin: 0 0 16px;
}

.page-news .news-sub__box {
  border: 1px solid var(--ob-glass-line);
  background: var(--ob-glass);
  border-radius: 4px;
  padding: 18px 20px;
  margin: 0 0 18px;
}

.page-news .news-sub__h {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ob-gold);
}

.page-news .news-sub__ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.page-news .news-sub__ul li {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(245, 238, 225, .82);
  margin-bottom: 5px;
}

.page-news .news-sub__fig {
  margin: 0;
}

.page-news .news-sub__fig .ob-media__cap {
  color: var(--ob-slate);
}

/* ============ 下一步 ============ */
.page-news .news-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .news-next__card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ob-hairline-light);
  border-radius: 4px;
  background: rgba(16, 34, 74, .55);
  padding: 22px 22px 20px;
  transition: transform .26s var(--ob-ease), border-color .26s var(--ob-ease), background-color .26s var(--ob-ease);
}

.page-news .news-next__card:hover,
.page-news .news-next__card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(242, 169, 59, .62);
  background: rgba(16, 34, 74, .82);
}

.page-news .news-next__code {
  display: block;
  font-size: 11px;
  color: var(--ob-gold);
  margin-bottom: 12px;
}

.page-news .news-next__h {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--ob-paper);
}

.page-news .news-next__p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(245, 238, 225, .76);
  margin: 0 0 16px;
}

.page-news .news-next__go {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ob-night);
  background: var(--ob-gold);
  border-radius: 2px;
  padding: 8px 16px;
  letter-spacing: .02em;
}

.page-news .news-next__foot {
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ob-slate);
}

.page-news .news-next__foot a {
  color: var(--ob-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 169, 59, .5);
}

.page-news .news-next__foot a:hover {
  border-bottom-color: var(--ob-gold);
}

/* ============ 响应式 ============ */
@media (min-width: 700px) {
  .page-news .news-brief__item {
    grid-template-columns: 52px 1fr auto;
    padding: 20px 26px;
  }

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

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

@media (min-width: 960px) {
  .page-news .news-hero {
    padding-top: calc(var(--ob-header-h) + 76px);
  }

  .page-news .news-track {
    grid-template-columns: 208px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
  }

  .page-news .news-rail {
    position: sticky;
    top: calc(var(--ob-header-h) + 62px);
    padding: 26px 18px;
  }

  .page-news .news-rail__list {
    flex-direction: column;
    overflow: visible;
    gap: 4px;
  }

  .page-news .news-rail__node {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-areas:
      "dot code"
      "dot when"
      "dot num";
    column-gap: 10px;
    border: none;
    background: transparent;
    padding: 12px 8px 12px 4px;
    border-radius: 0;
  }

  .page-news .news-rail__node + .news-rail__node::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    height: 12px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(245, 238, 225, .34) 0 3px, transparent 3px 7px);
  }

  .page-news .news-rail__node + .news-rail__node::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: 0;
    height: 100%;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(245, 238, 225, .22) 0 3px, transparent 3px 7px);
    z-index: -1;
  }

  .page-news .news-rail__dot {
    margin-top: 6px;
  }

  .page-news .news-client__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .page-news .news-sub__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 34px;
    align-items: start;
  }

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

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

@media (max-width: 520px) {
  .page-news .news-sticky__rule {
    display: none;
  }

  .page-news .news-sticky__inner {
    gap: 8px;
    font-size: 12px;
  }

  .page-news .news-brief__item {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }

  .page-news .news-brief__item > .ob-tag {
    grid-column: 2;
    justify-self: start;
  }

  .page-news .news-note__when {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-next__card {
    transition: none;
  }

  .page-news .news-next__card:hover,
  .page-news .news-next__card:focus-visible {
    transform: none;
  }
}
