.page-news {
  --news-entry: #FF6A2B;
  --news-release: #2BE3D1;
  --news-season: #6E5FA8;
  --news-editor: #FFC24B;
  --news-gap: clamp(44px, 7vw, 84px);

  background: var(--deep);
  color: var(--text-body);
  padding-bottom: clamp(56px, 9vw, 104px);
}

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

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

.page-news .news-masthead {
  padding: clamp(18px, 3.5vw, 32px) 0 0;
  max-width: 900px;
}

.page-news .news-masthead__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--star);
  text-shadow: 0 0 24px rgba(43, 227, 209, 0.18);
}

.page-news .news-masthead__lead {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.75;
  color: var(--star);
  max-width: 64ch;
}

.page-news .news-masthead__lead--dim {
  color: var(--mist);
  font-size: clamp(15px, 2.1vw, 17px);
}

.page-news .news-masthead__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .news-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: var(--glass);
}

.page-news .news-fact__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-news .news-fact__unit,
.page-news .news-fact__label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--mist);
}

.page-news .news-fact__unit {
  color: var(--star);
  opacity: 0.7;
}

/* ---------- 通用章节 ---------- */

.page-news .section {
  margin-top: var(--news-gap);
}

.page-news .section-head {
  max-width: 820px;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-news .news-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
}

.page-news .section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--star);
}

.page-news .section-sub {
  margin: 0;
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 1.75;
  color: var(--mist);
  max-width: 66ch;
}

/* ---------- 入口变更时间线 ---------- */

.page-news .news-timeline__stage {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3.5vw, 32px);
  border-radius: var(--r-glass);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--stand) 0%, var(--nebula) 100%);
}

.page-news .news-timeline__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}

.page-news .news-timeline__track {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .news-change {
  height: 100%;
  padding: 15px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--line-soft);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.page-news .news-change[open],
.page-news .news-change:hover {
  border-color: rgba(255, 106, 43, 0.45);
  background: rgba(255, 106, 43, 0.06);
}

.page-news .news-change__summary {
  display: grid;
  gap: 8px;
  min-height: 44px;
  align-content: center;
  cursor: pointer;
  list-style: none;
}

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

.page-news .news-change__summary::marker {
  content: "";
}

.page-news .news-change__summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.page-news .news-change__top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-news .news-change__dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orbit);
  box-shadow: 0 0 0 4px rgba(110, 95, 168, 0.16);
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

.page-news .news-change[open] .news-change__dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.2), 0 0 14px rgba(255, 106, 43, 0.5);
}

.page-news .news-change__when {
  color: var(--mist);
}

.page-news .news-change__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: var(--star);
}

.page-news .news-change__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
}

.page-news .news-change__body p {
  margin: 0 0 6px;
}

.page-news .news-change__meta {
  margin: 0;
}

.page-news .news-change__meta dt {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orbit);
}

.page-news .news-change__meta dd {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 分类动态列表 ---------- */

.page-news .news-tablist {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.page-news .news-tablist::-webkit-scrollbar {
  display: none;
}

.page-news .news-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-news .news-tab:hover {
  border-color: var(--cyan);
  color: var(--star);
}

.page-news .news-tab[aria-selected="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #17090b;
  font-weight: 700;
}

.page-news .news-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-news .news-tabs__body {
  margin-top: clamp(18px, 3vw, 30px);
}

.page-news .news-item {
  position: relative;
  margin-bottom: 12px;
  padding: 20px 20px 20px 25px;
  border-radius: var(--r-card);
  border: 1px solid var(--line-soft);
  background: var(--stand);
  transition: border-color 0.22s ease;
}

.page-news .news-item:hover {
  border-color: var(--line);
}

.page-news .news-item__bar {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: var(--r-pill);
  background: var(--orbit);
}

.page-news .news-item--entry .news-item__bar { background: var(--news-entry); }
.page-news .news-item--release .news-item__bar { background: var(--news-release); }
.page-news .news-item--season .news-item__bar { background: var(--news-season); }
.page-news .news-item--editor .news-item__bar { background: var(--news-editor); }

.page-news .news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.page-news .news-item__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--star);
}

.page-news .news-item--entry .news-item__tag {
  color: var(--news-entry);
  border-color: rgba(255, 106, 43, 0.4);
}

.page-news .news-item--release .news-item__tag {
  color: var(--news-release);
  border-color: rgba(43, 227, 209, 0.38);
}

.page-news .news-item--season .news-item__tag {
  color: #A18EE8;
  border-color: rgba(110, 95, 168, 0.55);
}

.page-news .news-item--editor .news-item__tag {
  color: var(--news-editor);
  border-color: rgba(255, 194, 75, 0.38);
}

.page-news .news-item__when {
  color: var(--mist);
}

.page-news .news-item__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.42;
  color: var(--star);
}

.page-news .news-item__desc {
  margin: 0 0 12px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-news .news-item__more {
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 227, 209, 0.35);
  padding-bottom: 2px;
}

.page-news .news-item__more:hover {
  border-bottom-color: var(--cyan);
}

.page-news .news-item__more:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-news .news-panel-media {
  margin: 0 0 16px;
  border-radius: var(--r-glass);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.page-news .news-panel-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 订阅侧栏 ---------- */

.page-news .news-subscribe {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-glass);
}

.page-news .news-subscribe__kicker {
  margin: 0 0 10px;
  color: var(--amber);
}

.page-news .news-subscribe__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.36;
  color: var(--star);
}

.page-news .news-subscribe__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-news .news-subscribe__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .news-subscribe__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-news .news-subscribe__mark {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(63, 208, 138, 0.5);
}

.page-news .news-subscribe__note {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--amber);
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
}

.page-news .news-subscribe__btn {
  display: inline-flex;
}

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

.page-news .news-season__media {
  margin: 0 0 clamp(18px, 3vw, 28px);
  border-radius: var(--r-glass);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.page-news .news-season__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.page-news .news-stage {
  padding: 22px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(42, 27, 77, 0.62) 0%, rgba(14, 23, 48, 0.94) 100%);
}

.page-news .news-stage__no {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: rgba(43, 227, 209, 0.38);
}

.page-news .news-stage__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--star);
}

.page-news .news-stage__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-news .news-stage__list li {
  position: relative;
  padding-left: 15px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
}

.page-news .news-stage__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

/* ---------- 版本发布记录 ---------- */

.page-news .news-releases__grid {
  display: grid;
  gap: 20px;
}

.page-news .news-releases__media {
  margin: 0;
  border-radius: var(--r-glass);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.page-news .news-releases__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.page-news .news-release {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-news .news-release:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-news .news-release__idx {
  padding-top: 3px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--orbit);
}

.page-news .news-release__name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: var(--star);
}

.page-news .news-release__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-news .news-releases__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-news .news-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 227, 209, 0.35);
}

.page-news .news-link:hover {
  border-bottom-color: var(--cyan);
}

.page-news .news-link:focus-visible,
.page-news .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

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

@media (min-width: 920px) {
  .page-news .news-timeline__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-news .news-releases__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 28px;
  }
}

@media (max-width: 719px) {
  .page-news .news-masthead__facts {
    gap: 8px;
  }

  .page-news .news-fact {
    padding: 8px 13px;
  }

  .page-news .news-item {
    padding: 18px 16px 18px 22px;
  }

  .page-news .news-change__head {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-change,
  .page-news .news-change__dot,
  .page-news .news-item,
  .page-news .news-tab {
    transition: none;
  }
}
