.page-news {
  --news-line-color: rgba(10, 31, 68, 0.14);
  --news-tag-skew: -8deg;
  background: var(--c-white);
}

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

.page-news a:focus-visible,
.page-news summary:focus-visible {
  outline: 2px dashed var(--c-accent);
  outline-offset: 4px;
}

.page-news #latest-updates,
.page-news #user-notices,
.page-news #version-log,
.page-news #feature-stories,
.page-news #subscribe-alert {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* 面包屑 */
.page-news .breadcrumbs {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 24px 0;
}

.page-news .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-micro);
  color: var(--c-text-2);
}

.page-news .breadcrumbs li + li::before {
  content: "/";
  margin-right: 16px;
  color: var(--c-accent);
  font-weight: 700;
}

.page-news .breadcrumbs a {
  color: var(--c-text-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.page-news .breadcrumbs a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.page-news .breadcrumbs li[aria-current="page"] {
  color: var(--c-primary);
  font-weight: 600;
}

/* 首屏框景 */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--c-primary);
  color: var(--c-white);
  padding: 48px 0 56px;
  border-bottom: 6px solid var(--c-accent);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 320px;
  height: 280px;
  background: var(--c-accent);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 0 100%);
  opacity: 0.16;
  pointer-events: none;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.page-news .news-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.page-news .hero-index {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
}

.page-news .hero-kicker-line {
  width: 44px;
  height: 2px;
  background: var(--c-accent);
  transform: skewX(-20deg);
}

.page-news .news-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  margin: 0 0 12px;
  font-style: italic;
  letter-spacing: -0.02em;
}

.page-news .news-hero-title-sub {
  display: block;
  font-size: 0.46em;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  color: var(--c-accent);
  margin-top: 8px;
  letter-spacing: 0;
}

.page-news .news-hero-lead {
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.page-news .news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.78);
}

.page-news .news-hero-meta span::before {
  content: "//";
  color: var(--c-accent);
  margin-right: 8px;
  font-weight: 700;
}

/* 筛选条 */
.page-news .news-filter-wrap {
  background: var(--c-white);
  border-bottom: 2px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .news-filter-wrap::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .page-news .news-filter-wrap {
    position: sticky;
    top: var(--header-h);
    z-index: 60;
  }
}

.page-news .news-filter {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.page-news .filter-chip {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  background: var(--c-gray);
  border: 2px solid transparent;
  color: var(--c-text);
  font: 700 13px/1 var(--font-body);
  transform: skewX(var(--news-tag-skew));
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.page-news .filter-chip > span {
  display: inline-block;
  transform: skewX(8deg);
}

.page-news .filter-chip:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

.page-news .filter-chip-accent {
  background: var(--c-accent);
  color: var(--c-white);
}

.page-news .filter-chip-accent:hover {
  background: var(--c-accent-soft);
  color: var(--c-primary);
}

/* 通栏区域结构 */
.page-news .news-section-inner,
.page-news .news-features-inner,
.page-news .news-subscribe-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 64px 24px;
}

.page-news .news-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  border-bottom: 4px solid var(--c-border);
  padding-bottom: 16px;
}

@media (min-width: 900px) {
  .page-news .news-section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
}

.page-news .news-section-header h2,
.page-news .news-log-header h2,
.page-news .news-notices-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.page-news .news-section-kicker {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 6px;
}

.page-news .news-section-desc {
  max-width: 40ch;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2);
}

/* 最新更新列表 */
.page-news .news-latest {
  background: var(--c-white);
}

.page-news .news-updates-list {
  display: block;
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-areas:
    "no content"
    "media media";
  gap: 16px 14px;
  padding: 32px 0;
  border-bottom: 1px solid var(--news-line-color);
}

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

@media (min-width: 900px) {
  .page-news .news-entry {
    grid-template-columns: 88px 20px minmax(0, 1fr) 200px;
    grid-template-areas: "no rule content media";
    gap: 24px;
    padding: 44px 0;
  }
}

.page-news .news-entry-no {
  grid-area: no;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--news-line-color);
}

@media (min-width: 900px) {
  .page-news .news-entry-no {
    font-size: 68px;
  }
}

.page-news .news-entry-rule {
  grid-area: rule;
  position: relative;
  display: none;
  height: 100%;
}

@media (min-width: 900px) {
  .page-news .news-entry-rule {
    display: block;
  }
}

.page-news .news-entry-rule::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 12px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--c-accent) 0%, rgba(255, 107, 53, 0.35) 40%, rgba(255, 107, 53, 0) 100%);
}

.page-news .news-entry-content {
  grid-area: content;
  min-width: 0;
}

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

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: var(--fs-micro);
  font-weight: 800;
  line-height: 1.4;
  transform: skewX(var(--news-tag-skew));
  border: 1px solid transparent;
}

.page-news .news-tag > span {
  display: inline-block;
  transform: skewX(8deg);
}

.page-news .news-tag-outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-border);
}

.page-news .news-time {
  margin-left: auto;
  font-size: var(--fs-micro);
  color: var(--c-text-2);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.page-news .news-entry-content h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--c-text);
}

.page-news .news-entry-summary {
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--c-text-2);
  margin: 0 0 16px;
}

.page-news .news-entry-details {
  border-top: 1px dashed var(--news-line-color);
  margin-top: 4px;
}

.page-news .news-entry-details summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 0;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-primary);
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

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

.page-news .news-entry-details summary::before {
  content: "＋";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  transform: skewX(var(--news-tag-skew));
  transition: transform 0.25s;
}

.page-news .news-entry-details[open] summary::before {
  content: "－";
  transform: skewX(var(--news-tag-skew)) rotate(180deg);
}

.page-news .news-entry-details summary:hover {
  color: var(--c-accent);
}

.page-news .news-details-body {
  padding: 16px 0 4px;
  color: var(--c-text-2);
  font-size: var(--fs-small);
  line-height: 1.8;
}

.page-news .news-details-body p {
  margin: 0 0 12px;
}

.page-news .news-details-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-details-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.page-news .news-details-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  transform: skewX(-12deg);
}

.page-news .news-entry-media {
  grid-area: media;
  margin-top: 4px;
}

.page-news .news-entry-media .media-frame {
  width: 200px;
  height: 150px;
}

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

/* 用户通知 */
.page-news .news-notices {
  background: var(--c-gray);
  border-top: 2px solid var(--c-border);
  border-bottom: 2px solid var(--c-border);
  padding: 50px 0;
}

.page-news .news-notices-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .page-news .news-notices-inner {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 56px;
    align-items: start;
  }
}

.page-news .news-notices-head {
  border-left: 6px solid var(--c-accent);
  padding-left: 16px;
}

.page-news .news-notices-head p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.page-news .news-notices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-news .news-notices-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--news-line-color);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
}

.page-news .news-notices-list li:last-child {
  border-bottom: none;
}

.page-news .notice-index {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--c-accent);
  flex: 0 0 auto;
}

.page-news .news-notices-list a {
  color: var(--c-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-news .news-notices-list a:hover {
  color: var(--c-accent);
}

/* 版本日志 */
.page-news .news-log {
  background: var(--c-primary);
  color: rgba(255, 255, 255, 0.9);
  border-top: 8px solid var(--c-border);
  border-bottom: 8px solid var(--c-border);
  padding: 64px 0;
}

.page-news .news-log-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.page-news .news-log-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 20px;
  margin-bottom: 32px;
}

.page-news .news-log-header h2 {
  color: var(--c-white);
}

.page-news .news-log-header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.page-news .log-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.page-news .log-metric {
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 10px;
  text-align: center;
  transform: skewX(-6deg);
}

.page-news .log-metric > span {
  display: block;
  transform: skewX(6deg);
}

.page-news .metric-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: var(--c-accent);
}

.page-news .metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 4px;
}

.page-news .news-log-list {
  display: block;
}

.page-news .log-entry {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-news .log-entry:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
  .page-news .log-entry {
    grid-template-columns: 140px 140px minmax(0, 1fr);
    gap: 8px 24px;
    padding: 32px 0;
  }
}

.page-news .log-version {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  color: var(--c-accent);
  letter-spacing: -1px;
  line-height: 1.1;
}

.page-news .log-status-row {
  grid-column: 2;
}

@media (min-width: 900px) {
  .page-news .log-status-row {
    grid-column: 2;
  }
}

.page-news .log-status {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  transform: skewX(var(--news-tag-skew));
  letter-spacing: 0.06em;
}

.page-news .log-status span {
  display: inline-block;
  transform: skewX(8deg);
}

.page-news .log-status-v4 {
  background: transparent;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
}

.page-news .log-content {
  grid-column: 2;
  min-width: 0;
}

@media (min-width: 900px) {
  .page-news .log-content {
    grid-column: 3;
  }
}

.page-news .log-content h3 {
  color: var(--c-white);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.page-news .log-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.page-news .log-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .log-content ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.page-news .log-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

.page-news .log-link {
  margin-top: 8px;
}

.page-news .log-link a {
  color: var(--c-accent-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-news .log-link a:hover {
  color: var(--c-white);
  border-color: var(--c-white);
}

/* 专题报道 */
.page-news .news-features {
  background: var(--c-gray);
}

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

@media (min-width: 960px) {
  .page-news .feature-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.page-news .feature-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .feature-card {
  background: var(--c-white);
  border: 2px solid var(--c-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.page-news .feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.page-news .feature-media {
  border-bottom: 2px solid var(--c-border);
  overflow: hidden;
}

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

.page-news .feature-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .feature-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  margin: 12px 0 10px;
  color: var(--c-text);
}

.page-news .feature-card-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
  margin: 0 0 16px;
  flex: 1;
}

.page-news .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s, border-color 0.2s;
}

.page-news .feature-link:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
  gap: 10px;
}

/* 订阅提示 */
.page-news .news-subscribe {
  background: var(--c-white);
}

.page-news .subscribe-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--c-primary);
  color: var(--c-white);
  border: 2px solid var(--c-border);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 960px) {
  .page-news .subscribe-panel {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: center;
    padding: 48px;
  }
}

.page-news .subscribe-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--c-accent);
}

.page-news .subscribe-note {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
}

.page-news .subscribe-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-style: italic;
  line-height: 1.15;
  margin: 10px 0 16px;
  color: var(--c-white);
}

.page-news .subscribe-copy p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-news .subscribe-contacts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-news .subscribe-contacts li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 16px;
  position: relative;
}

.page-news .subscribe-contacts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  transform: skewX(-12deg);
}

.page-news .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .subscribe-panel .btn-outline {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.page-news .subscribe-panel .btn-outline:hover,
.page-news .subscribe-panel .btn-outline:focus-visible {
  color: var(--c-primary);
  border-color: var(--c-white);
  background: var(--c-white);
}

.page-news .subscribe-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-news .subscribe-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0 1px,
    transparent 1px 8px
  );
  transform: skewX(-6deg);
}

.page-news .subscribe-media img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 20px;
  border: 4px solid var(--c-accent);
  box-shadow: 0 24px 48px rgba(9, 26, 54, 0.35);
}
