.page-news {
  --news-radius: 18px;
  --news-gap: 22px;
  --proj-football: #2E9E6B;
  --proj-basketball: #3A7BD5;
  --proj-esports: #8A5CF6;
  --proj-tennis: #A8D65A;
  --proj-volleyball: #E0A24A;
  --proj-ice: #6FD3E8;
  --proj-badminton: #F0709B;
  --proj-multi: #8EA79E;
  background: var(--night);
  color: var(--white);
  padding-bottom: clamp(40px, 6vw, 80px);
}

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

/* ---------- 报头 ---------- */

.page-news .news-mast {
  padding: clamp(24px, 4.6vw, 52px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(110% 82% at 86% -12%, rgba(255, 107, 26, 0.16), transparent 60%),
    radial-gradient(90% 70% at -6% 108%, rgba(111, 211, 232, 0.1), transparent 62%),
    linear-gradient(180deg, var(--deep) 0%, var(--night) 80%);
}

.page-news .mast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 44px);
  margin-top: 20px;
}

.page-news .news-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

.page-news h1 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 15em;
}

.page-news .news-lede {
  margin: 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .news-ledger {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-news .news-ledger li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.page-news .ledger-k {
  font-size: 13px;
  color: var(--sage);
  line-height: 1.5;
}

.page-news .ledger-v {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--orange);
  white-space: nowrap;
}

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

.page-news .news-picks,
.page-news .news-index,
.page-news .news-clock,
.page-news .news-sub,
.page-news .news-fix {
  padding: clamp(42px, 6vw, 76px) 0;
}

.page-news .section-note {
  margin: 12px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sage);
}

/* ---------- 精选三场 ---------- */

.page-news .picks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap);
  margin-top: clamp(24px, 3.5vw, 40px);
}

.page-news .pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--news-radius);
  transition: transform var(--t-mid) ease, border-color var(--t-mid) ease;
}

.page-news .pick-card:hover {
  border-color: rgba(255, 107, 26, 0.55);
  transform: translateY(-2px);
}

.page-news .pick-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .pick-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 24px;
}

.page-news .pick-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .pick-time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--sage);
}

.page-news .pick-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-news .pick-card--lead .pick-title {
  font-size: clamp(23px, 3vw, 30px);
}

.page-news .pick-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .pick-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-news .pick-more {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 211, 232, 0.42);
  padding-bottom: 2px;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-news .pick-more:hover,
.page-news .pick-more:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 列表 ---------- */

.page-news .index-figure {
  margin: clamp(22px, 3vw, 34px) 0 0;
  border-radius: var(--news-radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--deep);
}

.page-news .index-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .index-figure .media-caption {
  padding: 12px 18px 16px;
  font-size: 13px;
  color: var(--sage);
}

.page-news .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(22px, 3vw, 34px) 0;
}

.page-news .filter-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--sage);
  font-size: 14px;
  text-decoration: none;
  background: transparent;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease;
}

.page-news .filter-tag:hover,
.page-news .filter-tag:focus-visible {
  color: var(--white);
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.14);
}

.page-news .list-group + .list-group {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-news .group-title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

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

.page-news .report-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.page-news .report-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--proj, var(--sage));
  transform: scaleY(0);
  transition: transform var(--t-mid) ease;
}

.page-news .report-row:hover::before,
.page-news .report-row:focus-within::before {
  transform: scaleY(1);
}

.page-news .row--football { --proj: var(--proj-football); }
.page-news .row--basketball { --proj: var(--proj-basketball); }
.page-news .row--esports { --proj: var(--proj-esports); }
.page-news .row--tennis { --proj: var(--proj-tennis); }
.page-news .row--volleyball { --proj: var(--proj-volleyball); }
.page-news .row--ice { --proj: var(--proj-ice); }
.page-news .row--badminton { --proj: var(--proj-badminton); }
.page-news .row--multi { --proj: var(--proj-multi); }

.page-news .report-no {
  grid-column: 1;
  grid-row: 1;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-news .report-main {
  grid-column: 2;
}

.page-news .report-name {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.page-news .report-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.page-news .report-meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .report-kind {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(111, 211, 232, 0.12);
  color: var(--ice);
  white-space: nowrap;
}

.page-news .report-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--sage);
  white-space: nowrap;
}

.page-news .index-foot {
  margin: clamp(26px, 3.5vw, 40px) 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sage);
}

.page-news .index-foot a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, 0.5);
}

.page-news .index-foot a:hover,
.page-news .index-foot a:focus-visible {
  color: var(--orange-soft);
}

/* ---------- 版本日志 ---------- */

.page-news .news-versions {
  padding: clamp(42px, 6vw, 76px) 0;
  background: var(--cream);
  color: var(--graphite);
}

.page-news .version-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
}

.page-news .news-versions .eyebrow {
  color: #6A7A73;
}

.page-news .version-lede {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.78;
  color: #46534D;
}

.page-news .version-figure {
  margin: 0;
  border-radius: var(--news-radius);
  overflow: hidden;
}

.page-news .version-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .version-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-news .version-node {
  position: relative;
  border: 1px solid rgba(13, 21, 18, 0.14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
}

.page-news .version-node summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-news .version-node summary::-webkit-details-marker {
  display: none;
}

.page-news .version-node summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 15px;
  color: #6A7A73;
}

.page-news .version-node[open] summary::after {
  content: "－";
}

.page-news .version-no {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #0D1512;
}

.page-news .version-label {
  font-size: 14px;
  font-weight: 700;
  color: #2C3A34;
}

.page-news .version-text {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #4B5852;
  border-top: 1px solid rgba(13, 21, 18, 0.1);
  padding-top: 12px;
}

.page-news .version-node.is-current {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.09);
}

.page-news .version-node.is-current .version-no {
  color: var(--orange);
}

.page-news .version-node.is-current summary::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--orange);
  animation: news-pulse 1.2s ease-in-out infinite;
}

@keyframes news-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255, 107, 26, 0); }
}

/* ---------- 24 小时 ---------- */

.page-news .clock-track {
  list-style: none;
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-news .clock-step {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 18px 22px;
  border-radius: var(--news-radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--deep), rgba(10, 38, 32, 0.9));
}

.page-news .clock-step:nth-child(1) { --fill: 25%; }
.page-news .clock-step:nth-child(2) { --fill: 50%; }
.page-news .clock-step:nth-child(3) { --fill: 76%; }
.page-news .clock-step:nth-child(4) { --fill: 100%; }

.page-news .clock-time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.page-news .clock-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-news .clock-fill {
  display: block;
  height: 100%;
  width: var(--fill, 25%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.page-news .clock-name {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
}

.page-news .clock-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 订阅 ---------- */

.page-news .sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}

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

.page-news .sub-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .sub-text {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .sub-list {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .sub-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .sub-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.06em;
}

/* ---------- 纠错 ---------- */

.page-news .fix-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(22px, 3.5vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(111, 211, 232, 0.12), transparent 60%),
    var(--deep);
}

.page-news .fix-text {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.74);
}

.page-news .fix-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-news .fix-quiet {
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 211, 232, 0.4);
  padding-bottom: 2px;
}

.page-news .fix-quiet:hover,
.page-news .fix-quiet:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 平板 ---------- */

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

  .page-news .pick-card--lead {
    grid-column: 1 / -1;
  }

  .page-news .pick-card--lead .pick-media img {
    aspect-ratio: 16 / 9;
  }

  .page-news .clock-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .sub-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .page-news .version-head {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .page-news .fix-card {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-news .fix-links {
    align-items: flex-end;
  }
}

/* ---------- 中小屏列表重排 ---------- */

@media (min-width: 860px) {
  .page-news .report-row {
    grid-template-columns: 48px minmax(0, 1fr) 84px 150px;
    gap: 6px 18px;
    align-items: start;
    padding: 18px 0 18px 16px;
  }

  .page-news .report-main {
    grid-column: 2;
    grid-row: 1;
  }

  .page-news .report-meta {
    display: contents;
  }

  .page-news .report-kind {
    grid-column: 3;
    justify-self: start;
  }

  .page-news .report-time {
    grid-column: 4;
    justify-self: end;
    text-align: right;
  }
}

/* ---------- 桌面 ---------- */

@media (min-width: 1024px) {
  .page-news .mast-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.85fr);
    align-items: end;
  }

  .page-news .picks-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .page-news .pick-card--lead {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .page-news .pick-card--lead .pick-media img {
    aspect-ratio: 20 / 13;
  }

  .page-news .clock-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .page-news .version-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .page-news .version-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 27px;
    height: 1px;
    background: rgba(13, 21, 18, 0.18);
  }

  .page-news .version-node {
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    border-top: 1px solid transparent;
  }

  .page-news .version-node summary {
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(13, 21, 18, 0.18);
  }

  .page-news .version-node summary::after {
    content: "展开";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #6A7A73;
  }

  .page-news .version-node[open] summary::after {
    content: "收起";
  }

  .page-news .version-no {
    display: block;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
  }

  .page-news .version-label {
    display: block;
  }

  .page-news .version-text {
    border-top: 0;
    padding: 12px 0 0;
  }

  .page-news .version-node.is-current {
    border-color: transparent;
  }

  .page-news .version-node.is-current summary::before {
    top: 27px;
    left: -4.5px;
    margin-top: -4.5px;
  }
}

/* ---------- 降低动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-news .pick-card,
  .page-news .report-row::before,
  .page-news .filter-tag,
  .page-news .pick-more,
  .page-news .fix-quiet {
    transition: none;
  }

  .page-news .pick-card:hover {
    transform: none;
  }

  .page-news .report-row::before {
    transform: scaleY(1);
    opacity: 0;
  }

  .page-news .report-row:hover::before,
  .page-news .report-row:focus-within::before {
    opacity: 1;
  }

  .page-news .version-node.is-current summary::before {
    animation: none;
  }
}
