.page-news {
  --news-orange-glow: rgba(255, 106, 0, 0.35);
  --news-blue-glow: rgba(0, 208, 255, 0.25);
  --news-ink-soft: rgba(26, 10, 30, 0.72);
  --news-panel-dark: rgba(255, 242, 229, 0.07);
  background: var(--c-dark-1);
}

.page-news .news-head {
  background: linear-gradient(135deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  color: var(--c-light-text);
  padding: 26px 0 0;
  position: relative;
  overflow: hidden;
}
.page-news .news-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-news .news-head .container {
  position: relative;
  z-index: 1;
}
.page-news .news-head .breadcrumb {
  margin-bottom: 22px;
}
.page-news .news-head .breadcrumb a {
  color: var(--c-blue);
  text-decoration: none;
}
.page-news .news-head .breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-news .news-head-text {
  max-width: 820px;
  padding: 6px 0 30px;
}
.page-news .news-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  letter-spacing: 0.14em;
  color: var(--c-yellow);
  text-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}
.page-news .news-head h1 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--c-light-text);
  text-shadow: 0 0 14px var(--news-blue-glow), 0 2px 0 rgba(0, 0, 0, 0.35);
}
.page-news .news-lead {
  margin: 0 0 20px;
  font-size: var(--text-body);
  line-height: 1.75;
  color: rgba(255, 242, 229, 0.86);
}
.page-news .news-lead-strong {
  color: var(--c-yellow);
  font-family: var(--font-mono);
  font-weight: 700;
}
.page-news .news-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-news .news-hero-figure {
  margin: 0;
  border-top: 4px solid var(--c-orange);
  border-bottom: 1px solid rgba(255, 242, 229, 0.12);
}
.page-news .news-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .news-batch-section {
  background: linear-gradient(140deg, var(--c-dark-1) 0%, var(--c-dark-2) 100%);
  padding: 48px 0 44px;
}
.page-news .news-batch-section .section-title {
  color: var(--c-light-text);
}
.page-news .news-batch-section .section-desc {
  color: rgba(255, 242, 229, 0.72);
}
.page-news .news-batch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 26px 0 26px;
}
.page-news .news-batch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 224px;
  padding: 22px 20px 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--c-ink);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.page-news .news-batch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.28), 0 0 22px var(--news-blue-glow);
}
.page-news .news-batch-orange {
  background: linear-gradient(135deg, #ff8a3d, var(--c-orange));
}
.page-news .news-batch-teal {
  background: linear-gradient(135deg, #2ee6c9, var(--c-teal));
}
.page-news .news-batch-blue {
  background: linear-gradient(135deg, #4edcff, var(--c-blue));
}
.page-news .news-batch-yellow {
  background: linear-gradient(135deg, #ffd75e, var(--c-yellow));
}
.page-news .news-batch-pink {
  background: linear-gradient(135deg, #ff78ac, var(--c-pink));
}
.page-news .news-batch-purple {
  background: linear-gradient(135deg, #c589ff, var(--c-tag-purple));
}
.page-news .news-batch-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.55);
}
.page-news .news-batch-top, 
.page-news .news-batch-count, 
.page-news .news-batch-tags, 
.page-news .news-batch-more {
  position: relative;
  z-index: 1;
}
.page-news .news-batch-figure {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  opacity: 0.9;
  z-index: 0;
}
.page-news .news-batch-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-news .news-batch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 62px;
}
.page-news .news-batch-code {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.page-news .news-batch-day {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  background: rgba(255, 255, 255, 0.46);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.page-news .news-batch-count {
  margin: 0;
  font-size: var(--text-body);
}
.page-news .news-batch-count .num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.7rem;
  margin-right: 4px;
}
.page-news .news-batch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-news .news-batch-tags li {
  background: rgba(255, 255, 255, 0.55);
  color: var(--c-ink);
  font-size: var(--text-small);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.page-news .news-batch-tags .num {
  font-family: var(--font-mono);
  font-size: 0.8em;
  opacity: 0.72;
}
.page-news .news-batch-more {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(26, 10, 30, 0.28);
}
.page-news .news-batch-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-ink);
  font-weight: 700;
  font-size: var(--text-small);
  text-decoration: none;
}
.page-news .news-batch-more a::after {
  content: "→";
  transition: transform 0.2s ease;
}
.page-news .news-batch-card:hover .news-batch-more a::after {
  transform: translateX(4px);
}

.page-news .news-older-batches {
  border: 1px solid rgba(255, 242, 229, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 242, 229, 0.05);
  padding: 0 16px;
}
.page-news .news-older-batches summary {
  cursor: pointer;
  padding: 14px 0;
  color: var(--c-light-text);
  font-weight: 700;
  font-size: var(--text-body);
}
.page-news .news-older-batches ul {
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.page-news .news-older-batches li {
  padding: 10px 12px;
  border-left: 3px solid var(--c-teal);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 242, 229, 0.84);
  font-size: var(--text-small);
  font-family: var(--font-body);
  line-height: 1.5;
}
.page-news .news-older-batches .num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-yellow);
}

.page-news .news-version-section {
  background: var(--c-light);
  padding: 48px 0;
}
.page-news .news-version-section .section-desc a {
  color: var(--c-link-dark);
}
.page-news .news-version-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
}
.page-news .news-version-main {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(26, 10, 30, 0.08);
}
.page-news .news-version-main .seg {
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.page-news .news-version-main .seg-btn {
  background: #fff;
  border: 1px solid #ddd1c6;
  color: #6b5b6e;
  font-family: var(--font-mono);
  font-weight: 700;
}
.page-news .news-version-main .seg-btn[aria-selected="true"] {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-ink);
}
.page-news .news-version-main [role="tabpanel"] {
  background: linear-gradient(180deg, #fffaf2, var(--c-light));
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border-left: 6px solid var(--c-orange);
  margin-bottom: 14px;
}
.page-news .news-version-main [role="tabpanel"]:last-child {
  margin-bottom: 0;
}
.page-news .news-version-main [data-tab-panel="v325"] {
  border-left-color: var(--c-orange);
}
.page-news .news-version-main [data-tab-panel="v320"] {
  border-left-color: var(--c-blue);
}
.page-news .news-version-main [data-tab-panel="v300"] {
  border-left-color: var(--c-teal);
}
.page-news .news-version-main [data-tab-panel="v200"] {
  border-left-color: var(--c-pink);
}
.page-news .news-version-main [data-tab-panel="v100"] {
  border-left-color: var(--c-yellow);
}
.page-news .news-version-main h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: var(--text-h3);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.page-news .news-rel-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(255, 106, 0, 0.12);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.page-news .news-version-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-news .news-version-main li {
  position: relative;
  padding-left: 20px;
  color: var(--c-ink);
  font-size: var(--text-body);
  line-height: 1.65;
}
.page-news .news-version-main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
}
.page-news .news-version-bg {
  margin: 0;
  max-width: 320px;
}
.page-news .news-version-bg img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(26, 10, 30, 0.12);
}

.page-news .news-log-section {
  background: linear-gradient(140deg, var(--c-ink) 0%, var(--c-dark-2) 68%, var(--c-dark-1) 100%);
  color: var(--c-light-text);
  padding: 48px 0;
}
.page-news .news-log-section .section-title {
  color: var(--c-light-text);
}
.page-news .news-log-section .section-desc {
  color: rgba(255, 242, 229, 0.7);
}
.page-news .news-log-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 26px;
}
.page-news .news-log-list,
.page-news .news-func-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-news .news-log-item {
  background: var(--news-panel-dark);
  border: 1px solid rgba(255, 242, 229, 0.08);
  border-left: 5px solid var(--c-teal);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.page-news .news-log-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
  vertical-align: 1px;
}
.page-news .news-log-type-add {
  background: var(--c-pink);
  color: var(--c-ink);
}
.page-news .news-log-type-merge {
  background: var(--c-yellow);
  color: var(--c-ink);
}
.page-news .news-log-type-rename {
  background: var(--c-blue);
  color: var(--c-ink);
}
.page-news .news-log-object {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--c-light-text);
}
.page-news .news-log-detail {
  margin: 8px 0 0;
  color: rgba(255, 242, 229, 0.76);
  font-size: var(--text-body);
  line-height: 1.6;
}
.page-news .news-func-item {
  background: var(--news-panel-dark);
  border: 1px solid rgba(255, 242, 229, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.page-news .news-func-version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 800;
  background: var(--c-blue);
  color: var(--c-ink);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.page-news .news-func-item h3 {
  margin: 6px 0 6px;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--c-light-text);
}
.page-news .news-func-item p {
  margin: 0;
  color: rgba(255, 242, 229, 0.76);
  font-size: var(--text-body);
  line-height: 1.6;
}
.page-news .news-func-figure {
  margin: 18px 0 0;
  text-align: right;
}
.page-news .news-func-figure img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 208, 255, 0.4);
  object-fit: cover;
}

.page-news .news-status-strip {
  background: var(--c-yellow);
  padding: 20px 0;
}
.page-news .news-status-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-news .news-status-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.6;
}
.page-news .news-status-text a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 800;
}
.page-news .news-status-text .num {
  font-family: var(--font-mono);
  font-weight: 800;
}

@media (min-width: 880px) {
  .page-news .news-head {
    padding: 36px 0 0;
  }
  .page-news .news-head h1 {
    font-size: var(--text-h1);
  }
  .page-news .news-head-text {
    padding: 10px 0 34px;
  }
  .page-news .news-batch-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .page-news .news-batch-card {
    min-height: 216px;
  }
  .page-news .news-older-batches ul {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .news-version-wrap {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
  .page-news .news-version-bg {
    position: sticky;
    top: 24px;
  }
  .page-news .news-log-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .page-news .news-status-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
