/* ============ 赛事日志 /journal/ 页面专属样式 ============ */
.page-news {
  overflow-x: clip;
  background: var(--color-deepblue);
  color: var(--color-warmgray);
}

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

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--color-stone);
}
.page-news .breadcrumb a {
  color: var(--color-warmgray);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.page-news .breadcrumb a:hover {
  color: var(--color-lime);
}
.page-news .breadcrumb__sep {
  opacity: 0.55;
}
.page-news .breadcrumb [aria-current="page"] {
  color: var(--color-paper);
  font-weight: 600;
}

/* ---------- 日志头图 ---------- */
.page-news .journal-hero {
  position: relative;
  padding: 36px 0 64px;
  overflow: hidden;
}
.page-news .journal-hero::before,
.page-news .journal-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.page-news .journal-hero::before {
  top: 24px;
  right: -14%;
  width: 52%;
  height: 220px;
  background: linear-gradient(135deg, rgba(255, 106, 60, 0.22), rgba(255, 106, 60, 0));
  border-radius: var(--radius-xl);
  transform: rotate(-9deg);
}
.page-news .journal-hero::after {
  top: 150px;
  right: 6%;
  width: 28%;
  height: 12px;
  background: var(--color-lime);
  opacity: 0.38;
  border-radius: var(--radius-pill);
  transform: rotate(5deg);
}
.page-news .journal-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}
.page-news .journal-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin: 0 0 8px;
}
.page-news .journal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 72px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-paper);
  margin: 0 0 18px;
}
.page-news .journal-hero__lead {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-warmgray);
  margin: 0;
}
.page-news .journal-hero__lead strong {
  color: var(--color-paper);
  font-weight: 600;
}
.page-news .journal-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 520px;
}
.page-news .issue-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}
.page-news .issue-stat__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-stone);
  white-space: nowrap;
}
.page-news .issue-stat__value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-lime);
  line-height: 1.2;
}
.page-news .journal-hero__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-card);
}
.page-news .journal-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 最新更新 + 版本归档 ---------- */
.page-news .journal-index {
  border-radius: 36px 36px 0 0;
  margin-top: -12px;
  padding: 64px 0 96px;
}
.page-news .journal-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.page-news .section-head {
  margin-bottom: 24px;
}
.page-news .feed-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.page-news .feed-filter__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-stone);
  margin-right: 4px;
}
.page-news .feed-filter__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  background: var(--color-paper-dim);
  color: var(--color-abyss);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.page-news .feed-filter__tag:hover {
  background: var(--color-abyss);
  color: var(--color-lime);
  border-color: var(--color-abyss);
}
.page-news .feed-filter__tag:focus-visible {
  outline: 2px solid var(--color-terra);
  outline-offset: 2px;
}
.page-news .feed-filter__tag:target {
  background: var(--color-abyss);
  color: var(--color-lime);
  border-color: var(--color-lime);
}
.page-news .feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-news .journal-entry {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--color-abyss);
  color: var(--color-warmgray);
  padding: 18px 20px;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.page-news .journal-entry:hover {
  border-color: var(--color-terra);
  transform: translateX(2px);
}
.page-news .journal-entry__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-news .entry-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.page-news .entry-tag--schedule {
  background: rgba(255, 106, 60, 0.16);
  color: #ffc39b;
}
.page-news .entry-tag--version {
  background: rgba(200, 255, 0, 0.12);
  color: var(--color-lime);
}
.page-news .entry-tag--highlights {
  background: rgba(195, 107, 73, 0.18);
  color: #f0b296;
}
.page-news .entry-tag--archive {
  background: rgba(217, 179, 106, 0.14);
  color: var(--color-gold);
}
.page-news .entry-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-stone);
}
.page-news .journal-entry__title {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-paper);
  margin: 10px 0 0;
  font-weight: 600;
}
.page-news .journal-entry__detail {
  margin-top: 6px;
}
.page-news .journal-entry summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-terra);
  transition: color 180ms var(--ease-out);
}
.page-news .journal-entry summary::-webkit-details-marker {
  display: none;
}
.page-news .journal-entry summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--color-lime);
}
.page-news .journal-entry details[open] summary::before {
  content: "−";
}
.page-news .journal-entry details[open] summary {
  color: var(--color-lime);
}
.page-news .journal-entry__detail p {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-lime);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-warmgray);
}

/* ---------- 版本归档对照 ---------- */
.page-news .journal-aside {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  background: var(--color-abyss);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}
.page-news .journal-aside__head {
  margin-bottom: 20px;
}
.page-news .journal-aside__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin: 0 0 6px;
}
.page-news .journal-aside__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-paper);
  margin: 0 0 8px;
}
.page-news .journal-aside__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-warmgray);
  margin: 0;
}
.page-news .version-table {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 0 20px;
}
.page-news .version-table__row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.8fr;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 13px;
}
.page-news .version-table__row:last-child {
  border-bottom: 0;
}
.page-news .version-table__row--head {
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-stone);
}
.page-news .version-table__code {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-paper);
}
.page-news .version-table__status {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.page-news .version-table__status--sync {
  background: var(--color-lime);
  color: var(--color-abyss);
}
.page-news .version-table__status--archived {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-warmgray);
}
.page-news .journal-aside__figure {
  margin: 0 0 16px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.page-news .journal-aside__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-news .archive-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-stone);
}
.page-news .archive-note a {
  color: var(--color-lime);
  font-weight: 600;
  text-decoration: none;
}
.page-news .archive-note a:hover {
  text-decoration: underline;
}

/* ---------- 集锦专题 ---------- */
.page-news .highlights-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
}
.page-news .highlights-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -4%;
  width: 46%;
  height: 16px;
  background: var(--color-orange);
  border-radius: var(--radius-pill);
  transform: rotate(-3deg);
  transform-origin: right top;
  opacity: 0.7;
}
.page-news .highlight-showcase {
  margin: 0 0 24px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-card);
}
.page-news .highlight-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-news .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-news .highlight-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  padding: 22px 20px;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.page-news .highlight-card:hover {
  border-color: var(--color-terra);
  transform: translateX(2px);
}
.page-news .highlight-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin: 0 0 8px;
}
.page-news .highlight-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-paper);
  margin: 0 0 6px;
}
.page-news .highlight-card__time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-lime);
  margin-bottom: 10px;
}
.page-news .highlight-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-warmgray);
  margin: 0;
}

/* ---------- 订阅与提醒 ---------- */
.page-news .subscribe-section {
  border-radius: 36px 36px 0 0;
  margin-top: -40px;
  padding: 88px 0 112px;
}
.page-news .subscribe-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-news .subscribe-steps {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-news .subscribe-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--color-paper-dim);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-abyss);
  font-weight: 500;
}
.page-news .subscribe-step__num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-abyss);
  color: var(--color-lime);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-news .subscribe-figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card);
}
.page-news .subscribe-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 断点与动效偏好 ---------- */
@media (min-width: 700px) {
  .page-news .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .journal-hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .page-news .journal-hero {
    padding: 48px 0 88px;
  }
  .page-news .journal-hero__grid {
    gap: 36px;
  }
  .page-news .journal-hero__title {
    font-size: 68px;
    max-width: 720px;
  }
  .page-news .journal-hero__lead {
    font-size: 17px;
  }
  .page-news .journal-hero__figure {
    aspect-ratio: 16 / 5.4;
  }
  .page-news .journal-index {
    padding: 84px 0 116px;
  }
  .page-news .journal-index__grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 72px;
  }
  .page-news .journal-aside {
    padding: 32px 28px;
  }
  .page-news .subscribe-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition: none !important;
  }
}
