.page-news {
  --nw-r-lg: 28px;
  --nw-hair: rgba(21, 18, 16, .13);
  --nw-hair-lt: rgba(248, 242, 230, .18);
  --nw-warm: rgba(239, 226, 198, .58);
}

.page-news section[id],
.page-news .nw-group[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 封面首屏 ---------- */
.page-news .nw-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4.6vw, 44px) 0 clamp(40px, 7vw, 82px);
  background:
    radial-gradient(120% 100% at 88% 4%, rgba(232, 178, 58, .3), transparent 58%),
    radial-gradient(92% 92% at 2% 96%, rgba(196, 58, 47, .34), transparent 62%),
    var(--ink);
  color: var(--ivory);
}

.page-news .nw-cover__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.page-news .nw-cover__orb--a {
  width: 300px;
  height: 300px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle at 34% 32%, rgba(247, 217, 139, .45), rgba(232, 178, 58, 0) 70%);
}

.page-news .nw-cover__orb--b {
  width: 240px;
  height: 240px;
  bottom: -130px;
  left: -80px;
  background: radial-gradient(circle at 60% 40%, rgba(196, 58, 47, .5), rgba(196, 58, 47, 0) 70%);
}

.page-news .nw-cover__inner {
  display: grid;
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
}

.page-news .nw-cover__copy {
  min-width: 0;
}

.page-news .nw-crumb .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  color: rgba(248, 242, 230, .58);
}

.page-news .nw-crumb .crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-news .nw-crumb .crumbs li + li::before {
  content: "/";
  color: rgba(248, 242, 230, .32);
}

.page-news .nw-crumb .crumbs a {
  color: rgba(248, 242, 230, .74);
  text-decoration: none;
}

.page-news .nw-crumb .crumbs a:hover,
.page-news .nw-crumb .crumbs a:focus-visible {
  color: var(--gold-soft);
}

.page-news .nw-crumb .crumbs li[aria-current] {
  color: var(--gold-soft);
}

.page-news .nw-cover__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 5px 15px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(232, 178, 58, .42);
  background: rgba(232, 178, 58, .14);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--gold-soft);
}

.page-news .nw-cover__kicker .mono {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
}

.page-news .nw-cover h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6.4vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ivory);
}

.page-news .nw-cover h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 6px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.page-news .nw-cover__lead {
  margin: 0 0 22px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.9vw, 1.1rem);
  line-height: 1.8;
  color: rgba(248, 242, 230, .84);
}

.page-news .nw-cover__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.page-news .nw-cover__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .nw-cover__acts .btn--ghost {
  border-color: rgba(247, 217, 139, .5);
  color: var(--gold-soft);
}

.page-news .nw-cover__fig {
  margin: 0;
  min-width: 0;
}

.page-news .nw-cover__frame {
  overflow: hidden;
  border-radius: 30px 92px 34px 70px;
  border: 1px solid rgba(232, 178, 58, .34);
  box-shadow: 0 34px 64px -42px rgba(0, 0, 0, .95);
  aspect-ratio: 4 / 3;
  background: rgba(248, 242, 230, .06);
}

.page-news .nw-cover__frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-news .nw-cover__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: .78rem;
  letter-spacing: .05em;
  color: rgba(248, 242, 230, .58);
}

.page-news .nw-cover__cap .mono {
  color: var(--gold);
}

/* ---------- 区块标题 ---------- */
.page-news .nw-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-news .nw-head h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.1vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-news .nw-head .lead {
  margin: 0;
  font-size: clamp(.95rem, 1.7vw, 1.02rem);
  line-height: 1.78;
}

.page-news .band--ink .nw-head h2 {
  color: var(--ivory);
}

.page-news .band--ink .nw-head .lead {
  color: rgba(248, 242, 230, .78);
}

.page-news .band--ink .nw-head .eyebrow {
  color: var(--gold-soft);
}

/* ---------- 三条头条 ---------- */
.page-news .nw-headline-grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 20px);
  grid-template-columns: 1fr;
}

.page-news .nw-headline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--nw-r-lg);
  background: var(--nw-warm);
  border: 1px solid var(--nw-hair);
}

.page-news .nw-headline--lead {
  background: linear-gradient(150deg, rgba(232, 178, 58, .26), rgba(196, 58, 47, .12) 76%);
  border-color: rgba(196, 58, 47, .26);
}

.page-news .nw-headline__wk {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red-deep);
}

.page-news .nw-headline h3 {
  margin: 0;
  font-size: clamp(1.04rem, 2.1vw, 1.26rem);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.01em;
}

.page-news .nw-headline p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--grey);
}

.page-news .nw-headline .badge {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- 规则速览 ---------- */
.page-news .nw-rules__grid {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.page-news .nw-rules__fig {
  margin: 0;
  min-width: 0;
}

.page-news .nw-rules__frame {
  overflow: hidden;
  border-radius: 26px 26px 74px 26px;
  border: 1px solid rgba(142, 35, 28, .2);
  box-shadow: var(--shadow-soft);
  background: var(--ivory);
}

.page-news .nw-rules__frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-news .nw-rules__fig figcaption {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--grey);
  letter-spacing: .02em;
}

.page-news .nw-rules__body {
  min-width: 0;
}

.page-news .nw-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-news .nw-sub::before {
  content: "";
  flex: none;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.page-news .nw-ladder {
  display: grid;
  gap: 9px;
  margin: 0 0 clamp(24px, 4vw, 34px);
  padding: 0;
  list-style: none;
}

.page-news .nw-ladder__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--nw-hair);
  background: rgba(248, 242, 230, .9);
  overflow: hidden;
}

.page-news .nw-ladder__row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 40%);
  background: linear-gradient(90deg, rgba(232, 178, 58, .42), rgba(232, 178, 58, .04));
}

.page-news .nw-ladder__row:nth-child(1) { --w: 34%; }
.page-news .nw-ladder__row:nth-child(2) { --w: 47%; }
.page-news .nw-ladder__row:nth-child(3) { --w: 60%; }
.page-news .nw-ladder__row:nth-child(4) { --w: 73%; }
.page-news .nw-ladder__row:nth-child(5) { --w: 88%; }

.page-news .nw-ladder__row:nth-child(4)::before,
.page-news .nw-ladder__row:nth-child(5)::before {
  background: linear-gradient(90deg, rgba(232, 178, 58, .46), rgba(196, 58, 47, .3));
}

.page-news .nw-ladder__name {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
}

.page-news .nw-ladder__dots {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 6px;
}

.page-news .nw-ladder__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(21, 18, 16, .3);
}

.page-news .nw-cycle {
  margin-bottom: clamp(22px, 4vw, 30px);
}

.page-news .nw-cycle__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(21, 18, 16, .07);
}

.page-news .nw-cycle__seg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
}

.page-news .nw-cycle__seg .mono {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-news .nw-cycle__seg em {
  font-style: normal;
  font-size: .74rem;
  opacity: .84;
}

.page-news .nw-cycle__seg--run {
  color: var(--ivory);
  background: linear-gradient(120deg, var(--red), var(--red-deep));
}

.page-news .nw-cycle__seg--rest {
  color: var(--gold-soft);
  background: var(--ink);
}

.page-news .nw-cycle__note {
  margin: 10px 0 0;
  font-size: .87rem;
  line-height: 1.7;
  color: var(--grey);
}

.page-news .nw-notecard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 18px;
  border: 1px solid rgba(36, 83, 166, .24);
  background: linear-gradient(140deg, rgba(36, 83, 166, .1), rgba(31, 138, 91, .1));
}

.page-news .nw-notecard__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ivory);
  font-size: .95rem;
}

.page-news .nw-notecard p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--ink);
}

.page-news .nw-notecard strong {
  color: var(--red-deep);
  font-weight: 700;
}

/* ---------- 更新日志 ---------- */
.page-news .nw-filters {
  position: sticky;
  top: var(--header-h);
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--ivory) 66%, rgba(248, 242, 230, 0));
}

.page-news .nw-filters .chip {
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}

.page-news .nw-group {
  margin-bottom: clamp(26px, 4.4vw, 40px);
}

.page-news .nw-group:last-child {
  margin-bottom: 0;
}

.page-news .nw-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-news .nw-group__title .mono {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
}

.page-news .nw-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .nw-log__item {
  position: relative;
  padding-left: 20px;
}

.page-news .nw-log__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(232, 178, 58, .85), rgba(232, 178, 58, .1));
}

.page-news .nw-log__item:last-child::before {
  display: none;
}

.page-news .nw-log__item::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--ivory);
}

.page-news .nw-log details {
  border-bottom: 1px solid var(--nw-hair);
}

.page-news .nw-log summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

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

.page-news .nw-log summary:hover,
.page-news .nw-log summary:focus-visible {
  color: var(--red-deep);
}

.page-news .nw-log summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--red);
  transition: transform .24s var(--ease-out);
}

.page-news .nw-log details[open] summary::after {
  transform: rotate(45deg);
}

.page-news .nw-log summary .badge {
  margin-left: auto;
}

.page-news .nw-log__wk {
  flex: none;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--red-deep);
}

.page-news .nw-log__ttl {
  font-size: .95rem;
  line-height: 1.5;
}

.page-news .nw-log__body {
  padding: 0 0 16px;
}

.page-news .nw-log__body p {
  max-width: 66ch;
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--grey);
}

/* ---------- 版本与面板 ---------- */
.page-news .nw-vers__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-news .nw-vers__body {
  min-width: 0;
}

.page-news .nw-vers__list {
  display: grid;
  gap: 11px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-news .nw-vers__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(248, 242, 230, .05);
  border: 1px solid var(--nw-hair-lt);
}

.page-news .nw-vers__tag {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold);
}

.page-news .nw-vers__row h4 {
  margin: 0;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ivory);
}

.page-news .nw-vers__row p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.72;
  color: rgba(248, 242, 230, .72);
}

.page-news .nw-viewtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-news .nw-vers__note {
  margin: 0;
  font-size: .89rem;
  line-height: 1.78;
  color: rgba(248, 242, 230, .72);
}

.page-news .nw-vers__note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .nw-vers__note a:hover,
.page-news .nw-vers__note a:focus-visible {
  color: var(--gold);
}

.page-news .nw-vers__fig {
  margin: 0;
  min-width: 0;
}

.page-news .nw-vers__frame {
  overflow: hidden;
  border-radius: 28px 28px 28px 82px;
  border: 1px solid rgba(232, 178, 58, .28);
  box-shadow: 0 38px 68px -46px #000;
}

.page-news .nw-vers__frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ---------- 专题索引 ---------- */
.page-news .nw-index {
  display: grid;
  gap: clamp(12px, 2.2vw, 18px);
  grid-template-columns: 1fr;
}

.page-news .nw-idx {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: var(--nw-r-lg);
  background: var(--ivory);
  border: 1px solid rgba(142, 35, 28, .16);
  text-decoration: none;
  color: inherit;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}

.page-news .nw-idx:hover,
.page-news .nw-idx:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.page-news .nw-idx__no {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--red);
}

.page-news .nw-idx h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-news .nw-idx p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.72;
  color: var(--grey);
}

.page-news .nw-idx__more {
  margin-top: auto;
  padding-top: 4px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--red-deep);
}

/* ---------- 订阅 ---------- */
.page-news .nw-sub-band {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 74px) 0;
  background:
    radial-gradient(88% 120% at 86% 0%, rgba(247, 217, 139, .9), transparent 62%),
    linear-gradient(132deg, var(--gold) 0%, #d99a28 100%);
  color: var(--ink);
}

.page-news .nw-sub-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  background: rgba(196, 58, 47, .16);
  pointer-events: none;
}

.page-news .nw-sub__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-news .nw-sub__kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(21, 18, 16, .12);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--red-deep);
}

.page-news .nw-sub__copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.62rem, 4.2vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-news .nw-sub__lead {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: clamp(.95rem, 1.7vw, 1.02rem);
  line-height: 1.8;
  color: rgba(21, 18, 16, .82);
}

.page-news .nw-sub__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .nw-sub__acts .btn--ghost {
  border-color: rgba(21, 18, 16, .45);
  color: var(--ink);
  background: transparent;
}

.page-news .nw-push {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .nw-push li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(248, 242, 230, .6);
  border: 1px solid rgba(21, 18, 16, .13);
}

.page-news .nw-push__ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
}

.page-news .nw-push strong {
  display: block;
  font-size: .94rem;
  font-weight: 800;
  color: var(--ink);
}

.page-news .nw-push__d {
  display: block;
  margin-top: 2px;
  font-size: .86rem;
  line-height: 1.65;
  color: rgba(21, 18, 16, .72);
}

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

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

@media (min-width: 900px) {
  .page-news .nw-cover__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }

  .page-news .nw-rules__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
  }

  .page-news .nw-vers__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-news .nw-sub__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
  }
}

@media (min-width: 961px) {
  .page-news .nw-filters {
    top: 0;
  }
}

@media (min-width: 1080px) {
  .page-news .nw-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page-news .nw-log__wk {
    flex-basis: 100%;
  }

  .page-news .nw-log summary .badge {
    margin-left: 0;
  }

  .page-news .nw-cycle__track {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-news .nw-cover__frame {
    border-radius: 22px 60px 24px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .nw-idx,
  .page-news .nw-log summary::after {
    transition: none;
  }

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