/* ============ 赛事笔记 · 页面专属样式 ============ */
.page-news {
  --news-gap: clamp(16px, 2.4vw, 26px);
  --news-cut: 16px;
  position: relative;
  background:
    radial-gradient(110% 62% at 88% -8%, rgba(0, 229, 255, 0.10), transparent 62%),
    radial-gradient(72% 52% at -6% 14%, rgba(255, 77, 46, 0.08), transparent 58%),
    var(--j9-ink);
  padding-bottom: clamp(56px, 8vw, 104px);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.6vw, 54px) 0 clamp(36px, 6vw, 72px);
  background:
    linear-gradient(158deg, rgba(0, 229, 255, 0.09) 0%, transparent 46%),
    #08121f;
  border-bottom: 1px solid var(--j9-line-soft);
}
.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -46%;
  width: 72%;
  height: 240px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.14));
  transform: skewY(-7deg);
  pointer-events: none;
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(11, 26, 47, 0.22) 0 1px,
    transparent 1px 5px
  );
  pointer-events: none;
  opacity: 0.6;
}
.page-news .news-hero .j9-shell {
  position: relative;
  z-index: 1;
}
.page-news .news-hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  margin-top: clamp(20px, 3vw, 34px);
}
.page-news .news-hero__lead {
  min-width: 0;
}
.page-news .news-hero__title {
  margin: 12px 0 18px;
  font-family: var(--j9-font-display);
  font-size: clamp(38px, 8.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--j9-white);
}
.page-news .news-hero__title::after {
  content: "";
  display: inline-block;
  width: 0.34em;
  height: 0.11em;
  margin-left: 0.16em;
  vertical-align: 0.08em;
  background: var(--j9-cyan);
  box-shadow: 0 0 0.55em rgba(0, 229, 255, 0.85);
}
.page-news .news-hero__lede {
  max-width: 58ch;
  margin: 0 0 26px;
  color: var(--j9-mist);
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.8;
}
.page-news .news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏索引卡 */
.page-news .news-hero__index {
  position: relative;
  padding: 20px 20px 18px;
  border: 1px solid var(--j9-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--news-cut)),
    calc(100% - var(--news-cut)) 100%,
    0 100%
  );
}
.page-news .news-hero__index-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--j9-line-soft);
  font-family: var(--j9-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--j9-cyan);
}
.page-news .news-hero__index-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-news .news-hero__index-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.page-news .news-hero__idx {
  font-family: var(--j9-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--j9-flame);
}
.page-news .news-hero__idx-label {
  color: var(--j9-white);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- 分类标签条 ---------- */
.page-news .news-filters {
  position: sticky;
  top: var(--j9-header-h);
  z-index: 6;
  background: rgba(8, 18, 31, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--j9-line-soft);
}
.page-news .news-filters__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 11px;
  padding-bottom: 11px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-news .news-filters__inner::-webkit-scrollbar {
  display: none;
}
.page-news .news-filters__label {
  flex: 0 0 auto;
  font-family: var(--j9-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--j9-steel);
}
.page-news .news-filters__list {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 7px 14px;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--j9-mist);
  text-decoration: none;
  border: 1px solid var(--j9-line);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.25s var(--j9-ease), background 0.25s var(--j9-ease),
    border-color 0.25s var(--j9-ease);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    0 100%
  );
}
.page-news .news-chip:hover,
.page-news .news-chip:focus-visible {
  color: var(--j9-ink);
  background: var(--j9-cyan);
  border-color: var(--j9-cyan);
}
.page-news .news-chip.is-current {
  color: var(--j9-cyan);
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.55);
}

/* ---------- 笔记列表 ---------- */
.page-news .news-feed {
  padding-top: clamp(34px, 5vw, 64px);
}
.page-news .news-feed__head,
.page-news .news-series__head {
  max-width: 68ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}
.page-news .news-list {
  display: grid;
  gap: var(--news-gap);
}
.page-news .news-note {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--j9-line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: border-color 0.3s var(--j9-ease), transform 0.3s var(--j9-ease);
  overflow: hidden;
}
.page-news .news-note:hover,
.page-news .news-note:focus-within {
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-2px);
}
.page-news .news-note__media {
  position: relative;
  overflow: hidden;
  background: #071019;
  aspect-ratio: 16 / 10;
}
.page-news .news-note__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-news .news-note__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(11, 26, 47, 0.3) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
}
.page-news .news-note__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(18px, 2.2vw, 26px);
}
.page-news .news-note__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.page-news .news-note__time {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--j9-steel);
}
.page-news .news-note__title {
  margin: 0 0 10px;
  font-family: var(--j9-font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--j9-white);
}
.page-news .news-note__excerpt {
  margin: 0;
  color: var(--j9-mist);
  font-size: 15px;
  line-height: 1.78;
}
.page-news .news-note--report .j9-tag {
  border-color: rgba(255, 77, 46, 0.5);
  color: var(--j9-flame);
}
.page-news .news-note--data .j9-tag {
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--j9-cyan);
}
.page-news .news-note--round .j9-tag {
  border-color: rgba(197, 217, 226, 0.45);
  color: var(--j9-mist);
}
.page-news .news-note--series .j9-tag {
  border-color: rgba(0, 107, 122, 0.8);
  color: var(--j9-cyan);
}

@media (hover: hover) {
  .page-news .news-note__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
  .page-news .news-note:hover .news-note__excerpt,
  .page-news .news-note:focus-within .news-note__excerpt {
    -webkit-line-clamp: 12;
    line-clamp: 12;
  }
}

/* ---------- 专题系列 ---------- */
.page-news .news-series {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--j9-line-soft);
}
.page-news .news-series__grid {
  display: grid;
  gap: var(--news-gap);
}
.page-news .news-series__card {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--j9-line-soft);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(255, 255, 255, 0.02) 62%);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%
  );
  transition: border-color 0.3s var(--j9-ease);
}
.page-news .news-series__card:hover {
  border-color: rgba(0, 229, 255, 0.4);
}
.page-news .news-series__no {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--j9-cyan);
}
.page-news .news-series__name {
  margin: 12px 0 10px;
  font-family: var(--j9-font-display);
  font-size: clamp(21px, 2.3vw, 26px);
  letter-spacing: -0.01em;
  color: var(--j9-white);
}
.page-news .news-series__desc {
  margin: 0 0 16px;
  color: var(--j9-mist);
  font-size: 15px;
  line-height: 1.78;
}
.page-news .news-series__meta {
  margin: 0;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--j9-steel);
}

.page-news .news-series__banner {
  position: relative;
  margin: clamp(28px, 4vw, 46px) 0 0;
  border: 1px solid var(--j9-line-soft);
  overflow: hidden;
  background: #06101b;
}
.page-news .news-series__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.page-news .news-series__banner::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(11, 26, 47, 0.6), transparent 55%),
    repeating-linear-gradient(0deg, rgba(11, 26, 47, 0.22) 0 1px, transparent 1px 5px);
  pointer-events: none;
}
.page-news .news-series__caption {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  border-top: 1px solid var(--j9-line-soft);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--j9-steel);
}

/* ---------- 订阅 ---------- */
.page-news .news-subscribe {
  margin-top: clamp(48px, 7vw, 92px);
  padding: clamp(36px, 6vw, 70px) 0;
  border-top: 1px solid var(--j9-line-soft);
  border-bottom: 1px solid var(--j9-line-soft);
  background:
    linear-gradient(112deg, rgba(0, 229, 255, 0.13) 0%, transparent 48%),
    linear-gradient(296deg, rgba(255, 77, 46, 0.14) 0%, transparent 52%),
    #08121f;
}
.page-news .news-subscribe__inner {
  display: grid;
  gap: clamp(26px, 3.6vw, 44px);
  align-items: center;
}
.page-news .news-subscribe__title {
  margin: 12px 0 14px;
  font-family: var(--j9-font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--j9-white);
}
.page-news .news-subscribe__desc {
  max-width: 54ch;
  margin: 0 0 24px;
  color: var(--j9-mist);
  font-size: 15.5px;
  line-height: 1.8;
}
.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-news .news-subscribe__contact {
  padding: 22px;
  border: 1px solid var(--j9-line);
  background: var(--j9-glass);
  backdrop-filter: blur(10px);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--news-cut)),
    calc(100% - var(--news-cut)) 100%,
    0 100%
  );
}
.page-news .news-subscribe__contact-label {
  margin: 0 0 14px;
  font-family: var(--j9-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--j9-cyan);
}
.page-news .news-subscribe__contact .j9-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  cursor: pointer;
}
.page-news .news-subscribe__contact-note {
  margin: 16px 0 0;
  color: var(--j9-steel);
  font-size: 13.5px;
  line-height: 1.75;
}

/* 订阅按钮脉冲 */
.page-news .news-pulse {
  animation: news-pulse 2.8s ease-in-out infinite;
}
@keyframes news-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.45);
  }
  50% {
    box-shadow: 0 0 0 11px rgba(0, 229, 255, 0);
  }
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(268px, 0.95fr);
    align-items: start;
  }
  .page-news .news-series__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-news .news-subscribe__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  }
}

@media (min-width: 960px) {
  .page-news .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-news .news-note--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }
  .page-news .news-note--feature .news-note__media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .page-news .news-note--feature .news-note__body {
    padding: clamp(28px, 3vw, 42px);
    justify-content: center;
  }
  .page-news .news-note--feature .news-note__title {
    font-size: clamp(24px, 2.5vw, 31px);
  }
  .page-news .news-note--feature .news-note__excerpt {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-pulse {
    animation: none;
  }
  .page-news .news-note,
  .page-news .news-chip,
  .page-news .news-series__card {
    transition: none;
  }
}
</main>
