.page-news {
  position: relative;
  overflow-x: hidden;
  background: #0A0F24;
}

/* ---------- Hero 封面区 ---------- */
.page-news .news-hero {
  position: relative;
  padding: 28px 20px 44px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 232, 143, 0.14), transparent 42%),
    radial-gradient(circle at 70% 88%, rgba(157, 92, 255, 0.12), transparent 40%),
    linear-gradient(135deg, #0B1B3F 0%, #0A0F24 60%, #101331 100%);
  border-bottom: 1px solid rgba(160, 170, 191, 0.14);
  overflow: hidden;
}

.page-news .news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00E88F 0%, #9D5CFF 42%, rgba(157, 92, 255, 0.2) 78%, transparent 100%);
  z-index: 2;
}

.page-news .news-hero::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 232, 143, 0.2);
  border-radius: 10px;
  transform: rotate(22deg);
  pointer-events: none;
}

.page-news .news-hero__frame {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-news .news-hero__coord {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(160, 170, 191, 0.7);
  font-family: var(--font-mono);
}

.page-news .news-hero__eyebrow {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00E88F;
}

.page-news .news-hero h1 {
  margin: 12px 0 0;
  max-width: 14em;
  font-size: clamp(1.55rem, 4.5vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.page-news .news-hero__lead {
  margin: 16px 0 0;
  max-width: 40em;
  color: #A0AABF;
  font-size: 0.98rem;
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 620px;
  margin: 28px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(160, 170, 191, 0.22);
  border-bottom: 1px solid rgba(160, 170, 191, 0.22);
  list-style: none;
}

.page-news .news-hero__stat {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #E5E9F0;
  font-family: var(--font-mono);
}

.page-news .news-hero__stat:first-child {
  color: #00E88F;
}

.page-news .news-hero__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #A0AABF;
  text-transform: uppercase;
}

.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 双栏布局：标签索引 + 内容流 ---------- */
.page-news .news-board {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.page-news .news-board__aside-inner {
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, rgba(11, 27, 63, 0.55), rgba(11, 27, 63, 0.18));
  border: 1px solid rgba(157, 92, 255, 0.28);
  border-left: 3px solid #9D5CFF;
  border-radius: 3px;
}

.page-news .news-board__aside .section-title,
.page-news .news-board__main .section-title {
  margin: 0;
}

.page-news .news-board__aside-desc {
  margin: 10px 0 0;
  font-size: 14px;
  color: #A0AABF;
}

.page-news .tag-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-news .tag-index__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 6px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  color: #E5E9F0;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(157, 92, 255, 0.2), rgba(157, 92, 255, 0.05));
  border: 1px solid rgba(157, 92, 255, 0.42);
  border-left: 3px solid #9D5CFF;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.page-news .tag-index__hash {
  color: #9D5CFF;
  font-weight: 700;
}

.page-news .tag-index__item:hover,
.page-news .tag-index__item:focus-visible {
  background: linear-gradient(135deg, rgba(0, 232, 143, 0.28), rgba(0, 232, 143, 0.06));
  border-color: rgba(0, 232, 143, 0.62);
  color: #E5E9F0;
  transform: translateY(-2px);
}

.page-news .tag-index__data {
  margin: 20px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(157, 92, 255, 0.4);
}

.page-news .tag-index__data > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
}

.page-news .tag-index__data dt {
  color: #A0AABF;
}

.page-news .tag-index__data dd {
  margin: 0;
  color: #E5E9F0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: right;
}

.page-news .news-board__figure {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(160, 170, 191, 0.14);
  border-radius: 3px;
}

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

.page-news .news-board__main {
  margin-top: 44px;
}

/* ---------- 垂直线性时间轴 ---------- */
.page-news .news-timeline {
  position: relative;
  margin-top: 22px;
}

.page-news .news-post {
  --post-accent: #00E88F;
  position: relative;
  margin-bottom: 22px;
  padding: 20px 18px 28px;
  background: linear-gradient(180deg, rgba(11, 27, 63, 0.6), rgba(11, 27, 63, 0.12));
  border: 1px solid rgba(160, 170, 191, 0.1);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 0.25s, transform 0.25s;
}

.page-news .news-post:nth-child(1) {
  --post-accent: #00E88F;
}

.page-news .news-post:nth-child(2) {
  --post-accent: #9D5CFF;
}

.page-news .news-post:nth-child(3) {
  --post-accent: #FFD700;
}

.page-news .news-post:nth-child(4) {
  --post-accent: #00E88F;
}

.page-news .news-post::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 8px;
  background: linear-gradient(90deg, var(--post-accent), transparent 72%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  opacity: 0.9;
}

.page-news .news-post:hover,
.page-news .news-post:focus-within {
  border-color: rgba(0, 232, 143, 0.28);
  transform: translateY(-3px);
}

.page-news .news-post:target {
  border-color: #00E88F;
}

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

.page-news .news-post__meta::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 232, 143, 0.32), transparent);
}

.page-news .news-post__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #A0AABF;
  text-transform: uppercase;
}

.page-news .news-post h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.42;
  color: #E5E9F0;
}

.page-news .news-post h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 232, 143, 0.4);
}

.page-news .news-post h3 a:hover,
.page-news .news-post h3 a:focus-visible {
  color: #00E88F;
  border-bottom-color: #00E88F;
}

.page-news .news-post__summary {
  margin: 0;
  color: #B7BFCE;
  font-size: 0.95rem;
}

.page-news .news-post__data {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(160, 170, 191, 0.22);
  font-size: 12px;
  color: #00E88F;
}

.page-news .news-post__data .mono {
  font-family: var(--font-mono);
}

.page-news .news-post__figure {
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(160, 170, 191, 0.12);
  border-radius: 3px;
}

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

/* ---------- 订阅更新 ---------- */
.page-news .news-subscribe {
  position: relative;
  margin: 24px 20px 40px;
  border: 1px solid rgba(0, 232, 143, 0.24);
  border-radius: 6px;
  overflow: hidden;
}

.page-news .news-subscribe__inner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 36px 20px;
  background: linear-gradient(135deg, rgba(11, 27, 63, 0.72), rgba(10, 15, 36, 0.82));
}

.page-news .news-subscribe__inner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-news .news-subscribe__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 24px 20px;
  background: rgba(10, 15, 36, 0.68);
  border: 1px solid rgba(160, 170, 191, 0.16);
  border-radius: 4px;
  text-align: center;
}

.page-news .news-subscribe__panel .section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.page-news .news-subscribe__desc {
  margin: 12px auto 0;
  max-width: 30em;
  color: #B7BFCE;
  font-size: 0.95rem;
}

.page-news .news-subscribe__details {
  margin-top: 20px;
  text-align: left;
}

.page-news .news-subscribe__details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 0;
  font-weight: 600;
  color: #00E88F;
}

.page-news .news-subscribe__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #A0AABF;
}

.page-news .news-subscribe__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-subscribe__row .btn {
  flex: 0 0 auto;
}

.page-news .news-subscribe__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(224, 233, 240, 0.08);
  border: 1px solid rgba(160, 170, 191, 0.32);
  border-radius: 3px;
  color: #E5E9F0;
  font-family: var(--font-body);
  font-size: 15px;
}

.page-news .news-subscribe__input:focus {
  outline: none;
  border-color: #00E88F;
  box-shadow: 0 0 0 2px rgba(0, 232, 143, 0.14);
}

.page-news .news-subscribe__hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #A0AABF;
  line-height: 1.6;
}

.page-news .news-subscribe__hint a {
  color: #9D5CFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 响应式：平板与桌面 ---------- */
@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 36px 32px 56px;
  }

  .page-news .news-hero__coord {
    display: block;
  }

  .page-news .news-hero__stats {
    gap: 16px;
  }

  .page-news .news-post {
    padding: 24px 24px 32px;
  }

  .page-news .news-subscribe__panel {
    padding: 32px 36px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-board {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding-top: 56px;
  }

  .page-news .news-board__aside-inner {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-news .news-board__main {
    margin-top: 0;
  }

  .page-news .news-timeline {
    padding-left: 24px;
  }

  .page-news .news-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, #00E88F 0%, #9D5CFF 38%, rgba(157, 92, 255, 0.12) 100%);
  }

  .page-news .news-post {
    margin-bottom: 28px;
  }

  .page-news .news-subscribe {
    margin: 48px 40px 64px;
  }
}

@media (min-width: 1400px) {
  .page-news .news-subscribe {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--content-max) - 160px);
  }
}
