.page-news {
  background: var(--ink);
  color: var(--paper);
}

.page-news .notes-crumb {
  padding: clamp(16px, 3vw, 26px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-news .notes-hero {
  padding: clamp(16px, 3vw, 28px) 0 clamp(34px, 6vw, 62px);
}

.page-news .notes-hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 240, 200, 0.26);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 48px);
  background:
    radial-gradient(130% 120% at 88% -20%, rgba(47, 240, 200, 0.14), transparent 62%),
    radial-gradient(90% 90% at 0% 112%, rgba(255, 138, 61, 0.1), transparent 66%),
    linear-gradient(180deg, var(--ink-cabin), rgba(6, 18, 14, 0.55));
}

.page-news .notes-hero__frame::before,
.page-news .notes-hero__frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.page-news .notes-hero__frame::before {
  top: 13px;
  left: 13px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-top-left-radius: 10px;
  opacity: 0.7;
}

.page-news .notes-hero__frame::after {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  border-bottom-right-radius: 10px;
  opacity: 0.55;
}

.page-news .notes-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-news .notes-hero h1 {
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(29px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.page-news .notes-hero__lead p {
  margin: 0 0 10px;
  max-width: 56ch;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

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

.page-news .notes-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--rail-line);
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .notes-hero__stat {
  padding: 16px 18px;
  background: rgba(6, 18, 14, 0.74);
}

.page-news .notes-hero__stat dt {
  color: var(--slate);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-news .notes-hero__stat dd {
  margin: 8px 0 0;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-news .notes-hero__num {
  display: inline-block;
  margin-right: 4px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ---------- 通用分区 ---------- */
.page-news .notes-section {
  padding: clamp(38px, 7vw, 74px) 0;
}

.page-news .notes-section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-news .notes-section__head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.page-news .notes-section__head > p {
  margin: 0;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.76;
}

.page-news .note-group__titlewrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-news .note-group__titlewrap h2 {
  margin: 0;
}

.page-news .note-group__ruler {
  flex: none;
  width: 56px;
  height: 10px;
  color: var(--rail-line);
}

.page-news .notes-figure {
  margin: 0 0 clamp(20px, 3vw, 32px);
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-lg);
  background: var(--ink-cabin);
  overflow: hidden;
}

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

/* ---------- 赛季轨道 ---------- */
.page-news .season-rail__list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .season-chip {
  flex: 0 0 clamp(188px, 62vw, 216px);
  scroll-snap-align: start;
  padding: 16px 18px 18px;
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 31, 24, 0.94), rgba(6, 18, 14, 0.62));
}

.page-news .season-chip--current {
  border-color: rgba(47, 240, 200, 0.55);
  box-shadow: inset 0 0 0 1px rgba(47, 240, 200, 0.16);
}

.page-news .season-chip__name {
  display: block;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.page-news .season-chip--current .season-chip__name {
  color: var(--cyan);
}

.page-news .season-chip__count {
  display: block;
  margin: 10px 0 8px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
}

.page-news .season-chip__batch {
  display: block;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 笔记列表 ---------- */
.page-news .note-list {
  border-top: 1px solid var(--rail-line);
}

.page-news .note-item {
  position: relative;
  padding-left: 18px;
  border-bottom: 1px solid var(--rail-line);
}

.page-news .note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 240, 200, 0.08));
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.page-news .note-item:hover::before,
.page-news .note-item[open]::before,
.page-news .note-item:focus-within::before {
  opacity: 1;
}

.page-news .note-item__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.page-news .note-item__row::-webkit-details-marker {
  display: none;
}

.page-news .note-item__no {
  grid-column: 1 / -1;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.page-news .note-item__title {
  color: var(--paper);
  font-size: 16.5px;
  line-height: 1.6;
}

.page-news .note-tag {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid rgba(124, 147, 168, 0.45);
  border-radius: var(--radius-pill);
  color: var(--slate);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-news .note-tag--live {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
}

.page-news .note-item__body {
  padding: 0 0 20px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.76;
}

.page-news .note-item__body p {
  margin: 0 0 8px;
  max-width: 64ch;
}

.page-news .note-item__body p:last-child {
  margin-bottom: 0;
}

/* ---------- 射手榜 ---------- */
.page-news .scorers-grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

.page-news .scorers-notes {
  display: grid;
  gap: 18px;
}

.page-news .scorer-note {
  padding: 2px 0 14px 18px;
  border-left: 2px solid var(--rail-line);
  transition: border-color 0.26s var(--ease);
}

.page-news .scorer-note:hover {
  border-left-color: var(--cyan);
}

.page-news .scorer-note h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.005em;
}

.page-news .scorer-note p {
  margin: 0 0 10px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.74;
}

.page-news .scorer-note__link {
  color: var(--cyan);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 240, 200, 0.36);
}

/* ---------- 旧版本目录 ---------- */
.page-news .legacy-grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(26px, 5vw, 46px);
}

.page-news .legacy-copy p {
  margin: 0 0 12px;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.78;
}

.page-news .legacy-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: legacy-step;
}

.page-news .legacy-steps li {
  position: relative;
  padding-left: 38px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.7;
  counter-increment: legacy-step;
}

.page-news .legacy-steps li::before {
  content: counter(legacy-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  padding: 1px 6px;
  border: 1px solid rgba(47, 240, 200, 0.42);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.page-news .legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-news .legacy-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rail-line);
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-news .legacy-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(6, 18, 14, 0.88);
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.6;
}

.page-news .legacy-list b {
  flex: none;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-news .legacy-list span {
  text-align: right;
}

/* ---------- 专题系列 ---------- */
.page-news .series-grid {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.page-news .series-col {
  padding-top: 18px;
  border-top: 1px solid var(--rail-line);
}

.page-news .series-col h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.page-news .series-col > p {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.72;
}

.page-news .series-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .series-col li {
  position: relative;
  padding-left: 16px;
  color: var(--paper);
  font-size: 14.8px;
  line-height: 1.62;
}

.page-news .series-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 1px;
  background: var(--slate);
}

.page-news .series-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 240, 200, 0.36);
}

/* ---------- 回溯与订阅 ---------- */
.page-news .recall-grid {
  display: grid;
  gap: 16px;
}

.page-news .recall-card {
  padding: 22px 20px;
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 31, 24, 0.9), rgba(6, 18, 14, 0.5));
}

.page-news .recall-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-news .recall-card p {
  margin: 0;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.74;
}

.page-news .recall-sub {
  display: grid;
  gap: 18px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 138, 61, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 96% 0%, rgba(255, 138, 61, 0.14), transparent 62%),
    var(--ink-cabin);
}

.page-news .recall-sub h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.page-news .recall-sub p {
  margin: 0;
  max-width: 64ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.76;
}

.page-news .recall-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .notes-toplink {
  margin: clamp(28px, 5vw, 44px) 0 0;
  text-align: right;
}

.page-news .notes-toplink a {
  padding-bottom: 2px;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px dashed var(--rail-line);
}

.page-news .notes-toplink a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-news .legacy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 820px) {
  .page-news .note-item__row {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    padding: 17px 0;
  }

  .page-news .note-item__no {
    grid-column: auto;
  }

  .page-news .note-item__title {
    font-size: 17px;
  }
}

@media (min-width: 860px) {
  .page-news .notes-section__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    align-items: end;
    gap: 32px;
  }

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

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

  .page-news .recall-sub {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-news .notes-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: end;
  }

  .page-news .scorers-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-news .legacy-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .note-item::before,
  .page-news .scorer-note {
    transition: none;
  }
}
