.page-news {
  --news-line: rgba(34, 230, 255, 0.2);
  --news-line-soft: rgba(182, 174, 203, 0.14);
  --news-panel: rgba(26, 18, 48, 0.62);
  background: var(--ink-950);
  color: var(--text-hi);
  padding-bottom: clamp(40px, 7vw, 88px);
  overflow-x: hidden;
}

.page-news .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.page-news .eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-news .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-news .breadcrumbs {
  padding: clamp(16px, 3vw, 26px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-news .news-masthead {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px) 0 clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-masthead::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: min(620px, 82vw);
  height: 150%;
  background:
    linear-gradient(158deg, rgba(123, 43, 255, 0.62) 0%, rgba(123, 43, 255, 0.22) 42%, rgba(34, 230, 255, 0.14) 66%, transparent 84%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 76%);
  pointer-events: none;
}

.page-news .news-masthead::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 8%;
  width: min(560px, 76vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-500));
  transform: rotate(-9deg);
  pointer-events: none;
}

.page-news .news-masthead__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-news .news-masthead__lead h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

.page-news .news-masthead__lead .lede {
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.6vw, 1.06rem);
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0;
}

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

.page-news .news-masthead__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--news-line);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(34, 230, 255, 0.12);
}

.page-news .news-masthead__stats > div {
  background: rgba(16, 10, 28, 0.86);
  padding: 14px 16px;
}

.page-news .news-masthead__stats dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.page-news .news-masthead__stats dd {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--cyan-400);
  line-height: 1.1;
}

/* ---------- 栏目索引条 ---------- */
.page-news .channels {
  padding: clamp(30px, 5vw, 58px) 0 0;
}

.page-news .channels__head {
  max-width: 62ch;
  margin-bottom: 20px;
}

.page-news .channels__note {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.page-news .channels__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-news .ch-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .ch {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--news-line);
  border-radius: var(--radius-sm);
  background: var(--news-panel);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-news .ch:hover {
  border-color: var(--orange-500);
  transform: translateY(-2px);
}

.page-news .ch__id {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
}

.page-news .ch__name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
}

.page-news .ch__desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-mid);
}

.page-news .ch-radio:checked + .ch {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--ink-950);
}

.page-news .ch-radio:checked + .ch .ch__id,
.page-news .ch-radio:checked + .ch .ch__desc {
  color: rgba(7, 4, 14, 0.76);
}

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

/* ---------- 最新条目 ---------- */
.page-news .latest {
  padding: clamp(34px, 5.5vw, 66px) 0 0;
}

.page-news .latest__head {
  display: grid;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.page-news .latest__note {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.page-news .sortbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-news .sortbar__btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--news-line);
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.page-news .sortbar__btn:hover {
  color: var(--cyan-400);
  border-color: var(--cyan-400);
}

.page-news .ch-radio:checked + .sortbar__btn {
  color: var(--ink-950);
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.page-news .ch-radio:focus-visible + .sortbar__btn {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

.page-news .sortbar__hint {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  margin: 0 0 0 4px;
  flex-basis: 100%;
}

.page-news .sortbar__hint--ver {
  display: none;
}

.page-news:has(#sort-ver:checked) .sortbar__hint--date {
  display: none;
}

.page-news:has(#sort-ver:checked) .sortbar__hint--ver {
  display: block;
}

.page-news .entry-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--news-line-soft);
}

.page-news .entry {
  order: var(--o-date, 99);
  border-top: 1px solid var(--news-line-soft);
  transition: background 0.16s var(--ease);
}

.page-news:has(#sort-ver:checked) .entry {
  order: var(--o-ver, 99);
}

.page-news:has(#ch-new:checked) .entry:not([data-cat="new"]),
.page-news:has(#ch-update:checked) .entry:not([data-cat="update"]),
.page-news:has(#ch-open:checked) .entry:not([data-cat="open"]),
.page-news:has(#ch-report:checked) .entry:not([data-cat="report"]),
.page-news:has(#ch-compare:checked) .entry:not([data-cat="compare"]) {
  display: none;
}

.page-news .entry__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 6px;
  cursor: pointer;
  list-style: none;
  transition: background 0.16s var(--ease);
}

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

.page-news .entry__row:hover {
  background: rgba(34, 230, 255, 0.07);
}

.page-news .entry[open] .entry__row {
  background: rgba(123, 43, 255, 0.12);
}

.page-news .entry__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
}

.page-news .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  animation: news-pulse 2.6s ease-out infinite;
  flex: none;
}

@keyframes news-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 230, 255, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 230, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 230, 255, 0); }
}

.page-news .entry__title {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-news .entry__sum {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.page-news .entry__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .entry__go {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange-500);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-news .entry__row:hover .entry__go,
.page-news .entry[open] .entry__go {
  opacity: 1;
  transform: none;
}

.page-news .entry__more {
  padding: 0 6px 20px 16px;
  border-left: 2px solid var(--violet-500);
  margin: 0 0 6px;
}

.page-news .entry__ver {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  margin: 0 0 8px;
}

.page-news .entry__more p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 10px;
}

.page-news .entry__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--orange-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, 0.45);
}

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

/* ---------- 编辑推荐 ---------- */
.page-news .picks {
  padding: clamp(38px, 6vw, 72px) 0 0;
}

.page-news .picks__head {
  max-width: 56ch;
  margin-bottom: 20px;
}

.page-news .picks__note {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.page-news .picks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-news .pick {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--news-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 18, 48, 0.9), rgba(16, 10, 28, 0.9));
  box-shadow: 0 0 12px rgba(34, 230, 255, 0.1);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-news .pick:hover {
  border-color: var(--orange-500);
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.28);
  transform: translateY(-2px);
}

.page-news .pick .media-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--cyan-400);
  background: var(--ink-800);
}

.page-news .pick .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.page-news .pick--lead .media-frame {
  aspect-ratio: 16 / 10;
}

.page-news .pick .media-frame--square {
  aspect-ratio: 16 / 10;
}

.page-news .pick__text h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.35;
  margin: 10px 0 8px;
}

.page-news .pick__text p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 8px;
}

.page-news .pick__who {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--violet-300);
  margin: 0;
}

/* ---------- 开服日历 ---------- */
.page-news .calendar {
  padding: clamp(40px, 6vw, 76px) 0 0;
}

.page-news .calendar__head {
  max-width: 62ch;
  margin-bottom: 18px;
}

.page-news .calendar__note {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.page-news .calendar__figure {
  margin: 0 0 18px;
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-900);
}

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

.page-news .calendar__figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  padding: 10px 14px;
  border-top: 1px solid var(--news-line-soft);
}

.page-news .cal-scroll {
  max-height: 460px;
  overflow: auto;
  border: 1px solid var(--news-line);
  border-radius: var(--radius-md);
  background: rgba(16, 10, 28, 0.72);
  -webkit-overflow-scrolling: touch;
}

.page-news .cal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.page-news .cal-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--text-mid);
  background: var(--ink-900);
}

.page-news .cal-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink-800);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--news-line);
  white-space: nowrap;
}

.page-news .cal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--news-line-soft);
  color: var(--text-hi);
  vertical-align: middle;
}

.page-news .cal-table tbody:nth-of-type(2) tr:nth-child(even) {
  background: transparent;
}

.page-news .cal-table tbody tr.cal-row:nth-child(even) {
  background: rgba(26, 18, 48, 0.62);
}

.page-news .cal-table tbody tr.cal-row:hover {
  background: rgba(255, 122, 26, 0.16);
}

.page-news .cal-table .cal-group th {
  text-align: left;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-950);
  background: var(--violet-300);
}

.page-news .cal-table td.mono {
  white-space: nowrap;
  color: var(--text-mid);
}

/* ---------- 登录体验周报（暖纸插页） ---------- */
.page-news .weekly {
  margin: clamp(38px, 6vw, 76px) 0 0;
  border-radius: var(--radius-lg);
  background: var(--paper-100);
  color: var(--ink-900);
  overflow: hidden;
}

.page-news .weekly__inner {
  display: grid;
  gap: 26px;
  padding: clamp(22px, 4vw, 46px);
}

.page-news .weekly .section-title {
  color: var(--ink-900);
}

.page-news .weekly__note {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(7, 4, 14, 0.68);
  margin: 0 0 6px;
}

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

.page-news .weekly__list li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid rgba(7, 4, 14, 0.16);
}

.page-news .weekly__k {
  font-weight: 700;
  font-size: 0.95rem;
}

.page-news .weekly__v {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--violet-500);
  line-height: 1.15;
}

.page-news .weekly__list p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(7, 4, 14, 0.72);
  margin: 0;
}

.page-news .weekly .marginalia {
  border-left: 3px solid var(--violet-500);
  padding-left: 14px;
}

.page-news .weekly__side-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--violet-500);
  margin: 0 0 8px;
}

.page-news .weekly__side p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(7, 4, 14, 0.74);
  margin: 0 0 10px;
}

.page-news .weekly__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-500);
}

.page-news .weekly__link:hover {
  color: var(--orange-500);
}

/* ---------- 纠错与提醒 ---------- */
.page-news .feedback {
  padding: clamp(38px, 6vw, 76px) 0 0;
}

.page-news .feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-news .feedback__card {
  padding: clamp(20px, 3.4vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-line);
  background: rgba(16, 10, 28, 0.8);
}

.page-news .feedback__card--fix {
  background:
    linear-gradient(135deg, rgba(123, 43, 255, 0.34), rgba(16, 10, 28, 0.9) 62%);
  border-color: rgba(177, 140, 255, 0.5);
}

.page-news .feedback__card--follow {
  background:
    linear-gradient(135deg, rgba(34, 230, 255, 0.18), rgba(16, 10, 28, 0.9) 60%);
  border-color: rgba(34, 230, 255, 0.4);
}

.page-news .feedback__card p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 18px;
  max-width: 46ch;
}

.page-news .feedback__card .btn {
  display: inline-block;
}

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

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

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

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

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

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

  .page-news .entry__row {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    padding: 18px 8px;
  }

  .page-news .entry__time {
    padding-top: 3px;
  }

  .page-news .entry__more {
    margin-left: 150px;
  }
}

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

  .page-news .picks__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    grid-auto-rows: min-content;
  }

  .page-news .pick--lead {
    grid-row: span 2;
  }

  .page-news .weekly__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: start;
  }
}

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

  .page-news .entry__more {
    margin-left: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .pulse {
    animation: none;
  }

  .page-news .ch:hover,
  .page-news .pick:hover,
  .page-news .entry__go {
    transform: none;
  }

  .page-news .ch,
  .page-news .pick,
  .page-news .entry,
  .page-news .entry__go {
    transition: color 0.12s linear, border-color 0.12s linear, background-color 0.12s linear;
  }
}

.page-news {
  --o-date: inherit;
  --o-ver: inherit;
}
