/* ===== 战报观察 · 页面专属样式（作用域 .page-news） ===== */

.page-news {
  --news-text: #C9D4E2;
  --news-col-gap: clamp(26px, 4.5vw, 56px);
  --news-block: clamp(44px, 6.5vw, 80px);
  background: var(--ink);
  color: var(--news-text);
  overflow-x: hidden;
}

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

.page-news [id] {
  scroll-margin-top: 88px;
}

.page-news .news-stream,
.page-news .news-topics,
.page-news .news-rhythm,
.page-news .news-revisit {
  padding-block: var(--news-block);
}

/* ---------- 面包屑 ---------- */

.page-news .news-crumb {
  padding-top: 22px;
  padding-bottom: 2px;
}

/* ---------- 栏目头 ---------- */

.page-news .news-hero {
  position: relative;
  padding: clamp(26px, 5vw, 58px) 0 clamp(30px, 5vw, 54px);
  background:
    radial-gradient(760px 380px at 84% -14%, rgba(123, 77, 255, .22), transparent 62%),
    radial-gradient(620px 340px at 4% 6%, rgba(0, 229, 208, .13), transparent 60%),
    var(--ink);
  border-bottom: 1px solid var(--tick);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 14px);
  pointer-events: none;
  opacity: .85;
}

.page-news .news-hero-inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-news .news-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(44px, 10vw, 78px);
  line-height: .94;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--paper);
}

.page-news .news-hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 6px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.page-news .news-hero-lede {
  margin: 22px 0 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--news-text);
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(20px, 4vw, 40px);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tick);
}

.page-news .news-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.4vw, 34px);
  line-height: 1;
  letter-spacing: .5px;
  color: var(--cyan);
}

.page-news .news-stat-label {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.page-news .news-hero-figure {
  margin: 0;
  padding: 10px;
  background: var(--navy);
  border: 1px solid var(--tick);
  box-shadow: 12px 12px 0 rgba(255, 75, 43, .14);
}

.page-news .news-hero-figure .frame-media {
  overflow: hidden;
  border: 1px solid var(--tick);
}

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

.page-news .news-hero-figure .frame-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .4px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .page-news .news-hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }
}

/* ---------- 分类标签条 ---------- */

.page-news .news-filterbar {
  position: sticky;
  top: var(--bar-h);
  z-index: 20;
  background: rgba(6, 8, 12, .95);
  border-bottom: 1px solid var(--tick);
}

.page-news .news-filterbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0;
}

.page-news .news-filterbar-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.page-news .news-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-filter {
  display: inline-block;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #10151D;
  background: var(--paper);
  border: 1px solid var(--orange);
  box-shadow: 3px 3px 0 rgba(255, 75, 43, .35);
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-news .news-filter:hover,
.page-news .news-filter:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(255, 75, 43, .48);
  color: #10151D;
}

.page-news .news-filterbar-note {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .4px;
  color: var(--muted);
}

@media (min-width: 960px) {
  .page-news .news-filterbar {
    position: static;
  }
}

/* ---------- 条目流 ---------- */

.page-news .news-stream-head {
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tick);
}

.page-news .news-stream-head h2,
.page-news .news-topics h2,
.page-news .news-rhythm h2,
.page-news .news-revisit h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-news .news-stream-head p,
.page-news .news-rhythm-lede,
.page-news .news-revisit-lede {
  margin: 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--news-text);
}

.page-news .news-columns {
  display: grid;
  gap: var(--news-col-gap);
  align-items: start;
}

@media (min-width: 900px) {
  .page-news .news-columns {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

/* 左列条目 */

.page-news .news-item {
  position: relative;
  margin-bottom: 24px;
  padding: 2px 0 22px 18px;
  border-left: 2px solid var(--tick);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-news .news-item:last-child {
  margin-bottom: 0;
}

.page-news .news-item:hover {
  border-left-color: var(--cyan);
  transform: translateX(3px);
}

.page-news .news-item-thumb {
  margin-bottom: 16px;
  border: 1px solid var(--tick);
  overflow: hidden;
}

.page-news .news-item-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.88) contrast(1.05);
  transition: transform .35s var(--ease);
}

.page-news .news-item:hover .news-item-thumb img {
  transform: scale(1.03);
}

.page-news .news-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .4px;
}

.page-news .news-item-time {
  color: var(--cyan);
}

.page-news .news-item-tag {
  padding: 3px 9px;
  color: var(--paper);
  background: rgba(243, 231, 211, .07);
  border: 1px solid var(--tick);
}

.page-news .news-item-title {
  margin: 11px 0 9px;
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.38;
  letter-spacing: -.012em;
  color: var(--paper);
}

.page-news .news-item-summary {
  margin: 0;
  max-width: 42em;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--news-text);
}

.page-news .news-item--lead .news-item-title {
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.28;
}

/* 横向刻度分隔 */

.page-news .news-divider {
  height: 16px;
  margin: 30px 0 28px;
  background-image: repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 11px);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 9px;
  border-bottom: 1px solid var(--tick);
}

/* 右列：版本与面板 */

.page-news .news-side-figure {
  margin: 0 0 26px;
  padding: 8px;
  background: var(--navy);
  border: 1px solid var(--tick);
}

.page-news .news-side-figure .frame-media {
  overflow: hidden;
  border: 1px solid var(--tick);
}

.page-news .news-side-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-news .news-side-figure .frame-caption {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-news .news-side-group {
  margin-bottom: 28px;
}

.page-news .news-side-group:last-child {
  margin-bottom: 0;
}

.page-news .news-side-title {
  margin: 0 0 14px;
  padding-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--tick);
}

.page-news .news-card {
  margin-bottom: 14px;
  padding: 17px 16px 18px;
  background: var(--panel);
  border: 1px solid var(--tick);
  border-top-width: 3px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-news .news-card:last-child {
  margin-bottom: 0;
}

.page-news .news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .35);
}

.page-news .news-card--version {
  border-top-color: var(--violet);
}

.page-news .news-card--panel {
  border-top-color: var(--cyan);
}

.page-news .news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .4px;
}

.page-news .news-card-tag {
  padding: 3px 8px;
  color: var(--paper);
  background: rgba(123, 77, 255, .18);
  border: 1px solid rgba(123, 77, 255, .5);
}

.page-news .news-card--panel .news-card-tag {
  background: rgba(0, 229, 208, .12);
  border-color: rgba(0, 229, 208, .42);
}

.page-news .news-card-time {
  color: var(--muted);
}

.page-news .news-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.42;
  color: var(--paper);
}

.page-news .news-card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--news-text);
}

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

.page-news .news-topics {
  background: var(--ink);
}

.page-news .news-topics-head {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-news .news-topics-copy p {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--news-text);
}

.page-news .news-topics-figure {
  margin: 0;
  border: 1px solid var(--tick);
  overflow: hidden;
}

.page-news .news-topics-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.85);
}

@media (min-width: 900px) {
  .page-news .news-topics-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.page-news .topic-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  margin-inline: calc(-1 * clamp(16px, 4vw, 32px));
  padding-inline: clamp(16px, 4vw, 32px);
  scrollbar-color: var(--tick) transparent;
}

.page-news .topic-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  padding: 14px 14px 18px;
  background: var(--navy);
  border: 1px solid var(--tick);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-news .topic-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.page-news .topic-cover {
  position: relative;
  display: block;
  height: 118px;
  margin-bottom: 14px;
  border: 1px solid var(--tick);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(123, 77, 255, .85), rgba(6, 59, 56, .92));
}

.page-news .topic-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 229, 208, .16) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(0, 229, 208, .16) 0 1px, transparent 1px 14px);
}

.page-news .topic-cover--b {
  background: linear-gradient(135deg, rgba(0, 229, 208, .72), rgba(12, 18, 25, .95));
}

.page-news .topic-cover--c {
  background: linear-gradient(135deg, rgba(255, 75, 43, .72), rgba(12, 18, 25, .95));
}

.page-news .topic-cover--d {
  background: linear-gradient(135deg, rgba(123, 77, 255, .7), rgba(0, 229, 208, .45));
}

.page-news .topic-cover--e {
  background: linear-gradient(135deg, rgba(6, 59, 56, .95), rgba(255, 75, 43, .55));
}

.page-news .topic-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .5px;
  color: var(--muted);
}

.page-news .topic-index {
  color: var(--cyan);
}

.page-news .topic-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.38;
  color: var(--paper);
}

.page-news .topic-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--news-text);
}

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

.page-news .news-rhythm-lede {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-news .rhythm-grid {
  display: grid;
  gap: 1px;
  background: var(--tick);
  border: 1px solid var(--tick);
}

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

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

.page-news .rhythm-cell {
  padding: 24px 20px 26px;
  background: var(--navy);
}

.page-news .rhythm-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1;
  letter-spacing: .5px;
  color: var(--orange);
}

.page-news .rhythm-cell h3 {
  margin: 0 0 9px;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--paper);
}

.page-news .rhythm-cell p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--news-text);
}

.page-news .news-rhythm-note {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 后续入口 ---------- */

.page-news .news-revisit {
  background: var(--ink);
}

.page-news .news-revisit-lede {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-news .revisit-grid {
  display: grid;
  gap: 16px;
}

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

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

.page-news .revisit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--tick);
  border-bottom: 3px solid var(--cyan);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .revisit-card:hover,
.page-news .revisit-card:focus-visible {
  transform: translateY(-4px);
  border-bottom-color: var(--orange);
  background: #1B2431;
}

.page-news .revisit-index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--muted);
}

.page-news .revisit-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.36;
  color: var(--paper);
}

.page-news .revisit-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--news-text);
}

.page-news .revisit-go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .4px;
  color: var(--cyan);
}

.page-news .revisit-card:hover .revisit-go,
.page-news .revisit-card:focus-visible .revisit-go {
  color: var(--orange);
}

/* ---------- 焦点可见性 ---------- */

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

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-news .news-item,
  .page-news .news-card,
  .page-news .topic-card,
  .page-news .revisit-card,
  .page-news .news-item-thumb img {
    transition: none;
  }

  .page-news .news-item:hover,
  .page-news .news-card:hover,
  .page-news .topic-card:hover,
  .page-news .revisit-card:hover,
  .page-news .news-item:hover .news-item-thumb img {
    transform: none;
  }
}
</main>
