.page-news {
  --news-cut: 14px;
  --news-rule: 1px solid rgba(46, 124, 155, 0.34);
  --news-rule-soft: 1px solid rgba(46, 124, 155, 0.18);
  --news-panel: linear-gradient(158deg, rgba(23, 74, 99, 0.44), rgba(15, 51, 46, 0.64));
  position: relative;
  padding-bottom: clamp(56px, 9vw, 112px);
  color: var(--snow);
  overflow-x: clip;
}

.page-news [hidden] {
  display: none !important;
}

.page-news img {
  max-width: 100%;
  height: auto;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
}

.page-news .breadcrumb {
  margin: 0;
  padding-top: clamp(16px, 3vw, 26px);
}

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

.news-masthead {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(26px, 5vw, 52px) 0 clamp(22px, 4vw, 38px);
  border-bottom: var(--news-rule);
}

.news-masthead::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: min(280px, 44%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--path));
  transform: skewX(-32deg);
  transform-origin: right bottom;
}

.news-masthead h1 {
  font-weight: 900;
  font-size: clamp(29px, 6.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 15em;
  color: var(--snow);
}

.news-masthead__lede {
  margin: 0;
  max-width: 42em;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.85;
  color: var(--frost);
}

.news-masthead__facts {
  list-style: none;
  margin: 6px 0 0;
  padding: 18px 0 0;
  border-top: var(--news-rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
}

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

.news-fact__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--path);
  font-variant-numeric: tabular-nums;
}

.news-fact__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--data);
}

/* ---------- 通用区块头 ---------- */

.news-section {
  margin-top: clamp(38px, 6vw, 74px);
}

.news-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 22px;
  padding-bottom: 12px;
  border-bottom: var(--news-rule);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.news-section__head h2 {
  font-weight: 850;
  font-size: clamp(21px, 3.3vw, 32px);
  letter-spacing: -0.018em;
  color: var(--snow);
}

.news-section__note {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--data);
}

/* ---------- 相对时间标签 ---------- */

.news-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--frost);
  background: rgba(46, 124, 155, 0.14);
  border-left: 2px solid var(--path);
  padding: 3px 9px;
  white-space: nowrap;
}

/* ---------- 速览 ---------- */

.news-brief__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-brief__item {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: var(--news-rule-soft);
}

.news-brief__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.news-brief__body h3 {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.01em;
  color: var(--snow);
}

.news-brief__body p {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--frost);
  max-width: 40em;
}

.news-brief__item .news-time {
  grid-column: 2;
  justify-self: start;
  margin-top: 10px;
}

/* ---------- 宽幅视觉带 ---------- */

.news-band {
  margin: clamp(30px, 5vw, 56px) 0 0;
  padding: 0;
}

.news-band__frame {
  position: relative;
  border: var(--news-rule);
  background: var(--news-panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.news-band__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 208, 223, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 208, 223, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
}

.news-band__frame img {
  display: block;
  width: 100%;
  height: clamp(180px, 32vw, 380px);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}

.news-band__caption {
  margin-top: 12px;
  max-width: 44em;
  font-size: 13px;
  line-height: 1.72;
  color: var(--data);
}

/* ---------- 筛选条 ---------- */

.news-filters {
  margin-bottom: 14px;
  padding-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 124, 155, 0.55) transparent;
}

.news-filters .filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: min-content;
}

.news-filters .filter-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ---------- 联赛栏目列表 ---------- */

.league-layout {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
}

.league-list {
  display: grid;
  gap: 0;
}

.league-row {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 4px 14px;
  padding: 20px 0 20px 14px;
  border-bottom: var(--news-rule-soft);
}

.league-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(46, 124, 155, 0.4);
  transform: skewY(-14deg);
  transition: background 220ms var(--ease);
}

.league-row:hover::before,
.league-row:focus-within::before {
  background: var(--path);
}

.league-row__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.league-row__main {
  min-width: 0;
}

.league-row__title {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.012em;
  color: var(--snow);
}

.league-row__desc {
  margin: 7px 0 0;
  max-width: 38em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--frost);
}

.league-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 12px 0 0;
}

.league-row__meta .num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--data);
  border: 1px solid rgba(126, 146, 152, 0.34);
  padding: 3px 9px;
  white-space: nowrap;
}

/* ---------- 展开说明 ---------- */

.news-details {
  margin-top: 12px;
}

.news-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--frost);
  background: rgba(46, 124, 155, 0.1);
  border: 1px solid rgba(143, 208, 223, 0.34);
  padding: 5px 11px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

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

.news-details > summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  color: var(--path);
}

.news-details[open] > summary::before {
  content: "\2013";
}

.news-details > summary:hover,
.news-details > summary:focus-visible {
  border-color: var(--path);
  color: var(--snow);
}

.news-details p {
  margin: 10px 0 0;
  padding-left: 12px;
  max-width: 40em;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--data);
  border-left: 2px solid rgba(255, 106, 26, 0.44);
}

/* ---------- 联赛侧栏视觉 ---------- */

.league-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.league-visual {
  margin: 0;
  border: var(--news-rule-soft);
  background: var(--news-panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.league-visual img {
  display: block;
  width: 100%;
  height: clamp(200px, 44vw, 320px);
  object-fit: cover;
  filter: saturate(0.8) brightness(0.92);
}

.league-visual figcaption {
  padding: 12px 14px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--data);
  border-top: 1px solid rgba(46, 124, 155, 0.22);
}

/* ---------- 赛季专题 ---------- */

.topic-layout {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
}

.topic-visual {
  margin: 0;
  border: var(--news-rule);
  background: var(--news-panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.topic-visual img {
  display: block;
  width: 100%;
  height: clamp(200px, 40vw, 420px);
  object-fit: cover;
  filter: saturate(0.78) brightness(0.9);
}

.topic-visual figcaption {
  padding: 12px 14px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--data);
  border-top: 1px solid rgba(46, 124, 155, 0.22);
}

.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.topic-item {
  padding: 16px 0;
  border-bottom: var(--news-rule-soft);
}

.topic-item:first-child {
  padding-top: 0;
}

.topic-item h3 {
  font-size: 16px;
  font-weight: 760;
  color: var(--snow);
}

.topic-item h3::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--path);
  transform: skewX(-32deg);
}

.topic-item p {
  margin: 8px 0 0 23px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.78;
  color: var(--frost);
}

/* ---------- 对照区 ---------- */

.compare-visual {
  margin: 0 0 clamp(18px, 3vw, 28px);
  border: var(--news-rule-soft);
  background: var(--news-panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.compare-visual img {
  display: block;
  width: 100%;
  height: clamp(150px, 26vw, 270px);
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
}

.compare-grid {
  display: grid;
  gap: 16px;
}

.compare-card {
  padding: clamp(16px, 3vw, 24px);
  border: var(--news-rule);
  background: var(--news-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.compare-card__row {
  display: grid;
  gap: 14px;
}

.compare-side h3 {
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.01em;
  color: var(--snow);
}

.compare-side p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--frost);
}

.compare-side--b {
  border-top: 2px solid var(--path);
  padding-top: 14px;
}

/* ---------- 更新节奏 ---------- */

.cadence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 62em;
}

.cadence-item {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: var(--news-rule-soft);
}

.cadence-item__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--path);
  padding-top: 4px;
  white-space: nowrap;
}

.cadence-item h3 {
  font-size: 16px;
  font-weight: 760;
  color: var(--snow);
}

.cadence-item p {
  margin: 7px 0 0;
  max-width: 40em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--frost);
}

/* ---------- 后续路径 ---------- */

.news-next__grid {
  display: grid;
  gap: 14px;
}

.next-card {
  display: block;
  padding: 18px 18px 20px;
  text-decoration: none;
  color: inherit;
  border: var(--news-rule-soft);
  background: linear-gradient(160deg, rgba(23, 74, 99, 0.34), rgba(7, 23, 26, 0.62));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.next-card:hover,
.next-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 26, 0.6);
  background: linear-gradient(160deg, rgba(23, 74, 99, 0.5), rgba(7, 23, 26, 0.7));
}

.next-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--path);
  border: 1px solid rgba(255, 106, 26, 0.42);
}

.next-card h3 {
  font-size: 16px;
  font-weight: 760;
  color: var(--snow);
}

.next-card p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--frost);
}

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

@media (min-width: 560px) {
  .compare-card__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .compare-side--a {
    padding-right: 18px;
  }

  .compare-side--b {
    border-top: 0;
    border-left: 2px solid var(--path);
    padding-top: 0;
    padding-left: 18px;
  }
}

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

@media (min-width: 780px) {
  .news-brief__item {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: start;
  }

  .news-brief__item .news-time {
    grid-column: 3;
    justify-self: end;
    margin-top: 2px;
  }

  .news-filters .filter-bar {
    flex-wrap: wrap;
  }

  .cadence-item {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
}

@media (min-width: 860px) {
  .topic-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .league-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
  }

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

@media (min-width: 1060px) {
  .news-next__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .next-card:hover,
  .next-card:focus-visible {
    transform: none;
  }
}
