/* ===== 当季手记 / page-news ===== */
.page-news {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.85;
  overflow-x: clip;
}

.page-news .news-crumb {
  background: var(--paper);
  padding: 18px 0 0;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-12);
  color: var(--slate);
}

.page-news .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(90, 107, 122, 0.55);
}

.page-news .breadcrumb a {
  color: var(--deep-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 64, 95, 0.28);
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  border-bottom-color: var(--coral);
  color: var(--coral);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 72px 0 84px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(120% 92% at 88% 4%, rgba(217, 162, 74, 0.24), transparent 58%),
    linear-gradient(155deg, var(--deep) 0%, var(--deep-2) 62%, #0e3552 100%);
  color: var(--warm);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(240, 217, 168, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.55;
  pointer-events: none;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .eyebrow {
  color: var(--gold);
}

.page-news .news-hero h1 {
  margin: 14px 0 0;
  max-width: 20em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--warm);
}

.page-news .news-hero .lede {
  max-width: 40em;
  margin: 22px 0 0;
  font-size: var(--fs-17);
  color: var(--gold-soft);
}

.page-news .news-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  margin: 38px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(240, 217, 168, 0.3);
}

.page-news .news-figures dt {
  margin: 0 0 6px;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: rgba(240, 217, 168, 0.82);
}

.page-news .news-figures dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-17);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--warm);
}

/* ---------- 本季封面 ---------- */
.page-news .news-cover-wrap {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.page-news .news-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 64px -38px rgba(11, 43, 69, 0.72);
}

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

/* ---------- 段落胶囊导航 ---------- */
.page-news .news-jump {
  margin-top: 28px;
}

.page-news .news-jump-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.page-news .news-jump-inner::-webkit-scrollbar {
  display: none;
}

.page-news .news-jump-link {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid rgba(90, 107, 122, 0.28);
  background: var(--warm);
  color: var(--ink);
  font-size: var(--fs-14);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.page-news .news-jump-link:hover,
.page-news .news-jump-link:focus-visible {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--deep);
}

/* ---------- 右侧时间刻度 ---------- */
.page-news .news-scale {
  display: none;
}

.page-news .news-scale-link {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(90, 107, 122, 0.32);
  text-indent: -9999px;
  overflow: hidden;
  transition: width 0.25s ease, background 0.25s ease;
}

.page-news .news-scale-link:hover,
.page-news .news-scale-link:focus-visible {
  background: var(--deep-2);
  width: 34px;
}

.page-news .news-scale-link[aria-current="true"] {
  width: 40px;
  background: var(--gold);
}

/* ---------- 章节通用 ---------- */
.page-news .news-section {
  position: relative;
  padding: 68px 0 76px;
}

.page-news .news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.page-news .news-section--series::before {
  height: 3px;
  background: var(--mist);
}

.page-news .news-section--rules::before {
  height: 3px;
  background: var(--indigo);
}

.page-news .news-section--archive::before {
  height: 3px;
  background: var(--wine);
}

.page-news .news-section--tips::before {
  height: 5px;
  background: var(--coral);
}

.page-news .news-section .eyebrow {
  color: var(--slate);
}

.page-news .news-section .section-title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--deep);
}

.page-news .news-section .lede {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: var(--fs-17);
}

.page-news .news-section .prose {
  max-width: var(--measure);
}

/* ---------- 当季条目列表 ---------- */
.page-news .news-entries {
  display: grid;
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  scroll-margin-top: 96px;
}

.page-news .entry-no {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-variant-numeric: tabular-nums;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.page-news .entry-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 20px 28px;
  border: 1px solid rgba(90, 107, 122, 0.18);
  border-radius: var(--radius-md);
  background: var(--warm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-news .entry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gold);
}

.page-news .entry-card--entry::before {
  background: var(--deep);
}

.page-news .entry-card--version::before {
  background: var(--mist);
}

.page-news .entry-card--section::before {
  background: var(--gold);
}

.page-news .entry-card--dynamic::before {
  background: var(--indigo);
}

.page-news .entry-card--feedback::before {
  background: var(--coral);
}

.page-news .entry-card--guide::before {
  background: var(--wine);
}

.page-news .entry-card:hover,
.page-news .entry-card:focus-within {
  border-color: rgba(217, 162, 74, 0.55);
  box-shadow: 0 18px 40px -30px rgba(11, 43, 69, 0.55);
}

.page-news .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.page-news .entry-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--pill);
  background: rgba(143, 189, 180, 0.22);
  color: var(--deep-2);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.page-news .entry-when {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--slate);
  letter-spacing: 0.02em;
}

.page-news .entry-title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-21);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .entry-text {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 16px;
  color: var(--ink);
}

.page-news .entry-more {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(90, 107, 122, 0.32);
}

.page-news .entry-more-sum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-14);
  color: var(--deep-2);
}

.page-news .entry-more-sum::-webkit-details-marker {
  display: none;
}

.page-news .entry-more-sum::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.3s ease;
}

.page-news .entry-more[open] .entry-more-sum::after {
  transform: rotate(-135deg) translate(-1px, 2px);
}

.page-news .entry-more-body {
  padding-top: 10px;
  font-size: var(--fs-14);
  color: var(--slate);
}

.page-news .entry-more-body p {
  margin: 0;
}

/* ---------- 连载专题 ---------- */
.page-news .news-series {
  margin-top: 38px;
}

.page-news .series-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.page-news .series-list {
  display: grid;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .series-item {
  padding: 24px 24px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(143, 189, 180, 0.5);
  background: linear-gradient(180deg, rgba(143, 189, 180, 0.16) 0%, rgba(255, 251, 243, 0.9) 100%);
}

.page-news .series-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.page-news .series-no {
  font-family: var(--font-mono);
  font-size: var(--fs-21);
  font-variant-numeric: tabular-nums;
  color: var(--deep-2);
  letter-spacing: 0.06em;
}

.page-news .series-flag {
  padding: 3px 11px;
  border-radius: var(--pill);
  background: rgba(122, 46, 59, 0.12);
  color: var(--wine);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.page-news .series-flag--new {
  background: rgba(217, 162, 74, 0.2);
  color: #8a6420;
}

.page-news .series-title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-21);
  color: var(--deep);
}

.page-news .series-item p {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--ink);
}

.page-news .series-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-12) !important;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* ---------- 撰写规范 ---------- */
.page-news .rules-layout {
  margin-top: 34px;
}

.page-news .rules-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.page-news .rules-body {
  margin-top: 28px;
}

.page-news .rules-body .prose {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.page-news .rules-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .rules-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(59, 49, 104, 0.06);
}

.page-news .rules-no {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-variant-numeric: tabular-nums;
  color: var(--indigo);
  padding-top: 2px;
}

.page-news .rules-list p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}

.page-news .rules-list strong {
  font-weight: 600;
  color: var(--deep);
}

/* ---------- 往季回看 ---------- */
.page-news .archive-layout {
  margin-top: 34px;
}

.page-news .archive-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.page-news .archive-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .archive-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 46, 59, 0.22);
  background: var(--warm);
  opacity: 0.78;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.page-news .archive-item:hover,
.page-news .archive-item:focus-within {
  opacity: 1;
  border-color: var(--wine);
}

.page-news .archive-q {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--wine);
}

.page-news .archive-title {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--deep);
}

.page-news .archive-item p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--slate);
}

.page-news .archive-note {
  margin: 26px 0 0;
  max-width: var(--measure);
  font-size: 15px;
  color: var(--slate);
}

.page-news .archive-note a {
  color: var(--deep-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 105, 75, 0.55);
}

.page-news .archive-note a:hover,
.page-news .archive-note a:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 提供线索 ---------- */
.page-news .tip-card {
  padding: 34px 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(228, 105, 75, 0.35);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(228, 105, 75, 0.16), transparent 62%),
    var(--warm);
}

.page-news .tip-card .eyebrow {
  color: var(--coral);
}

.page-news .tip-card .section-title {
  color: var(--deep);
}

.page-news .tip-card .prose {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--ink);
}

.page-news .tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-news .tip-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(90, 107, 122, 0.3);
  font-size: var(--fs-14);
  color: var(--slate);
}

/* ---------- 交互态与可访问性 ---------- */
.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-news [data-reveal] {
  opacity: 1;
}

/* ---------- 自适应 ---------- */
@media (min-width: 620px) {
  .page-news .news-figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .entry-card {
    padding: 26px 30px 22px 34px;
  }
}

@media (min-width: 820px) {
  .page-news .news-section {
    padding: 84px 0 92px;
  }

  .page-news .news-entries {
    gap: 22px;
  }

  .page-news .news-entry {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
  }

  .page-news .news-entry:nth-child(even) .entry-card {
    margin-left: 42px;
  }

  .page-news .news-entry:nth-child(3n) .entry-card {
    margin-left: 18px;
  }

  .page-news .series-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
  }

  .page-news .series-item:nth-child(2) {
    margin-top: 54px;
  }

  .page-news .series-item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 66%;
    margin-top: 6px;
  }

  .page-news .rules-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .rules-body {
    margin-top: 0;
  }

  .page-news .archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-news .archive-list {
    margin-top: 0;
  }

  .page-news .tip-card {
    padding: 44px 48px 38px;
  }
}

@media (min-width: 1100px) {
  .page-news .news-scale {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
  }

  .page-news .news-hero {
    padding: 88px 0 96px;
  }
}

@media (max-width: 480px) {
  .page-news .news-hero {
    padding: 56px 0 68px;
  }

  .page-news .news-cover-wrap {
    margin-top: -34px;
  }

  .page-news .entry-card {
    padding: 20px 18px 18px 22px;
  }

  .page-news .news-entry {
    gap: 8px;
  }

  .page-news .tip-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
</style>
