.page-news {
  --news-cut: 18px;
  --news-rule: rgba(16, 26, 44, .14);
  --news-soft: rgba(246, 235, 216, .1);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

/* ---------- 首屏专题封面 ---------- */
.page-news .news-cover {
  position: relative;
  overflow: hidden;
  padding: 20px 0 34px;
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 6%, rgba(255, 107, 44, .3), transparent 46%),
    linear-gradient(158deg, var(--felt) 0%, var(--felt-deep) 62%, var(--ink) 100%);
}

.page-news .news-cover::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -10px;
  width: 70%;
  height: 130px;
  background: repeating-linear-gradient(115deg, rgba(216, 179, 106, .22) 0 2px, transparent 2px 15px);
  pointer-events: none;
}

.page-news .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.page-news .breadcrumbs__item {
  color: var(--mist);
  text-decoration: none;
}

.page-news .breadcrumbs__item[aria-current="page"] {
  color: var(--gold);
}

.page-news .cover-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.page-news .cover-copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 12px 0 0;
  transform: skewX(-2deg);
  text-wrap: balance;
}

.page-news .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0;
}

.page-news .cover-lead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246, 235, 216, .86);
  max-width: 46ch;
}

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

.page-news .cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-news .cover-figure {
  margin: 0;
  position: relative;
}

.page-news .cover-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-news .cover-figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon), var(--gold), var(--violet));
}

.page-news .cover-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-news .cover-index {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 30px;
}

.page-news .index-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "no name"
    "no note";
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--paper);
  background: var(--news-soft);
  border-left: 2px solid var(--gold);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.page-news .index-item:hover,
.page-news .index-item:focus-visible {
  background: rgba(255, 107, 44, .18);
  transform: translateX(2px);
}

.page-news .index-item__no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--neon);
  line-height: 1;
}

.page-news .index-item__name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
}

.page-news .index-item__note {
  grid-area: note;
  font-size: 12px;
  color: var(--mist);
  margin-top: 3px;
}

/* ---------- 章节头 ---------- */
.page-news .news-sections,
.page-news .news-entries,
.page-news .news-heat {
  padding: 44px 0 8px;
}

.page-news .news-sections {
  background: var(--paper);
}

.page-news .sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "no title"
    "no lead";
  column-gap: 14px;
  margin-bottom: 24px;
}

.page-news .sec-head--tight {
  margin-bottom: 20px;
}

.page-news .sec-no {
  grid-area: no;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--gold);
  margin: 0;
  align-self: start;
  padding-top: 4px;
}

.page-news .sec-head h2 {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 5.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.page-news .sec-lead {
  grid-area: lead;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(16, 26, 44, .74);
  max-width: 62ch;
}

.page-news .sec-head--dark h2 {
  color: var(--paper);
}

.page-news .sec-head--dark .sec-lead {
  color: rgba(246, 235, 216, .76);
}

/* ---------- 分段切换 ---------- */
.page-news .switch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .switch-tab {
  appearance: none;
  border: 1px solid rgba(16, 26, 44, .2);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 9px 15px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.page-news .switch-tab:hover,
.page-news .switch-tab:focus-visible {
  background: rgba(11, 92, 70, .1);
}

.page-news .switch-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.page-news .switch-panels {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.page-news .switch-panel {
  background: var(--paper-dim);
  border-top: 3px solid var(--neon);
  padding: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-news .switch-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.01em;
}

.page-news .switch-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(16, 26, 44, .78);
}

.page-news .panel-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .panel-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(16, 26, 44, .82);
}

.page-news .panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--neon);
}

.page-news .text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--felt);
  text-decoration: none;
  border-bottom: 2px solid var(--neon);
  padding-bottom: 2px;
}

.page-news .text-link:hover,
.page-news .text-link:focus-visible {
  color: var(--neon);
}

/* ---------- 条目流 ---------- */
.page-news .news-entries {
  background: var(--paper);
}

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

.page-news .entry {
  position: relative;
  background: #fffaf0;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 22px rgba(16, 26, 44, .07);
  clip-path: polygon(0 0, calc(100% - var(--news-cut)) 0, 100% var(--news-cut), 100% 100%, 0 100%);
  min-width: 0;
}

.page-news .entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--felt);
}

.page-news .entry-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  padding: 4px 9px;
  color: var(--paper);
  background: var(--felt);
}

.page-news .entry-cat--reward { background: var(--violet); }
.page-news .entry-cat--mobile { background: var(--neon); color: var(--ink); }
.page-news .entry-cat--esport { background: var(--gold); color: var(--ink); }
.page-news .entry-cat--guide { background: var(--mist); color: var(--ink); }
.page-news .entry-cat--update { background: var(--ink); }
.page-news .entry-cat--collab { background: var(--coral); }

.page-news .entry-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
}

.page-news .entry-title a {
  color: var(--ink);
  text-decoration: none;
}

.page-news .entry-title a:hover,
.page-news .entry-title a:focus-visible {
  color: var(--felt);
  text-decoration: underline;
  text-decoration-color: var(--neon);
  text-decoration-thickness: 2px;
}

.page-news .entry-sum {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(16, 26, 44, .76);
}

.page-news .entry-meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(16, 26, 44, .5);
}

.page-news .entry--feature {
  background: var(--ink);
  color: var(--paper);
  padding: 0;
  display: grid;
  gap: 0;
}

.page-news .entry--feature::before {
  background: linear-gradient(90deg, var(--violet), var(--amber));
}

.page-news .entry--feature .entry-body {
  padding: 20px 18px 6px;
}

.page-news .entry--feature .entry-title a {
  color: var(--paper);
  font-size: 20px;
}

.page-news .entry--feature .entry-title a:hover,
.page-news .entry--feature .entry-title a:focus-visible {
  color: var(--amber);
}

.page-news .entry--feature .entry-sum {
  color: rgba(246, 235, 216, .8);
}

.page-news .entry--feature .entry-meta {
  color: rgba(246, 235, 216, .55);
  padding-bottom: 12px;
}

.page-news .entry-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 时间带 ---------- */
.page-news .news-timeline {
  margin-top: 40px;
  padding: 42px 0 40px;
  background:
    linear-gradient(180deg, var(--felt-deep), var(--ink) 78%);
  color: var(--paper);
}

.page-news .track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px dashed rgba(216, 179, 106, .42);
}

.page-news .track-node {
  position: relative;
  padding: 0 0 24px 4px;
}

.page-news .track-node:last-child {
  padding-bottom: 0;
}

.page-news .track-dot {
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, .22);
}

.page-news .track-when {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-news .track-node h3 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -.01em;
}

.page-news .track-node p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(246, 235, 216, .78);
  max-width: 46ch;
}

.page-news .track-figure {
  margin: 26px 0 0;
}

.page-news .track-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-news .track-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 热度 ---------- */
.page-news .news-heat {
  background: var(--paper-dim);
  padding-bottom: 46px;
}

.page-news .heat-grid {
  display: grid;
  gap: 22px;
}

.page-news .heat {
  display: grid;
  gap: 12px;
}

.page-news .heat-row {
  display: grid;
  grid-template-columns: 5.5em 1fr auto;
  align-items: center;
  gap: 10px;
}

.page-news .heat-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.page-news .heat-track {
  display: block;
  height: 14px;
  background: rgba(16, 26, 44, .12);
  overflow: hidden;
}

.page-news .heat-bar {
  display: block;
  height: 100%;
}

.page-news .heat-bar--a { width: 42%; background: linear-gradient(90deg, var(--felt-deep), var(--felt)); }
.page-news .heat-bar--b { width: 27%; background: linear-gradient(90deg, var(--neon), var(--neon-soft)); }
.page-news .heat-bar--c { width: 19%; background: linear-gradient(90deg, var(--mist), #cfe0d6); }
.page-news .heat-bar--d { width: 12%; background: linear-gradient(90deg, var(--violet), var(--amber)); }

.page-news .heat-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  min-width: 3.2em;
  text-align: right;
}

.page-news .heat-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(16, 26, 44, .72);
}

.page-news .heat-figure {
  margin: 0;
}

.page-news .heat-figure img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-news .heat-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(16, 26, 44, .55);
}

/* ---------- 合作与投稿 ---------- */
.page-news .news-collab {
  padding: 42px 0 52px;
  background: var(--felt);
  color: var(--paper);
}

.page-news .collab-grid {
  display: grid;
  gap: 18px;
}

.page-news .collab-card {
  background: rgba(6, 56, 44, .68);
  padding: 22px 18px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-news .collab-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 5.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}

.page-news .collab-lead {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 235, 216, .84);
}

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

.page-news .collab-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(246, 235, 216, .84);
}

.page-news .collab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.page-news .collab-list strong {
  color: var(--amber);
  font-weight: 700;
}

.page-news .collab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-news .collab-side {
  background: rgba(246, 235, 216, .08);
  border-left: 3px solid var(--gold);
  padding: 20px 18px;
}

.page-news .collab-side h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
}

.page-news .collab-side p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(246, 235, 216, .82);
}

.page-news .text-link--light {
  color: var(--amber);
  border-bottom-color: var(--gold);
}

.page-news .text-link--light:hover,
.page-news .text-link--light:focus-visible {
  color: var(--paper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-news .cover-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .heat-grid {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 28px;
  }
}

@media (min-width: 760px) {
  .page-news .news-cover {
    padding-bottom: 42px;
  }

  .page-news .cover-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 34px;
  }

  .page-news .cover-lead {
    font-size: 16px;
  }

  .page-news .news-sections,
  .page-news .news-entries,
  .page-news .news-heat {
    padding-top: 56px;
  }

  .page-news .entry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-news .entry--feature {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-news .entry--feature .entry-body {
    padding: 24px 20px;
  }

  .page-news .entry-img {
    height: 100%;
    aspect-ratio: auto;
  }

  .page-news .track-figure img {
    aspect-ratio: 16 / 9;
  }

  .page-news .collab-grid {
    grid-template-columns: 1.35fr .65fr;
    gap: 22px;
  }
}

@media (min-width: 1040px) {
  .page-news .cover-index {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 38px;
  }

  .page-news .entry-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
  }

  .page-news .entry--a { grid-column: span 2; }
  .page-news .entry--b { grid-column: span 3; }
  .page-news .entry--c { grid-column: span 4; }
  .page-news .entry--feature { grid-column: span 6; }

  .page-news .switch-panels {
    min-height: 260px;
  }

  .page-news .switch-panel {
    padding: 24px 26px;
  }

  .page-news .track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 34px 0 0;
    border-left: 0;
    border-top: 2px dashed rgba(216, 179, 106, .42);
  }

  .page-news .track-node {
    padding: 0;
  }

  .page-news .track-dot {
    left: 0;
    top: -41px;
  }

  .page-news .track-figure {
    margin-top: 34px;
  }

  .page-news .news-collab {
    padding: 56px 0 64px;
  }

  .page-news .collab-card {
    padding: 30px 32px;
  }
}

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