/* ===== 赛场笔记 / page-news ===== */
.page-news {
  display: block;
}
.page-news img {
  max-width: 100%;
}
.page-news .link-inline {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 首屏 --- */
.page-news .notes-masthead {
  position: relative;
  background: var(--sea);
  padding: clamp(26px, 4.5vw, 52px) 0 clamp(64px, 7vw, 96px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}
.page-news .notes-masthead__inner {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  align-items: end;
}
.page-news .notes-masthead .breadcrumb__link {
  color: var(--steel);
}
.page-news .notes-masthead .eyebrow {
  margin-top: clamp(18px, 3vw, 30px);
  color: var(--orange);
}
.page-news .notes-masthead__title {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 1.04;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.page-news .notes-masthead__lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.85;
  color: var(--soft);
}
.page-news .notes-index {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.page-news .notes-index li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.page-news .notes-index__k {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.page-news .notes-index__v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 17px;
  color: var(--mint);
}
.page-news .notes-masthead__figure {
  margin: 0;
  padding: 10px;
  background: var(--ink-blue);
  border: 1px solid var(--line);
}
.page-news .notes-masthead__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.page-news .notes-masthead__figure figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

/* --- 分类线索 --- */
.page-news .notes-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.page-news .notes-tags__item {
  display: flex;
}
.page-news .notes-tag {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-news .notes-tags__item:nth-child(2) .notes-tag {
  border-left-color: var(--mint);
}
.page-news .notes-tags__item:nth-child(3) .notes-tag {
  border-left-color: var(--amber);
}
.page-news .notes-tags__item:nth-child(4) .notes-tag {
  border-left-color: var(--steel);
}
.page-news .notes-tags__item:nth-child(5) .notes-tag {
  border-left-color: var(--orange-deep);
}
.page-news .notes-tag:hover,
.page-news .notes-tag:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
}
.page-news .notes-tag__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--graphite);
}
.page-news .notes-tag__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-news .notes-tag__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--graphite);
}

/* --- 条目流 --- */
.page-news .note-stream {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.page-news .note-card {
  grid-column: 1 / -1;
  padding: 20px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-blue);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.page-news .note-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}
.page-news .note-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-news .note-card__tag {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.page-news .note-card__topic {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--graphite);
}
.page-news .note-card__title {
  margin: 12px 0 0;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.page-news .note-card__text {
  margin: 10px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--graphite);
}
.page-news .note-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--graphite);
}
.page-news .note-card__meta .mono {
  color: var(--orange);
}
.page-news .note-card__sep {
  color: var(--steel);
}
.page-news .note-stream__end {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}
.page-news .note-stream__end::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 106, 26, 0));
}

/* --- 版本记录 --- */
.page-news .notes-version.section {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: clamp(52px, 6vw, 84px);
  background: var(--ink-blue);
  color: var(--soft);
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}
.page-news .notes-version .eyebrow {
  color: var(--mint);
}
.page-news .notes-version .section__title {
  color: var(--paper);
}
.page-news .notes-version .section__lead {
  color: var(--soft);
}
.page-news .version-figure {
  margin: 30px 0 0;
  padding: 8px;
  background: var(--sea);
  border: 1px solid var(--line);
}
.page-news .version-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}
.page-news .version-track {
  position: relative;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.page-news .version-track::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.page-news .version-node {
  position: relative;
  padding: 0 0 26px 42px;
}
.page-news .version-node:last-child {
  padding-bottom: 0;
}
.page-news .version-node::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--ink-blue);
  border: 2px solid var(--mint);
  border-radius: 50%;
}
.page-news .version-node__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.page-news .version-node__ver {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--mint);
}
.page-news .version-node__tag {
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
  border: 1px solid var(--amber);
}
.page-news .version-node__title {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.page-news .version-node__text {
  margin: 8px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--soft);
}
.page-news .version-note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--soft);
}

/* --- 红黄牌记录 --- */
.page-news .notes-cards__inner {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
.page-news .notes-cards__figure {
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.page-news .notes-cards__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-news .notes-cards__text p {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.page-news .notes-cards__text .section__title {
  margin-top: 10px;
}
.page-news .card-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.page-news .card-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.page-news .card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}
.page-news .card-points li:nth-child(2)::before,
.page-news .card-points li:nth-child(4)::before {
  background: var(--amber);
}

/* --- 专题系列 --- */
.page-news .series-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.page-news .series-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-news .series-card:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}
.page-news .series-card__figure {
  margin: 0;
  overflow: hidden;
}
.page-news .series-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-news .series-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 16px;
}
.page-news .series-card__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.page-news .series-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.page-news .series-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
}
.page-news .series-more {
  margin-top: auto;
  padding-top: 6px;
}
.page-news .series-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.page-news .series-more > summary::-webkit-details-marker {
  display: none;
}
.page-news .series-more > summary::after {
  content: "+";
  font-size: 14px;
  line-height: 1;
}
.page-news .series-more[open] > summary::after {
  content: "–";
}
.page-news .series-more > p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
}

/* --- 持续关注 --- */
.page-news .notes-follow {
  background: var(--sea);
  color: var(--soft);
}
.page-news .notes-follow__inner {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}
.page-news .notes-follow .eyebrow {
  color: var(--orange);
}
.page-news .notes-follow .section__title {
  color: var(--paper);
}
.page-news .notes-follow__text p {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--soft);
}
.page-news .notes-follow__text a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-news .follow-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-news .follow-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.page-news .follow-link:hover,
.page-news .follow-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}
.page-news .follow-link__no {
  grid-row: span 2;
  align-self: start;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--orange);
}
.page-news .follow-link__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-news .follow-link__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--soft);
}

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

@media (min-width: 760px) {
  .page-news .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .notes-masthead__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-news .notes-masthead__figure {
    transform: rotate(-1.1deg);
  }
  .page-news .note-card:nth-child(odd) {
    grid-column: 1 / span 7;
  }
  .page-news .note-card:nth-child(even) {
    grid-column: 6 / span 7;
    margin-top: 22px;
  }
  .page-news .version-node {
    padding-left: 46px;
  }
  .page-news .notes-cards__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .page-news .notes-cards__figure {
    transform: rotate(-1.4deg);
  }
  .page-news .notes-follow__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

@media (min-width: 1100px) {
  .page-news .series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .notes-tag,
  .page-news .note-card,
  .page-news .series-card,
  .page-news .follow-link,
  .page-news .notes-masthead__figure,
  .page-news .notes-cards__figure {
    transition: none;
    transform: none;
  }
  .page-news .notes-tag:hover,
  .page-news .note-card:hover,
  .page-news .series-card:hover,
  .page-news .follow-link:hover {
    transform: none;
  }
}
