/* ================= 赛事专栏 · 页面专属样式 ================= */

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

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 54px) 0 clamp(42px, 6vw, 76px);
  background:
    radial-gradient(110% 82% at 92% 0%, rgba(44, 123, 234, .30), transparent 60%),
    radial-gradient(72% 62% at 0% 100%, rgba(200, 255, 61, .10), transparent 62%);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 123, 234, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 123, 234, .07) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  pointer-events: none;
}

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

.page-news .news-hero__crumb {
  margin-bottom: 6px;
}

.page-news .news-hero__grid {
  display: grid;
  gap: 30px;
  margin-top: 18px;
}

.page-news .news-hero__tag {
  margin: 0 0 14px;
}

.page-news .news-hero__title {
  margin: 0;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 22ch;
}

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

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(159, 179, 204, .22);
  font-size: 13px;
  color: var(--mist);
}

.page-news .news-hero__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.page-news .news-hero__stat b {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-news .news-hero__figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(44, 123, 234, .34);
  background: var(--deep);
  box-shadow: 0 34px 70px -52px rgba(0, 0, 0, .95);
}

.page-news .news-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .news-hero__figure figcaption {
  padding: 13px 18px 15px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
  border-top: 1px solid rgba(44, 123, 234, .22);
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 52px;
    align-items: center;
    margin-top: 24px;
  }
}

/* ---------- 章节节奏 ---------- */
.page-news > section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.page-news .section-head {
  margin-bottom: 26px;
}

/* ---------- 01 在写什么 ---------- */
.page-news .news-intro__grid {
  display: grid;
  gap: 22px;
}

.page-news .news-intro__big {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--lime);
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.62;
  font-weight: 700;
  color: #fff;
}

.page-news .news-intro__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.92;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-news .news-intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

/* ---------- 02 目录与筛选 ---------- */
.page-news .news-catalog {
  background: var(--deep);
}

.page-news .news-flow {
  position: relative;
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.page-news .filter-input:focus-visible ~ .tag-rail {
  outline: 2px solid var(--lime);
  outline-offset: 8px;
  border-radius: var(--r-pill);
}

.page-news .tag-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(159, 179, 204, .20);
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(159, 179, 204, .34);
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-news .tag:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.page-news #filter-all:checked ~ .tag-rail .tag[for="filter-all"],
.page-news #filter-penalty:checked ~ .tag-rail .tag[for="filter-penalty"],
.page-news #filter-away:checked ~ .tag-rail .tag[for="filter-away"],
.page-news #filter-season:checked ~ .tag-rail .tag[for="filter-season"],
.page-news #filter-ref:checked ~ .tag-rail .tag[for="filter-ref"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
  font-weight: 600;
}

.page-news #filter-penalty:checked ~ .card-stream .story:not(.story--penalty),
.page-news #filter-away:checked ~ .card-stream .story:not(.story--away),
.page-news #filter-season:checked ~ .card-stream .story:not(.story--season),
.page-news #filter-ref:checked ~ .card-stream .story:not(.story--ref) {
  display: none;
}

.page-news .card-stream {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.page-news .story {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 22px 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(44, 123, 234, .32);
  background: rgba(5, 22, 47, .62);
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}

.page-news .story:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 61, .55);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, .9);
}

.page-news .story__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-news .story__title {
  margin: 0;
  font-size: clamp(17.5px, 2.2vw, 21px);
  line-height: 1.48;
  font-weight: 800;
  color: #fff;
}

.page-news .story__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.page-news .story__media {
  margin: 2px 0 4px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(44, 123, 234, .26);
  background: var(--night);
}

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

.page-news .story__media--wide img {
  aspect-ratio: 3 / 2;
}

.page-news .story__media--tall img {
  aspect-ratio: 10 / 7;
}

.page-news .story__more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--lime);
}

.page-news .story__more summary::-webkit-details-marker {
  display: none;
}

.page-news .story__more summary::before {
  content: "+";
  font-size: 16px;
  line-height: 1;
}

.page-news .story__more[open] summary::before {
  content: "–";
}

.page-news .story__summary {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.86;
  color: var(--mist);
}

@media (min-width: 720px) {
  .page-news .card-stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 30px;
  }

  .page-news .story:nth-child(even) {
    transform: translateY(30px);
  }

  .page-news .story:nth-child(even):hover {
    transform: translateY(26px);
  }
}

/* ---------- 03 长期系列 ---------- */
.page-news .series-banner {
  margin: 6px 0 4px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(44, 123, 234, .28);
}

.page-news .series-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 5;
  object-fit: cover;
  opacity: .88;
}

.page-news .series-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.page-news .series-row {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(159, 179, 204, .20);
}

.page-news .series-row__no {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--lime);
}

.page-news .series-row__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  color: #fff;
}

.page-news .series-row__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .series-row__cadence {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--mist);
}

@media (min-width: 860px) {
  .page-news .series-row {
    grid-template-columns: 58px minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-news .series-row__cadence {
    text-align: right;
  }
}

/* ---------- 04 一篇的结构（浅底阅读区） ---------- */
.page-news .news-anatomy {
  background: var(--porcelain);
  color: var(--night);
}

.page-news .news-anatomy .section-head__num {
  color: var(--brand-blue);
}

.page-news .news-anatomy .section-head__title {
  color: var(--night);
}

.page-news .news-anatomy .section-head__text {
  color: #4E6179;
}

.page-news .anatomy-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.page-news .anatomy-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--stroke);
}

.page-news .anatomy-item__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--brand-blue);
  padding-top: 3px;
}

.page-news .anatomy-item__title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--night);
}

.page-news .anatomy-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.88;
  color: #4E6179;
}

.page-news .anatomy-note {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand-blue);
  background: #E6EFFA;
  font-size: 14.5px;
  line-height: 1.85;
  color: #33506F;
}

@media (min-width: 800px) {
  .page-news .anatomy-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 52px;
  }
}

/* ---------- 05 跟进更新 ---------- */
.page-news .news-follow {
  background:
    radial-gradient(78% 100% at 100% 0%, rgba(200, 255, 61, .14), transparent 62%),
    var(--night);
}

.page-news .follow-panel {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(200, 255, 61, .32);
  background: rgba(12, 44, 92, .62);
}

.page-news .follow-panel__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.4;
  font-weight: 900;
  color: #fff;
}

.page-news .follow-panel__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.92;
  color: var(--mist);
}

.page-news .follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-news .follow-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.page-news .follow-check:focus-visible + .follow-btn {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.page-news .follow-btn {
  cursor: pointer;
  user-select: none;
}

.page-news .follow-btn__on {
  display: none;
}

.page-news .follow-check:checked + .follow-btn {
  background: var(--lime-deep);
  border-color: var(--lime-deep);
}

.page-news .follow-check:checked + .follow-btn .follow-btn__off {
  display: none;
}

.page-news .follow-check:checked + .follow-btn .follow-btn__on {
  display: inline;
}

@media (min-width: 880px) {
  .page-news .follow-panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 46px;
    align-items: center;
  }
}

/* ---------- 动效收敛 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-news .story,
  .page-news .tag,
  .page-news .follow-btn {
    transition: none;
  }

  .page-news .story:hover,
  .page-news .story:nth-child(even),
  .page-news .story:nth-child(even):hover {
    transform: none;
  }
}
