.page-news {
  --news-green: var(--pitch-green);
  --news-orange: var(--energy-orange);
  --news-blue: var(--data-blue);
  --news-panel: var(--panel-bg);
  --news-line: var(--line-stroke);
  --news-muted: var(--muted-slate);
  --news-clip: 16px;

  background: var(--night-bg);
  color: var(--white-off);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-news .tqb-breadcrumbs {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 14px;
  color: var(--news-muted);
  display: flex;
  gap: 8px;
}

.page-news .tqb-breadcrumbs a {
  color: var(--news-blue);
  text-decoration: none;
}

.page-news .tqb-breadcrumbs a:hover {
  text-decoration: underline;
}

.page-news .tqb-eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--news-green);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-left: 18px;
}

.page-news .tqb-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--news-orange);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.page-news .tqb-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.page-news .tqb-section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.page-news .tqb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--news-orange);
  color: var(--white-off);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  text-decoration: none;
  transition: filter var(--transition);
}

.page-news .tqb-btn:hover {
  filter: brightness(1.15);
}

.page-news .tqb-btn--ghost {
  background: transparent;
  color: var(--news-muted);
  border: 1px solid var(--news-line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-news .tqb-btn--ghost:hover {
  color: var(--white-off);
  border-color: var(--news-muted);
  filter: none;
}

.page-news .tqb-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--news-muted);
  border: 1px solid var(--news-line);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.page-news .tqb-tag--live {
  color: var(--news-green);
  border-color: rgba(0, 200, 83, 0.35);
}

.page-news .tqb-tag--hot {
  color: var(--news-orange);
  border-color: rgba(255, 109, 0, 0.35);
}

/* ---------- 顶部横幅 ---------- */
.page-news .news-top-banner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 28px 24px 12px;
}

.page-news .news-top-banner__inner {
  position: relative;
  background: var(--news-panel);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  padding: 0;
  overflow: hidden;
}

.page-news .news-top-banner__text {
  padding: 28px 28px 8px;
  position: relative;
  z-index: 2;
}

.page-news .news-top-banner__lede {
  max-width: 680px;
  color: var(--news-muted);
  font-size: 15px;
  margin: 0 0 16px;
}

.page-news .news-top-banner__media {
  position: relative;
}

.page-news .news-top-banner__media img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.85) contrast(1.05);
}

/* ---------- 日志主体布局 ---------- */
.page-news .news-journal-wrap {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-news .news-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-left: 4px solid var(--news-orange);
  padding-left: 16px;
}

.page-news .news-section-note {
  color: var(--news-muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- 筛选标签 ---------- */
.page-news .news-timeline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-news .news-filter-btn {
  padding: 6px 14px;
  font-family: var(--font-num);
  font-size: 13px;
  background: transparent;
  color: var(--news-muted);
  border: 1px solid var(--news-line);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all var(--transition);
}

.page-news .news-filter-btn:hover {
  color: var(--white-off);
  border-color: var(--news-blue);
}

.page-news .news-filter-btn.is-active {
  background: var(--news-green);
  border-color: var(--news-green);
  color: #00280A;
  font-weight: 700;
}

/* ---------- 时间轴 ---------- */
.page-news .news-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--news-line) 0 6px, transparent 6px 12px);
}

.page-news .news-timeline__item {
  position: relative;
  padding: 0 0 36px 40px;
}

.page-news .news-timeline__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--night-bg);
  border: 3px solid var(--news-green);
  transform: rotate(45deg);
  z-index: 1;
}

.page-news .news-timeline__item[data-category="injury"]::before {
  border-color: var(--news-orange);
}

.page-news .news-timeline__item[data-category="team"]::before {
  border-color: var(--news-blue);
}

.page-news .news-timeline__item[data-category="product"]::before {
  border-color: var(--highlight);
}

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

.page-news .news-timeline__version {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--news-green);
  background: rgba(0, 200, 83, 0.08);
  padding: 2px 8px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.page-news .news-timeline__time {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--news-muted);
  border-bottom: 1px dashed var(--news-line);
}

.page-news .news-timeline__body {
  background: var(--news-panel);
  padding: 16px 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  border-left: 3px solid var(--news-green);
}

.page-news .news-timeline__item[data-category="injury"] .news-timeline__body {
  border-left-color: var(--news-orange);
}

.page-news .news-timeline__item[data-category="team"] .news-timeline__body {
  border-left-color: var(--news-blue);
}

.page-news .news-timeline__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 6px;
}

.page-news .news-timeline__text {
  color: var(--news-muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.page-news .news-timeline__body .tqb-tag {
  margin-right: 6px;
  margin-top: 6px;
}

.page-news .news-timeline-more {
  margin-top: 8px;
  text-align: center;
  border-top: 2px solid var(--news-line);
  padding-top: 28px;
}

/* ---------- 侧栏 ---------- */
.page-news .news-aside__panel {
  background: var(--news-panel);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .news-aside__label {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--news-green);
  margin: 0;
  border-bottom: 2px solid var(--news-line);
  padding-bottom: 12px;
  letter-spacing: 0.12em;
}

.page-news .news-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-aside__tag {
  display: block;
  padding: 5px 12px;
  font-size: 13px;
  border: 1px solid var(--news-line);
  color: var(--news-muted);
  text-decoration: none;
}

.page-news .news-aside__tag.is-current {
  background: var(--news-orange);
  color: var(--white-off);
  border-color: var(--news-orange);
  font-weight: 700;
}

.page-news .news-aside__img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  filter: saturate(0.8);
}

/* ---------- 赛季中段专题 ---------- */
.page-news .news-feature-section {
  max-width: var(--container-w);
  margin: 72px auto 0;
  padding: 56px 24px;
  border-top: 3px solid var(--news-green);
  border-bottom: 3px solid var(--news-green);
  position: relative;
}

.page-news .news-feature-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--news-green) 0 10%, transparent 10% 15%, var(--news-orange) 15% 25%, transparent 25% 30%, var(--news-blue) 30% 40%, transparent 40% 45%, var(--news-green) 45% 55%, transparent 55% 60%, var(--news-orange) 60% 70%, transparent 70% 75%, var(--news-blue) 75% 85%, transparent 85% 90%, var(--news-green) 90% 100%);
}

.page-news .news-feature__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.page-news .news-feature__meta {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--news-orange);
  margin: 0;
}

.page-news .news-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-news .news-feature__article .news-feature__intro {
  font-size: 16px;
  color: var(--highlight);
  border-left: 3px solid var(--news-orange);
  padding-left: 16px;
  margin: 0 0 24px;
  font-weight: 500;
}

.page-news .news-feature__subtitle {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  margin: 28px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-news .news-feature__subtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--news-green);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.page-news .news-feature__article p {
  color: var(--news-muted);
  font-size: 14.5px;
  margin: 0 0 12px;
}

.page-news .news-feature__stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.page-news .news-feature__stat {
  background: var(--news-panel);
  padding: 16px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  text-align: center;
}

.page-news .news-feature__stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--news-green);
  line-height: 1.2;
}

.page-news .news-feature__stat-label {
  display: block;
  font-size: 12px;
  color: var(--news-muted);
  margin-top: 4px;
}

.page-news .news-feature__media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-news .news-feature__caption {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--news-muted);
  margin-top: 10px;
  border-left: 2px solid var(--news-blue);
  padding-left: 10px;
}

/* ---------- 工具指南 ---------- */
.page-news .news-guide-section {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.page-news .news-guide__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-news .news-guide__lede {
  color: var(--news-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 16px 0 28px;
}

.page-news .news-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide;
}

.page-news .news-guide__step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 2px dashed var(--news-line);
}

.page-news .news-guide__step:last-child {
  border-bottom: none;
}

.page-news .news-guide__step-num {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  color: var(--news-orange);
  flex-shrink: 0;
  width: 56px;
  text-align: right;
  line-height: 1;
}

.page-news .news-guide__step h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 6px;
}

.page-news .news-guide__step p {
  color: var(--news-muted);
  font-size: 14px;
  margin: 0;
}

.page-news .news-guide__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-news .news-guide__media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

/* ---------- 关于本日志 ---------- */
.page-news .news-about-section {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-news .news-about__inner {
  background: var(--news-panel);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  padding: 32px 24px;
}

.page-news .news-about__inner > p {
  color: var(--news-muted);
  font-size: 15px;
  max-width: 720px;
  margin: 16px 0 28px;
}

.page-news .news-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .news-about__item {
  border-left: 3px solid var(--news-line);
  padding-left: 16px;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-news .news-about__item h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--news-green);
  margin: 0 0 6px;
}

.page-news .news-about__item p {
  color: var(--news-muted);
  font-size: 14px;
  margin: 0;
}

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

/* ---------- 响应式断点 ---------- */
@media (min-width: 640px) {
  .page-news .news-top-banner__media img {
    height: 220px;
  }

  .page-news .news-top-banner__text {
    padding: 36px 40px 12px;
  }

  .page-news .news-journal-wrap {
    padding: 48px 24px 0;
  }

  .page-news .news-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .news-timeline {
    padding-right: 10px;
  }

  .page-news .news-feature__stat-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-news .news-guide__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .page-news .news-about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-news .news-journal-wrap {
    grid-template-columns: 1fr 280px;
    gap: 48px;
  }

  .page-news .news-aside__panel {
    position: sticky;
    top: 24px;
  }

  .page-news .news-aside__img {
    max-height: none;
  }

  .page-news .news-feature__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .page-news .news-feature__media {
    position: sticky;
    top: 24px;
  }

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

  .page-news .news-top-banner__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }

  .page-news .news-top-banner__media img {
    height: 100%;
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news * {
    animation: none !important;
    transition: none !important;
  }
}
