/* ============================================================
   战报与动态 /blog/ —— 页面作用域 .page-news
   ============================================================ */

.page-news {
  --news-accent: var(--jn-red);
  --news-line: rgba(11, 27, 43, .16);
  --news-line-night: rgba(245, 242, 234, .22);
  --news-ink-soft: rgba(245, 242, 234, .84);
  background: var(--jn-mist);
  color: var(--jn-night);
  font-family: var(--jn-font-sans);
  overflow-x: clip;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.02em;
}

.page-news p {
  margin: 0;
}

.page-news ul,
.page-news ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news a {
  color: inherit;
  text-decoration: none;
}

/* ---------- 首屏 ---------- */

.news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 40px) 0 clamp(48px, 6vw, 88px);
  background: var(--jn-night);
  color: var(--jn-paper);
}

.news-hero::before {
  content: "";
  position: absolute;
  top: -32%;
  right: -20%;
  width: 78%;
  height: 156%;
  background: linear-gradient(158deg, var(--jn-night-2) 0%, rgba(20, 48, 74, .12) 78%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.news-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  bottom: 0;
  width: 56%;
  height: 3px;
  background: var(--jn-green);
  transform: rotate(-1.6deg);
  pointer-events: none;
}

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

.news-crumbs {
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(245, 242, 234, .62);
}

.news-crumbs a {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(245, 242, 234, .3);
}

.news-crumbs a:hover {
  color: var(--jn-neon);
}

.news-hero__eyebrow {
  margin-top: clamp(28px, 5vw, 64px);
  color: var(--jn-green-light);
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
}

.news-hero__title {
  margin-top: 14px;
  max-width: 15ch;
  font-size: clamp(34px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.news-hero__lead {
  margin-top: clamp(18px, 2.6vw, 28px);
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--news-ink-soft);
}

.news-hero__actions {
  margin-top: clamp(22px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

.news-hero__cta {
  border-radius: 0;
}

.news-hero__textlink {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--jn-green);
  color: var(--jn-green-light);
  font-family: var(--jn-font-mono);
  font-size: 13px;
  letter-spacing: .06em;
}

.news-hero__textlink:hover {
  color: var(--jn-neon);
  border-color: var(--jn-neon);
}

.news-hero__boardwrap {
  margin-top: clamp(30px, 4.4vw, 56px);
}

.news-board {
  max-width: 640px;
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px);
  border: 2px solid var(--jn-paper);
  background: var(--jn-night-2);
  box-shadow: var(--jn-shadow-night);
}

.news-board__tag {
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--jn-wood);
}

.news-board__score {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--jn-font-mono);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
  letter-spacing: -.04em;
}

.news-board__num {
  color: var(--jn-paper);
}

.news-board__num--live {
  color: var(--jn-neon);
}

.news-board__colon {
  font-size: .58em;
  color: var(--jn-green);
}

.news-board__meta {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 242, 234, .72);
}

/* ---------- 区块骨架 ---------- */

.news-zone {
  padding: clamp(52px, 7vw, 104px) 0;
}

.news-reports { background: var(--jn-mist); }
.news-topics  { background: var(--jn-paper); padding-bottom: clamp(44px, 5.5vw, 76px); }
.news-updates { background: var(--jn-mist); }
.news-index   { background: var(--jn-paper); }
.news-return  { background: var(--jn-mist); }

.news-sechead__title {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.14;
}

.news-sechead__desc {
  margin-top: 14px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--jn-green-deep);
}

/* ---------- 战报筛选 ---------- */

.news-filter {
  margin-top: clamp(26px, 3.4vw, 44px);
}

.news-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--news-line);
  background: transparent;
  color: var(--jn-rock);
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background var(--jn-dur) var(--jn-ease),
              color var(--jn-dur) var(--jn-ease),
              border-color var(--jn-dur) var(--jn-ease);
}

.news-chip:hover {
  border-color: var(--jn-green);
  color: var(--jn-green-deep);
}

.page-news #nf-all:checked ~ .news-filter__bar [for="nf-all"],
.page-news #nf-regular:checked ~ .news-filter__bar [for="nf-regular"],
.page-news #nf-cup:checked ~ .news-filter__bar [for="nf-cup"],
.page-news #nf-invite:checked ~ .news-filter__bar [for="nf-invite"] {
  background: var(--jn-night);
  border-color: var(--jn-night);
  color: var(--jn-paper);
}

.page-news #nf-all:focus-visible ~ .news-filter__bar [for="nf-all"],
.page-news #nf-regular:focus-visible ~ .news-filter__bar [for="nf-regular"],
.page-news #nf-cup:focus-visible ~ .news-filter__bar [for="nf-cup"],
.page-news #nf-invite:focus-visible ~ .news-filter__bar [for="nf-invite"] {
  outline: 2px solid var(--jn-neon);
  outline-offset: 2px;
}

.page-news #nf-regular:checked ~ .news-list .news-item:not(.news-item--regular),
.page-news #nf-cup:checked ~ .news-list .news-item:not(.news-item--cup),
.page-news #nf-invite:checked ~ .news-list .news-item:not(.news-item--invite) {
  display: none;
}

/* ---------- 战报列表 ---------- */

.news-list {
  margin-top: clamp(26px, 3.4vw, 44px);
  display: grid;
  gap: clamp(22px, 2.8vw, 36px);
}

.news-item {
  display: grid;
  gap: 12px;
  scroll-margin-top: 130px;
}

.news-item__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--jn-rock);
}

.news-item__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--jn-green);
}

.news-card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  border: 2px solid var(--jn-night);
  background: var(--jn-paper);
  box-shadow: var(--jn-shadow-hard);
  transition: transform var(--jn-dur) var(--jn-ease),
              box-shadow var(--jn-dur) var(--jn-ease);
}

.news-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(11, 27, 43, .9);
}

.news-card--lead {
  padding: 0;
  overflow: hidden;
  background: var(--jn-night-2);
  color: var(--jn-paper);
  box-shadow: var(--jn-shadow-night);
}

.news-card__media {
  overflow: hidden;
}

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

.news-card--lead .news-card__media {
  height: clamp(180px, 32vw, 330px);
}

.news-card--lead .news-card__body {
  padding: clamp(20px, 2.6vw, 34px);
}

.news-card__tag {
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--jn-green);
}

.news-card--lead .news-card__tag {
  color: var(--jn-green-light);
}

.news-card__title {
  margin-top: 10px;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.36;
}

.news-card__score {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--jn-font-mono);
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--jn-night);
}

.news-card__score i {
  font-style: normal;
  font-size: .55em;
  color: var(--jn-green);
}

.news-card--lead .news-card__score {
  color: var(--jn-paper);
}

.news-card--lead .news-card__score i {
  color: var(--jn-wood);
}

.news-card__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jn-green-deep);
}

.news-card--lead .news-card__text {
  font-size: 16px;
  color: var(--news-ink-soft);
}

.news-card__stats {
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid var(--news-line);
}

.news-card--lead .news-card__stats {
  border-top-color: var(--news-line-night);
}

.news-card__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.news-card__stats span {
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--jn-rock);
}

.news-card__stats strong {
  font-family: var(--jn-font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--jn-night);
}

.news-card--lead .news-card__stats strong {
  color: var(--jn-paper);
}

.news-card__venue {
  margin-top: 14px;
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--jn-rock);
}

.news-card--lead .news-card__venue {
  color: var(--jn-wood);
}

/* ---------- 赛季专题横向条 ---------- */

.news-rail {
  margin-top: clamp(26px, 3.4vw, 44px);
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  padding: 6px clamp(16px, 4vw, 56px) 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.news-rail::-webkit-scrollbar {
  height: 6px;
}

.news-rail::-webkit-scrollbar-thumb {
  background: var(--jn-wood);
}

.news-topic {
  flex: 0 0 auto;
  width: clamp(240px, 74vw, 336px);
  scroll-snap-align: start;
  border: 2px solid var(--jn-night);
  background: var(--jn-mist);
}

.news-topic--media {
  width: clamp(272px, 84vw, 440px);
}

.news-topic--media img {
  display: block;
  width: 100%;
  height: clamp(150px, 24vw, 220px);
  object-fit: cover;
}

.news-topic__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 26px);
}

.news-topic__meta {
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--jn-green-deep);
}

.news-topic h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
}

.news-topic p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--jn-green-deep);
}

.news-topic__count {
  margin-top: 2px;
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--jn-rock) !important;
}

/* ---------- 栏目与版本更新 ---------- */

.news-log {
  margin-top: clamp(26px, 3.4vw, 44px);
  display: grid;
}

.news-log__item {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-top: 1px solid var(--news-line);
}

.news-log__item:last-child {
  border-bottom: 1px solid var(--news-line);
}

.news-log__ver {
  font-family: var(--jn-font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--jn-green-deep);
}

.news-log__title {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
}

.news-log__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jn-green-deep);
}

/* ---------- 分类索引 ---------- */

.news-index__grid {
  display: grid;
  gap: clamp(30px, 4vw, 60px);
}

.news-index__col .news-sechead__title {
  font-size: clamp(22px, 2.4vw, 32px);
}

.news-citylist {
  margin-top: 24px;
  display: grid;
}

.news-citylist a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--news-line);
  transition: padding-left var(--jn-dur) var(--jn-ease),
              color var(--jn-dur) var(--jn-ease);
}

.news-citylist li:last-child a {
  border-bottom: 1px solid var(--news-line);
}

.news-citylist a:hover {
  padding-left: 10px;
  color: var(--jn-green-deep);
}

.news-citylist span {
  font-size: 18px;
  font-weight: 700;
}

.news-citylist em {
  font-style: normal;
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--jn-rock);
}

.news-levellist {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.news-levellist li {
  display: grid;
  gap: 5px;
  padding-left: 16px;
  border-left: 3px solid var(--jn-green);
}

.news-levellist li:nth-child(2) { border-left-color: var(--jn-wood); }
.news-levellist li:nth-child(3) { border-left-color: var(--jn-accent); }

.news-levellist strong {
  font-size: 17px;
}

.news-levellist span {
  font-size: 14px;
  line-height: 1.75;
  color: var(--jn-green-deep);
}

/* ---------- 回访与订阅 ---------- */

.news-return__inner {
  max-width: 80ch;
}

.news-return__title {
  margin-top: 14px;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.2;
}

.news-return__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--jn-green-deep);
}

.news-return__list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.news-return__list li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid var(--jn-wood);
}

.news-return__list strong {
  font-family: var(--jn-font-mono);
  font-size: 13px;
  letter-spacing: .08em;
}

.news-return__list span {
  font-size: 15px;
  line-height: 1.75;
  color: var(--jn-green-deep);
}

.news-return__links {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--jn-rock);
}

.news-return__links a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--jn-green);
  color: var(--jn-green-deep);
}

.news-return__links a:hover {
  color: var(--jn-night);
  border-color: var(--jn-night);
}

/* ---------- 底部球员数据区 ---------- */

.news-data {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 104px) 0 clamp(60px, 8vw, 120px);
  background: var(--jn-night);
  color: var(--jn-paper);
}

.news-data::before {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -44%;
  width: 66%;
  height: 116%;
  background: var(--jn-night-2);
  transform: rotate(11deg);
  pointer-events: none;
}

.news-data__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 4vw, 56px);
}

.news-data__title {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.12;
}

.news-data__lead {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--news-ink-soft);
}

.news-statline {
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 2px solid var(--jn-green);
}

.news-statline__num {
  font-family: var(--jn-font-mono);
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--jn-neon);
}

.news-statline__label {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 242, 234, .8);
}

.news-data__dims {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-data__dims li {
  padding: 7px 12px;
  border: 1px solid var(--news-line-night);
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--jn-green-light);
}

.news-data__foot {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 242, 234, .72);
}

.news-data__foot a {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--jn-green);
  color: var(--jn-neon);
}

.news-data .jn-figure__media {
  overflow: hidden;
  border: 2px solid var(--jn-paper);
  box-shadow: var(--jn-shadow-night);
}

.news-data .jn-figure__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-data .jn-figure__cap {
  margin-top: 12px;
  font-family: var(--jn-font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--jn-rock);
}

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

@media (min-width: 900px) {
  .news-item {
    grid-template-columns: 112px 1fr;
    gap: 26px;
  }

  .news-item__time {
    position: relative;
    align-self: start;
    justify-content: flex-end;
    padding-right: 20px;
    padding-top: 6px;
  }

  .news-item__dot {
    position: absolute;
    top: 11px;
    right: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
  }

  .news-item__time::after {
    content: "";
    position: absolute;
    top: 26px;
    right: 0;
    bottom: -46px;
    width: 1px;
    background: var(--news-line);
  }

  .news-item:last-child .news-item__time::after {
    display: none;
  }

  .news-card:not(.news-card--lead) .news-card__stats {
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    opacity: 0;
    border-top-color: transparent;
    transition: max-height var(--jn-dur) var(--jn-ease),
                opacity var(--jn-dur) var(--jn-ease),
                margin-top var(--jn-dur) var(--jn-ease),
                padding-top var(--jn-dur) var(--jn-ease),
                border-top-color var(--jn-dur) var(--jn-ease);
  }

  .news-card:not(.news-card--lead):hover .news-card__stats,
  .news-card:not(.news-card--lead):focus-within .news-card__stats {
    max-height: 130px;
    margin-top: 16px;
    padding-top: 14px;
    opacity: 1;
    border-top-color: var(--news-line);
  }

  .news-log__item {
    grid-template-columns: 148px 1fr;
    align-items: start;
    gap: 8px 26px;
  }

  .news-log__ver {
    padding-top: 4px;
  }

  .news-return__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .news-index__grid {
    grid-template-columns: 1.05fr .95fr;
  }
}

@media (min-width: 1100px) {
  .news-item:nth-child(odd) .news-card:not(.news-card--lead) {
    width: 92%;
  }

  .news-item:nth-child(even) .news-card:not(.news-card--lead) {
    width: 92%;
    margin-left: auto;
  }
}

@media (min-width: 980px) {
  .news-data__grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .news-board {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .5);
  }

  .news-card {
    box-shadow: 5px 5px 0 rgba(11, 27, 43, .9);
  }

  .news-citylist a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.page-news {
  --jn-accent: currentColor;
}
