.page-news {
  --up-rail: 168px;
  --up-figure-offset: clamp(.9rem, 2.4vw, 1.5rem);
}

/* ============ 首屏 ============ */
.page-news .up-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 5vw, 3rem) 0 clamp(1.8rem, 5vw, 3.4rem);
  background:
    radial-gradient(118% 88% at 86% 4%, rgba(30, 111, 92, .46) 0%, rgba(30, 111, 92, 0) 58%),
    linear-gradient(163deg, #0C1A16 0%, #0C1A16 48%, #0A0C0B 100%);
}

.page-news .up-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -14%;
  width: 58%;
  height: 100%;
  background: linear-gradient(205deg, rgba(30, 111, 92, .38) 0%, rgba(30, 111, 92, 0) 72%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 62%);
  pointer-events: none;
}

.page-news .up-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 4.4vw, 3rem);
}

.page-news .up-hero-copy {
  max-width: 42rem;
}

.page-news .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  font-size: .78rem;
  color: var(--mute);
}

.page-news .breadcrumbs li + li::before {
  content: "/";
  margin-right: .55rem;
  color: var(--line);
}

.page-news .breadcrumbs a {
  color: var(--ink-faint);
  text-decoration: none;
}

.page-news .breadcrumbs a:hover {
  color: var(--neon);
}

.page-news .up-hero h1 {
  margin: .55rem 0 0;
  font-size: clamp(1.85rem, 6.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  max-width: 17em;
}

.page-news .up-lede {
  margin: 1.15rem 0 0;
  max-width: 40em;
  font-size: clamp(.98rem, 2vw, 1.06rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .up-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}

.page-news .up-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 3vw, 2rem);
  margin: clamp(1.7rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-news .up-facts li {
  padding: .8rem 0 .9rem;
  border-bottom: 1px solid var(--line);
}

.page-news .up-facts b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 3vw, 1.38rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--neon);
}

.page-news .up-facts span {
  display: block;
  margin-top: .22rem;
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--mute);
}

/* ============ 图片容器 ============ */
.page-news .up-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(30, 111, 92, .55) 0%, rgba(10, 12, 11, .92) 78%);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.page-news .up-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.page-news .up-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 11, 0) 42%, rgba(10, 12, 11, .58) 100%);
  pointer-events: none;
}

.page-news .up-hero-photo {
  margin: 0;
  aspect-ratio: 14 / 9;
}

.page-news .up-hero-photo img {
  height: 100%;
}

.page-news .up-cap {
  margin: .6rem 0 0;
  font-size: .76rem;
  color: var(--mute);
}

/* ============ 分类快速跳转 ============ */
.page-news .up-index-bar {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .up-index {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  padding: .9rem 0;
}

.page-news .up-index a {
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  padding: .38rem .82rem;
  font-size: .84rem;
  color: var(--ink-soft);
  text-decoration: none;
  background: rgba(42, 58, 54, .52);
  border: 1px solid var(--line);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .up-index a .mono {
  font-size: .72rem;
  opacity: .72;
}

.page-news .up-index a:hover,
.page-news .up-index a:focus-visible {
  color: #0C1A16;
  background: var(--neon);
  border-color: var(--neon);
}

/* ============ 分组 ============ */
.page-news .up-group {
  padding: clamp(2.1rem, 6vw, 3.7rem) 0;
  border-top: 1px solid var(--line);
}

.page-news .up-group:first-of-type {
  border-top: 0;
}

.page-news .up-group-head {
  max-width: 46rem;
  margin-bottom: clamp(1.2rem, 3.4vw, 1.9rem);
  padding-left: var(--up-figure-offset);
  border-left: 3px solid var(--line);
  transition: border-color .3s var(--ease);
}

.page-news .up-group.is-current .up-group-head {
  border-left-color: var(--neon);
}

.page-news .up-group-head h2 {
  margin: .4rem 0 0;
  font-size: clamp(1.32rem, 4.2vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.page-news .up-group-note {
  margin: .7rem 0 0;
  max-width: 42em;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ============ 条目流 ============ */
.page-news .up-stream {
  border-top: 1px solid var(--line);
}

.page-news .up-entry {
  position: relative;
  display: grid;
  gap: .7rem 1.2rem;
  padding: clamp(1rem, 3vw, 1.35rem) var(--up-figure-offset);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color .25s var(--ease), border-left-color .25s var(--ease);
}

.page-news .up-stream > .up-entry:nth-child(even) {
  background: rgba(30, 111, 92, .1);
}

.page-news .up-entry:hover,
.page-news .up-entry:focus-within {
  border-left-color: var(--neon);
  background: rgba(198, 242, 78, .07);
}

.page-news .up-entry-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .6rem;
}

.page-news .up-ver {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--neon);
}

.page-news .up-when {
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--mute);
}

.page-news .up-entry-body {
  max-width: 48em;
}

.page-news .up-entry-body h3 {
  margin: 0;
  font-size: clamp(1rem, 2.7vw, 1.14rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.page-news .up-entry-body p {
  margin: .6rem 0 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 折叠说明 */
.page-news .up-detail {
  margin-top: .7rem;
}

.page-news .up-detail > summary {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .18rem 0;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--neon);
  cursor: pointer;
  list-style: none;
}

.page-news .up-detail > summary::-webkit-details-marker {
  display: none;
}

.page-news .up-detail > summary::before {
  content: "＋";
}

.page-news .up-detail[open] > summary::before {
  content: "－";
}

.page-news .up-detail > summary:hover {
  color: var(--neon-soft);
}

.page-news .up-detail p {
  margin: .55rem 0 0;
  padding-left: .95rem;
  max-width: 44em;
  border-left: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 组内图示 */
.page-news .up-figure {
  margin: clamp(1rem, 3vw, 1.5rem) 0;
}

.page-news .up-figure img {
  aspect-ratio: auto;
}

/* ============ 反馈面板 ============ */
.page-news .up-feedback {
  background: linear-gradient(158deg, rgba(30, 111, 92, .22) 0%, rgba(10, 12, 11, .78) 82%);
}

.page-news .up-feedback .panel-head {
  padding: clamp(1rem, 3vw, 1.3rem) var(--up-figure-offset);
  border-bottom: 1px solid var(--line);
}

.page-news .up-feedback .panel-title {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.16rem);
  font-weight: 600;
  color: var(--ink);
}

.page-news .up-feedback .panel-body {
  padding: clamp(1rem, 3vw, 1.3rem) var(--up-figure-offset) clamp(1.2rem, 3.4vw, 1.6rem);
}

.page-news .up-feedback-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .up-feedback-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .3rem .9rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}

.page-news .up-feedback-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-news .up-fb-key {
  grid-row: 1 / span 2;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--neon);
  padding-top: .15rem;
}

.page-news .up-feedback-list strong {
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
}

.page-news .up-feedback-list p {
  margin: .35rem 0 0;
  max-width: 44em;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-news .up-feedback-tail {
  margin: 1.3rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: 46em;
  font-size: .92rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-news .up-feedback-tail a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 242, 78, .4);
}

.page-news .up-feedback-tail a:hover {
  color: var(--neon-soft);
}

.page-news .up-mail {
  color: var(--ink);
  word-break: break-all;
}

.page-news .up-more-links {
  margin: clamp(1.3rem, 3.6vw, 1.9rem) 0 0;
  font-size: .9rem;
  line-height: 1.9;
  color: var(--mute);
}

.page-news .up-more-links a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 242, 78, .35);
}

.page-news .up-more-links a:hover {
  color: var(--neon-soft);
}

/* ============ 回到顶部 ============ */
.page-news .up-top {
  position: fixed;
  right: clamp(.85rem, 3vw, 1.6rem);
  bottom: clamp(.85rem, 3vw, 1.6rem);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .78rem;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-decoration: none;
  background: rgba(10, 12, 11, .84);
  border: 1px solid var(--line);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease);
}

.page-news .up-top:hover,
.page-news .up-top:focus-visible {
  color: #0C1A16;
  background: var(--neon);
  border-color: var(--neon);
}

/* ============ 响应式 ============ */
@media (min-width: 560px) {
  .page-news .up-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .page-news .up-fb-key {
    padding-top: .1rem;
  }
}

@media (min-width: 780px) {
  .page-news .up-entry {
    grid-template-columns: var(--up-rail) minmax(0, 1fr);
    align-items: start;
  }

  .page-news .up-entry-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding-top: .12rem;
  }

  .page-news .up-figure {
    margin-left: calc(var(--up-figure-offset) + var(--up-rail) + 1.2rem);
  }

  .page-news .up-feedback-list li {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }
}

@media (min-width: 920px) {
  .page-news .up-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
  }

  .page-news .up-hero-photo {
    aspect-ratio: 14 / 11;
  }
}

@media (max-width: 559px) {
  .page-news .up-top {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .up-entry,
  .page-news .up-index a,
  .page-news .up-group-head,
  .page-news .up-top {
    transition: none;
  }
}
