.page-news {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 16px;
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--page-bg);
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.page-news .breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  outline: none;
}

.page-news .idx {
  font-family: var(--headline-font);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin: 0 0 4px;
}

.page-news h1 {
  font-family: var(--headline-font);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  margin: 8px 0 12px;
  letter-spacing: 0.01em;
}

.page-news h2 {
  font-family: var(--headline-font);
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
  margin: 4px 0 8px;
  letter-spacing: 0.01em;
}

.page-news section {
  margin-bottom: 32px;
}

.page-news .section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-news .section-head p {
  flex-basis: 100%;
  max-width: 720px;
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.page-news .section-head--dark p,
.page-news .section-head--dark .idx {
  color: rgba(245, 246, 248, 0.72);
}

.page-news .patch-hero {
  display: grid;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(47, 59, 76, 0.1) 0%, rgba(47, 59, 76, 0.02) 60%), #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.06);
  margin-bottom: 32px;
}

.page-news .patch-lead {
  color: var(--text-dark);
  font-size: 15px;
  margin: 0 0 12px;
  max-width: 720px;
}

.page-news .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.page-news .metric-card {
  position: relative;
  padding: 14px 12px 12px;
  color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(26, 26, 26, 0.12);
}

.page-news .metric-card--orange {
  background: var(--orange);
}

.page-news .metric-card--teal {
  background: var(--teal);
  color: var(--text-dark);
}

.page-news .metric-card--yellow {
  background: var(--yellow);
  color: var(--text-dark);
}

.page-news .metric-card--violet {
  background: var(--violet);
}

.page-news .metric-num {
  display: block;
  font-family: var(--headline-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.page-news .metric-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.88;
}

.page-news .batch-grid {
  display: grid;
  gap: 20px;
}

.page-news .batch-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.page-news .batch-panel--current {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(0, 255, 159, 0.35);
}

.page-news .batch-panel--current::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -3px;
  bottom: 18px;
  width: 6px;
  background: var(--neon);
}

.page-news .batch-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 12px;
}

.page-news .batch-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .batch-no {
  font-family: var(--headline-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.page-news .batch-date {
  font-size: 12px;
  color: var(--text-light);
}

.page-news .batch-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  padding-right: 0;
}

.page-news .batch-thumb {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--page-bg);
}

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

.page-news .batch-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.page-news .batch-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 2px;
  border-bottom: 1px solid #eef0f3;
  font-size: 14px;
}

.page-news .batch-item:last-child {
  border-bottom: 0;
}

.page-news .item-idx {
  font-family: var(--headline-font);
  font-size: 12px;
  color: var(--text-light);
  width: 24px;
  flex: none;
}

.page-news .item-name {
  flex: 1 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
}

.page-news .diff-chip {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  flex: none;
  white-space: nowrap;
}

.page-news .diff-chip--low {
  background: rgba(6, 214, 160, 0.18);
  color: #0b8c66;
}

.page-news .diff-chip--mid {
  background: rgba(255, 209, 102, 0.28);
  color: #8a6400;
}

.page-news .diff-chip--high {
  background: rgba(239, 71, 111, 0.16);
  color: #c9335a;
}

.page-news .version-timeline {
  position: relative;
  background: var(--dark-blue);
  color: #ffffff;
  padding: 28px 18px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  overflow: hidden;
}

.page-news .version-timeline .section-head h2 {
  color: #ffffff;
}

.page-news .timeline-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.page-news .timeline-bg img {
  width: 100%;
  height: 100%;
  max-width: 300px;
  object-fit: cover;
  display: block;
}

.page-news .timeline-wrap {
  position: relative;
  z-index: 1;
  padding: 8px 0;
}

.page-news .timeline-items {
  position: relative;
  padding-left: 30px;
}

.page-news .timeline-items::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--yellow) 50%, var(--violet));
  border-radius: 2px;
}

.page-news .timeline-node {
  position: relative;
  margin: 0 0 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
}

.page-news .timeline-node::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.3);
}

.page-news .timeline-node--v121::before {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.3);
}

.page-news .timeline-node--v122::before {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(155, 93, 229, 0.3);
}

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

.page-news .node-version {
  font-family: var(--headline-font);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.page-news .node-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(245, 246, 248, 0.88);
  font-size: 14px;
}

.page-news .node-list li {
  position: relative;
  padding: 6px 0 6px 18px;
}

.page-news .node-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--neon);
}

.page-news .platform-compare {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 32px;
}

.page-news .compare-grid {
  display: grid;
  gap: 20px;
}

.page-news .compare-figure {
  margin: 0;
  position: relative;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-news .compare-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.72);
  color: #ffffff;
  font-size: 12px;
  padding: 6px 10px;
}

.page-news .table-scroll {
  width: 100%;
  overflow-x: auto;
}

.page-news .compare-table {
  min-width: 640px;
}

.page-news .compare-table .change-mark {
  display: inline-block;
  background: rgba(0, 255, 159, 0.22);
  color: #075d43;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.page-news .patch-matrix {
  position: relative;
  background: var(--dark-blue);
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  color: #ffffff;
  overflow: hidden;
}

.page-news .patch-matrix .section-head h2 {
  color: #ffffff;
}

.page-news .patch-matrix .section-head p {
  color: rgba(245, 246, 248, 0.72);
}

.page-news .patch-table-scroll {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.page-news .patch-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
}

.page-news .patch-table th,
.page-news .patch-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  font-size: 13px;
  color: rgba(245, 246, 248, 0.92);
  vertical-align: top;
}

.page-news .patch-table th {
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--headline-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon);
}

.page-news .patch-table tr:hover td,
.page-news .patch-table tr:focus-within td {
  background: rgba(0, 255, 159, 0.1);
}

.page-news .patch-table-decor {
  margin: 16px 0 0;
  text-align: center;
}

.page-news .patch-table-decor img {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  border-radius: var(--radius);
  display: inline-block;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.page-news .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dark);
}

.page-news .btn--ghost:hover,
.page-news .btn--ghost:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
  outline: none;
}

.page-news .btn--primary {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  margin-top: 4px;
}

.page-news .btn--primary:hover,
.page-news .btn--primary:focus-visible {
  background: #e85a24;
  border-color: #e85a24;
  transform: translateY(-1px);
  outline: none;
}

@media (min-width: 768px) {
  .page-news {
    padding: 28px 24px;
  }

  .page-news .patch-hero {
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 24px;
  }

  .page-news .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    min-width: 280px;
  }

  .page-news .metric-num {
    font-size: 34px;
  }

  .page-news .section-head p {
    flex-basis: auto;
  }

  .page-news .batch-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .page-news .batch-panel:last-child {
    grid-column: 1 / -1;
  }

  .page-news .version-timeline {
    padding: 32px 28px;
  }

  .page-news .timeline-items {
    padding-left: 36px;
  }

  .page-news .timeline-items::before {
    left: 10px;
  }

  .page-news .timeline-node::before {
    left: -36px;
    width: 14px;
    height: 14px;
  }

  .page-news .compare-grid {
    grid-template-columns: minmax(0, 320px) 1fr;
    align-items: start;
  }

  .page-news .patch-matrix {
    padding: 30px 24px 24px;
  }
}

@media (min-width: 1024px) {
  .page-news {
    padding: 32px;
  }

  .page-news .patch-hero {
    padding: 32px;
  }

  .page-news .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    min-width: 320px;
  }

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

  .page-news .batch-panel:last-child {
    grid-column: auto;
  }

  .page-news .batch-panel {
    padding: 18px;
  }

  .page-news .batch-thumb {
    width: 68px;
    height: 68px;
  }

  .page-news .batch-item {
    font-size: 14px;
  }

  .page-news .platform-compare {
    padding: 28px;
  }

  .page-news .patch-table th,
  .page-news .patch-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .page-news {
    padding: 36px 40px;
  }

  .page-news .version-timeline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
  }

  .page-news .version-timeline .btn {
    margin-top: 0;
  }
}
