.page-news {
  --n-hair: rgba(168, 181, 174, 0.2);
  --n-hair-strong: rgba(30, 91, 71, 0.85);
  --n-card: rgba(7, 42, 32, 0.62);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(247, 243, 233, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 243, 233, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--paper);
  font-family: var(--font-body);
  padding-bottom: 72px;
}

.page-news :focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.page-news .media-frame {
  display: block;
  overflow: hidden;
  background: var(--ink-deep);
}

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

/* ---------- 面包屑 ---------- */
.news-topbar {
  padding: 20px 0 0;
}

.page-news .news-topbar .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-topbar .breadcrumb-link {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.page-news .news-topbar .breadcrumb-link:hover {
  color: var(--paper);
}

.page-news .news-topbar .breadcrumb-link[aria-current="page"] {
  color: var(--lime);
}

.page-news .news-topbar .breadcrumb-separator {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
}

/* ---------- 页头 ---------- */
.news-masthead {
  padding: 26px 0 34px;
}

.news-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--n-hair);
}

.news-kicker span {
  color: var(--lime);
}

.news-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 11vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.news-lede {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(247, 243, 233, 0.82);
  font-size: 16px;
  line-height: 1.75;
}

.news-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--n-hair);
}

.news-statline span {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.news-statline b {
  margin-left: 8px;
  color: var(--paper);
  font-weight: 600;
}

/* ---------- 首条更新 ---------- */
.lead-update {
  display: grid;
  gap: 0;
  background: var(--ink-deep);
  border: 1px solid var(--n-hair-strong);
  border-left: 3px solid var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.lead-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 28px;
}

.lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.lead-text {
  margin: 0;
  color: rgba(247, 243, 233, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

.lead-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--n-hair);
}

.lead-stamp {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lead-media {
  aspect-ratio: 16 / 10;
}

/* ---------- 章节索引 ---------- */
.news-toc-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 7;
  margin-top: 34px;
  background: rgba(4, 26, 20, 0.94);
  border-top: 1px solid var(--n-hair);
  border-bottom: 1px solid var(--n-hair);
}

.news-toc-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.news-toc-list::-webkit-scrollbar {
  display: none;
}

.news-toc-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.news-toc-link:hover {
  color: var(--paper);
  border-color: var(--n-hair-strong);
}

.news-toc-link[aria-current="true"] {
  color: var(--ink-black);
  background: var(--lime);
  border-color: var(--lime);
}

/* ---------- 主体栅格 ---------- */
.news-body {
  display: grid;
  gap: 38px;
  padding-top: 44px;
}

.n-sec-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.n-sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.n-sec-note {
  margin: 0;
  max-width: 52ch;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 更新列表 ---------- */
.update-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-item {
  padding: 20px 0 22px;
  border-top: 1px solid var(--n-hair);
  transition: background-color var(--dur) var(--ease);
}

.update-item:hover {
  background: rgba(7, 42, 32, 0.55);
}

.update-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.update-num {
  color: var(--lime);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.update-time {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: right;
}

.update-title {
  margin: 8px 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  transition: color var(--dur) var(--ease);
}

.update-item:hover .update-title,
.update-item:focus-within .update-title {
  color: var(--lime);
}

.update-text {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.72;
  transition: color var(--dur) var(--ease);
}

.update-item:hover .update-text {
  color: rgba(247, 243, 233, 0.86);
}

.update-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.u-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--n-hair-strong);
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.u-tag--lime {
  border-color: rgba(198, 255, 61, 0.55);
  color: var(--lime);
}

/* ---------- 赛季索引 ---------- */
.season-aside {
  padding: 22px 20px 24px;
  background: var(--n-card);
  border: 1px solid var(--n-hair-strong);
  border-top: 2px solid var(--lime-deep);
}

.aside-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
}

.aside-note {
  margin: 8px 0 0;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}

.season-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.season-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--n-hair-strong);
  color: var(--paper);
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.season-tag:hover,
.season-tag:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(198, 255, 61, 0.08);
}

.aside-media {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--n-hair);
}

.aside-foot {
  margin: 16px 0 0;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 本周专题 ---------- */
.news-weekly {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

.weekly-media {
  aspect-ratio: 4 / 3;
  border-left: 2px solid var(--lime-deep);
}

.weekly-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.weekly-text {
  margin: 0;
  color: rgba(247, 243, 233, 0.82);
  font-size: 15px;
  line-height: 1.78;
}

.weekly-steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.weekly-steps li {
  position: relative;
  padding-left: 42px;
  color: rgba(247, 243, 233, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.weekly-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--lime);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.weekly-body .btn {
  justify-self: start;
}

/* ---------- 更新节奏 ---------- */
.news-rhythm {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--n-hair);
}

.rhythm-grid {
  display: grid;
  gap: 1px;
  background: var(--n-hair);
  border: 1px solid var(--n-hair);
}

.rhythm-cell {
  padding: 22px 20px 24px;
  background: var(--ink);
}

.rhythm-key {
  display: inline-block;
  color: var(--mint);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.rhythm-cell h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.rhythm-cell p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- 赛季归档 ---------- */
.news-archive {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--n-hair);
}

.archive-grid {
  display: grid;
  gap: 18px;
}

.archive-card {
  padding: 20px;
  background: rgba(7, 42, 32, 0.5);
  border: 1px solid var(--n-hair-strong);
  border-left: 2px solid var(--moss);
  scroll-margin-top: calc(var(--header-h) + 80px);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.archive-card:hover {
  border-left-color: var(--lime-deep);
}

.archive-card:target {
  border-left-color: var(--lime);
  background: rgba(198, 255, 61, 0.07);
}

.archive-year {
  margin: 0;
  color: var(--lime);
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.archive-card h3 {
  margin: 4px 0 14px;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.archive-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list li {
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--n-hair);
  color: rgba(247, 243, 233, 0.84);
  font-size: 14px;
  line-height: 1.6;
}

.archive-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* ---------- 回来接着看 ---------- */
.news-revisit {
  display: grid;
  gap: 20px;
  margin-top: 56px;
  padding: 24px 20px;
  background: var(--ink-deep);
  border: 1px solid var(--n-hair-strong);
}

.news-revisit .n-sec-title {
  margin: 10px 0 12px;
}

.news-revisit p {
  margin: 0;
  color: rgba(247, 243, 233, 0.84);
  font-size: 15px;
  line-height: 1.78;
}

.revisit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

/* ---------- 订阅 ---------- */
.news-subscribe {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--n-hair-strong);
}

.news-subscribe-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.news-subscribe-inner {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px 20px 32px;
  background: linear-gradient(100deg, rgba(11, 61, 46, 0.95) 0%, rgba(11, 61, 46, 0.78) 60%, rgba(11, 61, 46, 0.5) 100%);
}

.sub-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.sub-text {
  margin: 0;
  max-width: 52ch;
  color: rgba(247, 243, 233, 0.86);
  font-size: 15px;
  line-height: 1.75;
}

.news-mail {
  margin: 4px 0 0;
  color: var(--lime);
  font-family: var(--font-num);
  font-size: clamp(15px, 2.6vw, 20px);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.sub-note {
  margin: 0;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.news-subscribe-inner .btn {
  justify-self: start;
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .lead-body {
    padding: 28px 28px 32px;
  }

  .rhythm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhythm-cell:last-child {
    grid-column: 1 / -1;
  }

  .news-revisit {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 28px 26px;
  }
}

@media (min-width: 760px) {
  .update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-weekly {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
  }

  .news-subscribe-inner {
    padding: 40px 36px 44px;
  }
}

@media (min-width: 900px) {
  .lead-update {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .lead-body {
    padding: 38px 36px 36px;
  }

  .lead-media {
    aspect-ratio: auto;
    height: 100%;
    border-left: 1px solid var(--n-hair);
  }

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

  .rhythm-cell:last-child {
    grid-column: auto;
  }
}

@media (min-width: 980px) {
  .news-body {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
  }

  .season-aside {
    position: sticky;
    top: calc(var(--header-h) + 76px);
  }

  .news-subscribe-inner {
    max-width: 62%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    transition-duration: 1ms !important;
  }
}
