/* ===== 赛场笔记 /notes/ ===== */

.page-news {
  background: var(--ink-900);
  color: var(--moon);
  overflow-x: clip;
}

.page-news .section-h {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--moon);
}

.page-news .entry__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--dust);
  opacity: 0.8;
}

.page-news .link-quiet {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- 封面 ---------- */

.page-news .notes-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 46px) 0 52px;
}

.page-news .notes-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34%;
  left: -12%;
  width: 132%;
  height: 580px;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 24% 36%, rgba(124, 92, 255, 0.3), transparent 72%),
    radial-gradient(38% 44% at 84% 10%, rgba(61, 227, 206, 0.16), transparent 72%);
}

.page-news .notes-hero__title {
  margin: 18px 0 0;
  max-width: 20ch;
  font-size: clamp(2.3rem, 7.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.page-news .notes-hero__title .display--step {
  display: block;
  margin-left: clamp(10px, 4vw, 54px);
  color: var(--dust);
}

.page-news .notes-hero__lede {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

.page-news .notes-hero__hud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 42px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.page-news .notes-hero__hud li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-news .hud-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--moon);
}

.page-news .hud-label {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--dust);
  opacity: 0.72;
}

/* ---------- 本期重点 ---------- */

.page-news .notes-lead {
  padding: 28px 0 0;
}

.page-news .notes-lead__head {
  margin-bottom: 26px;
}

.page-news .notes-lead__head .section-h {
  margin-top: 10px;
}

.page-news .notes-lead__stamp {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-news .lead-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
}

.page-news .lead-feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-700);
}

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

.page-news .lead-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 15, 0.12) 0%,
    rgba(5, 7, 15, 0.5) 48%,
    rgba(5, 7, 15, 0.95) 100%
  );
}

.page-news .lead-feature__hud {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(61, 227, 206, 0.4);
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.6);
  backdrop-filter: blur(4px);
}

.page-news .lead-feature__phase {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-news .lead-feature__score {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--score);
}

.page-news .lead-feature__body {
  position: relative;
  padding: 22px 22px 26px;
  background: var(--ink-800);
}

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

.page-news .lead-feature__body h3 {
  margin: 0 0 10px;
  max-width: 28ch;
  font-size: clamp(1.25rem, 3.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--moon);
}

.page-news .lead-feature__body p {
  margin: 0;
  max-width: 58ch;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dust);
}

.page-news .lead-pair {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.page-news .lead-pair__item {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.55);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-news .lead-pair__item:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

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

.page-news .lead-pair__item h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--moon);
}

.page-news .lead-pair__item p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--dust);
}

/* ---------- 标签 + 条目列表 ---------- */

.page-news .notes-feed {
  padding: 68px 0 0;
}

.page-news .notes-feed__head {
  max-width: 60ch;
}

.page-news .notes-feed__head p {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dust);
}

.page-news .tagfilter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.page-news .tagfilter__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-news .tagfilter__pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--rock);
  border-radius: 999px;
  background: rgba(12, 18, 32, 0.6);
  font-size: 0.875rem;
  color: var(--dust);
  cursor: pointer;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.page-news .tagfilter__pill:hover {
  color: var(--moon);
  border-color: var(--cyan);
}

.page-news .tagfilter__input:checked + .tagfilter__pill {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.page-news .tagfilter__input:focus-visible + .tagfilter__pill {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-news .entry-list {
  display: grid;
  gap: 22px;
}

.page-news .entry {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.55);
  animation: notes-fade 0.35s var(--ease) both;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-news .entry:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

@keyframes notes-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news .entry__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-700);
}

.page-news .entry__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.page-news .entry--long:hover .entry__thumb img {
  transform: scale(1.03);
}

.page-news .entry__body {
  padding: 20px 22px 24px;
}

.page-news .entry--short .entry__body {
  padding: 18px 20px 20px;
}

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

.page-news .entry__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--moon);
}

.page-news .entry--long .entry__title {
  font-size: 1.28rem;
  line-height: 1.36;
}

.page-news .entry__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--dust);
}

.page-news .entry--log {
  background: rgba(16, 26, 46, 0.5);
}

.page-news .entry__logline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--moon);
}

.page-news .entry__version {
  flex: none;
  padding: 2px 9px;
  border: 1px solid rgba(61, 227, 206, 0.42);
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-news .entry__logtext {
  font-weight: 400;
  color: rgba(233, 238, 247, 0.88);
}

/* 纯 CSS 标签筛选：不支持 :has() 时全部条目照常显示 */
.page-news:has(#notes-tag-report:checked) .entry:not([data-tag="report"]),
.page-news:has(#notes-tag-reel:checked) .entry:not([data-tag="reel"]),
.page-news:has(#notes-tag-version:checked) .entry:not([data-tag="version"]),
.page-news:has(#notes-tag-data:checked) .entry:not([data-tag="data"]),
.page-news:has(#notes-tag-desk:checked) .entry:not([data-tag="desk"]) {
  display: none;
}

/* ---------- 专题主题带 ---------- */

.page-news .notes-series {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 78px 0;
  padding: 60px 0 66px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .notes-series__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
}

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

.page-news .notes-series::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 15, 0.96) 0%,
    rgba(5, 7, 15, 0.7) 46%,
    rgba(5, 7, 15, 0.94) 100%
  );
}

.page-news .notes-series__shell {
  position: relative;
}

.page-news .notes-series__shell .section-h {
  margin-top: 10px;
  max-width: 30ch;
}

.page-news .series-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 16px;
  margin-top: 30px;
  padding-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-news .series-card {
  position: relative;
  scroll-snap-align: start;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.82);
  backdrop-filter: blur(2px);
}

.page-news .series-card__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--clay);
}

.page-news .series-card__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--moon);
}

.page-news .series-card__text {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.74;
  color: var(--dust);
}

.page-news .series-card__cadence {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* ---------- 更新与收藏 ---------- */

.page-news .notes-cadence {
  padding: 0 0 88px;
}

.page-news .notes-cadence__shell {
  display: grid;
  gap: 30px;
}

.page-news .notes-cadence__main .section-h {
  margin-top: 10px;
}

.page-news .notes-cadence__lede {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

.page-news .notes-cadence__steps {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.page-news .step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  border-left: 2px solid var(--clay);
  background: rgba(12, 18, 32, 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-news .step__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--clay);
}

.page-news .step p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--moon);
}

.page-news .notes-cadence__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .notes-cadence__aside {
  margin: 20px 0 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dust);
  opacity: 0.86;
}

.page-news .notes-cadence__panel {
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 18, 32, 0.66);
}

.page-news .timeline {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.page-news .timeline__item {
  position: relative;
  padding: 0 0 22px 22px;
}

.page-news .timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .timeline__mark {
  position: absolute;
  top: 6px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(61, 227, 206, 0.14);
}

.page-news .timeline__item:first-child .timeline__mark {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.16);
}

.page-news .timeline__when {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--moon);
}

.page-news .timeline__what {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dust);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-news .lead-feature__media {
    aspect-ratio: 16 / 9;
  }

  .page-news .lead-feature__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(24px, 3.4vw, 44px);
    background: none;
  }

  .page-news .lead-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-news .notes-cadence__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .notes-hero {
    padding-bottom: 64px;
  }

  .page-news .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    align-items: start;
  }

  .page-news .entry:nth-child(even) {
    margin-top: 52px;
  }

  .page-news .series-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .page-news .notes-cadence__shell {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .notes-series {
    padding: 74px 0 80px;
  }
}

@media (min-width: 1180px) {
  .page-news .series-rail {
    gap: 28px;
  }

  .page-news .series-card {
    padding: 32px 30px 28px;
  }
}

@media (hover: hover) and (min-width: 900px) {
  .page-news .entry__excerpt {
    -webkit-line-clamp: 2;
  }

  .page-news .entry:hover .entry__excerpt {
    -webkit-line-clamp: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry {
    animation: none;
  }

  .page-news .entry:hover,
  .page-news .lead-pair__item:hover {
    transform: none;
  }

  .page-news .entry--long:hover .entry__thumb img {
    transform: none;
  }
}
<<<END>>>
