.page-news {
  --jn-line: rgba(157, 181, 170, .24);
  --jn-soft: rgba(157, 181, 170, .12);
  --jn-panel: rgba(18, 63, 52, .58);
  --jn-panel-deep: rgba(11, 43, 36, .92);
  position: relative;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  color: var(--paper);
  background:
    radial-gradient(720px 360px at 92% -6%, rgba(200, 255, 61, .08), transparent 70%),
    radial-gradient(560px 300px at 2% 14%, rgba(93, 224, 212, .055), transparent 72%);
}

.page-news [id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.page-news h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  color: var(--paper);
}

.page-news h2 {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.jn-hero {
  padding: clamp(1.25rem, 3.5vw, 2.5rem) 0 clamp(2rem, 4.5vw, 3.5rem);
}

.jn-hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.jn-hero__copy .lede {
  max-width: 34rem;
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  line-height: 1.78;
  color: rgba(244, 241, 232, .8);
  margin: 0;
}

.jn-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}

.jn-kicker__dot {
  width: .45rem;
  height: .45rem;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, .14);
}

.jn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}

.jn-hero__facts {
  list-style: none;
  display: grid;
  gap: .9rem;
  margin: 1.75rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--jn-line);
}

.jn-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}

.jn-hero__facts .num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--sand);
}

.jn-hero__media {
  margin: 0;
  position: relative;
}

.jn-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(232, 196, 138, .32);
  box-shadow: 12px 12px 0 rgba(6, 26, 22, .55);
}

.jn-hero__media .media-frame__caption {
  margin-top: .9rem;
  font-size: .78rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 索引公告板 ---------- */
.jn-board {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 4.5vw, 3rem);
}

.jn-board__inner {
  position: relative;
  border: 1px solid var(--jn-line);
  border-top: 2px solid rgba(200, 255, 61, .45);
  border-radius: 2px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background:
    repeating-linear-gradient(90deg, rgba(157, 181, 170, .05) 0 1px, transparent 1px 46px),
    linear-gradient(180deg, rgba(18, 63, 52, .78), rgba(11, 43, 36, .94));
  box-shadow: 0 18px 0 -10px rgba(6, 26, 22, .55);
}

.jn-board__pin {
  position: absolute;
  top: -1px;
  left: clamp(1.25rem, 3vw, 2.25rem);
  width: 54px;
  height: 3px;
  background: var(--lime);
}

.jn-board__lede {
  margin: .85rem 0 0;
  max-width: 46rem;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(244, 241, 232, .76);
}

.jn-board__list {
  list-style: none;
  counter-reset: none;
  display: grid;
  gap: 1px;
  margin: 1.6rem 0 0;
  padding: 0;
  background: var(--jn-line);
  border: 1px solid var(--jn-line);
}

.jn-board__item {
  display: flex;
  gap: .85rem;
  padding: 1.15rem;
  background: rgba(9, 35, 29, .94);
}

.jn-board__no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid rgba(232, 196, 138, .5);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--sand);
}

.jn-board__item h3 {
  margin: 0 0 .4rem;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--paper);
}

.jn-board__item p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(244, 241, 232, .72);
}

/* ---------- 日志流 ---------- */
.jn-live {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.jn-head-aside {
  margin: .9rem 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}

.jn-inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 224, 212, .45);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.jn-inline-link:hover,
.jn-inline-link:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}

.jn-live__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
}

.month-rail {
  border-top: 2px solid var(--lime);
  padding-top: .8rem;
}

.month-rail__label {
  margin: 0 0 .8rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.month-list {
  list-style: none;
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0 0 .35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.month-link {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  padding: .55rem .7rem;
  border: 1px solid var(--jn-line);
  color: var(--paper);
  text-decoration: none;
  font-size: .84rem;
  white-space: nowrap;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.month-link:hover,
.month-link:focus-visible {
  border-color: var(--lime-line);
  background: rgba(200, 255, 61, .08);
  color: var(--lime);
}

.month-link .num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--sand);
}

.month-link__count {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--muted);
}

.journal-main {
  min-width: 0;
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--jn-line);
}

.filter-note {
  margin: .85rem 0 1.5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--muted);
}

.filter-note [data-filter-count] {
  color: var(--lime);
}

.log-group {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.log-group:last-child {
  margin-bottom: 0;
}

.log-group__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.log-group__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}

.log-group__rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--jn-line);
}

.log-stream {
  display: grid;
  gap: 1rem;
}

.log-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1rem, 2.2vw, 1.4rem);
  border: 1px solid var(--jn-line);
  border-left: 3px solid rgba(200, 255, 61, .3);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(18, 63, 52, .62), rgba(11, 43, 36, .92));
  color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.log-card:hover {
  border-color: rgba(200, 255, 61, .4);
  border-left-color: var(--lime);
  transform: translateY(-2px);
}

.log-card__media {
  margin: 0;
}

.log-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--jn-line);
}

.log-card__body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;
}

.log-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.log-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  line-height: 1.35;
  color: var(--paper);
}

.log-card p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(244, 241, 232, .75);
}

.log-card__note {
  font-size: .78rem;
  line-height: 1.7;
  color: var(--muted);
}

.log-more {
  margin-top: .3rem;
  padding-top: .55rem;
  border-top: 1px dashed var(--jn-soft);
}

.log-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.log-more summary::-webkit-details-marker {
  display: none;
}

.log-more summary::before {
  content: "+";
  font-size: .95rem;
  line-height: 1;
}

.log-more[open] summary::before {
  content: "−";
}

.log-more summary:hover,
.log-more summary:focus-visible {
  color: var(--lime);
}

.log-more p {
  margin-top: .6rem;
  font-size: .82rem;
  line-height: 1.75;
}

/* ---------- 专题 ---------- */
.jn-topics {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.jn-topic-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--jn-line);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(18, 63, 52, .8), rgba(6, 26, 22, .95));
}

.topic-card__media {
  margin: 0;
}

.topic-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(232, 196, 138, .28);
}

.topic-card__body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: flex-start;
}

.topic-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  letter-spacing: .01em;
  color: var(--lime);
}

.topic-card__body p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.78;
  color: rgba(244, 241, 232, .78);
}

.topic-stages {
  border: 1px solid var(--jn-line);
  border-top: 2px solid rgba(232, 196, 138, .5);
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.topic-stages__label {
  margin: 0 0 .9rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
}

.topic-stage-list {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--jn-line);
}

.topic-stage {
  display: flex;
  gap: .8rem;
  padding: .9rem .25rem;
  background: rgba(11, 43, 36, .9);
}

.topic-stage__no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--lime);
  line-height: 1.6;
}

.topic-stage h4 {
  margin: 0 0 .3rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--paper);
}

.topic-stage p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(244, 241, 232, .7);
}

/* ---------- 订阅与回溯 ---------- */
.jn-cta {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.jn-cta__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vw, 2rem);
}

.jn-cta__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid var(--jn-line);
  border-radius: 2px;
  background: rgba(18, 63, 52, .5);
}

.jn-cta__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.35;
  color: var(--paper);
}

.jn-cta__card p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(244, 241, 232, .76);
}

.jn-cta__card--lime {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 8px 8px 0 rgba(6, 26, 22, .55);
}

.jn-cta__card--lime h3,
.jn-cta__card--lime p {
  color: var(--ink);
}

.jn-btn-ink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .35rem;
  padding: .58rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: .84rem;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.jn-btn-ink:hover,
.jn-btn-ink:focus-visible {
  background: transparent;
  color: var(--ink);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .jn-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .jn-board__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .log-card--sideways {
    flex-direction: row;
    align-items: stretch;
  }

  .log-card--sideways .log-card__media {
    flex: 0 0 40%;
  }

  .log-card--sideways .log-card__media img {
    height: 100%;
    min-height: 190px;
  }
}

@media (min-width: 900px) {
  .jn-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }

  .log-stream {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
  }

  .log-card--lead {
    grid-column: span 7;
  }

  .log-card--tall {
    grid-column: span 5;
  }

  .log-card--wide {
    grid-column: span 8;
  }

  .log-card--slim {
    grid-column: span 4;
  }

  .log-card--half {
    grid-column: span 6;
  }

  .log-card--offset {
    margin-top: 2.25rem;
  }

  .jn-topic-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .jn-live__grid {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
  }

  .month-rail {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .month-list {
    flex-direction: column;
    gap: .3rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .month-link {
    width: 100%;
  }

  .month-link__count {
    margin-left: auto;
  }

  .jn-cta__grid {
    grid-template-columns: 1.15fr .925fr .925fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .log-card,
  .page-news .month-link,
  .page-news .jn-inline-link,
  .page-news .jn-btn-ink {
    transition: none;
  }
}
