.page-news {
  background: var(--page-bg);
  --news-badge-fg: #ffffff;
}

.page-news .news-topstrip {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 18px 16px 22px;
}

.page-news .news-topstrip-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.page-news .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.page-news .crumb a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

.page-news .crumb a:hover {
  color: #ffffff;
}

.page-news .crumb-sep {
  opacity: 0.5;
}

.page-news .news-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.page-news .news-heading-text {
  min-width: 0;
}

.page-news .news-heading-row h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.page-news .news-lead {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .news-toplink {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.page-news .news-toplink:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.page-news .news-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 16px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news .batch-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-news .batch-jump-link {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.page-news .batch-jump-link:hover {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.08);
}

.page-news .news-main {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 20px, rgba(0, 0, 0, 0.025) 20px, rgba(0, 0, 0, 0.025) 21px);
}

.page-news .news-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--success-green) 0%, var(--live-blue) 30%, var(--replay-olive) 72%, rgba(107, 142, 35, 0.15) 100%);
}

.page-news .batch-section {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  padding: 20px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.page-news .batch-section::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 5px solid var(--live-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.page-news .batch-current::before {
  border-color: var(--success-green);
}

.page-news .batch-current {
  box-shadow: var(--shadow-soft), inset 4px 0 0 var(--success-green);
}

.page-news .batch-103 {
  background: var(--page-bg-cool);
  box-shadow: none, inset 4px 0 0 var(--live-blue);
}

.page-news .batch-102 {
  background: var(--surface);
  box-shadow: var(--shadow-soft), inset 4px 0 0 var(--replay-olive);
}

.page-news .batch-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-news .batch-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--page-bg-cool);
}

.page-news .batch-title {
  flex: 1;
  min-width: 0;
}

.page-news .batch-tagline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--success-green);
  letter-spacing: 0.06em;
}

.page-news .batch-past .batch-tagline {
  color: var(--live-blue);
}

.page-news .batch-title h2 {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.page-news .batch-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-second);
}

.page-news .batch-head .badge-status {
  flex-shrink: 0;
}

.page-news .update-group {
  margin-bottom: 20px;
}

.page-news .update-group:last-child {
  margin-bottom: 0;
}

.page-news .group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-soft);
}

.page-news .update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .update-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f7f7f3;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.page-news .update-item:hover {
  background: var(--page-bg-cool);
}

.page-news .item-thumb {
  width: 96px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #dde5e5;
}

.page-news .item-info {
  flex: 1;
  min-width: 0;
}

.page-news .item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.page-news .item-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-second);
  margin-top: 2px;
}

.page-news .item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

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

.page-news .compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border-soft);
}

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

.page-news .compact-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.page-news .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  display: inline-block;
  line-height: 1.4;
  white-space: nowrap;
}

.page-news .tag-new {
  background: rgba(46, 139, 87, 0.14);
  color: #166e3a;
}

.page-news .tag-live {
  background: rgba(30, 144, 255, 0.14);
  color: #0a6ec7;
}

.page-news .tag-replay {
  background: rgba(107, 142, 35, 0.16);
  color: #556b1c;
}

.page-news .tag-quality {
  background: rgba(255, 140, 0, 0.15);
  color: #b35a00;
}

.page-news .tag-adjust {
  background: rgba(255, 165, 0, 0.18);
  color: #a06600;
}

.page-news .tag-fix {
  background: rgba(138, 43, 226, 0.13);
  color: #6a1fb2;
}

.page-news .badge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
  color: var(--news-badge-fg);
  white-space: nowrap;
}

.page-news .badge-new {
  background: var(--success-green);
}

.page-news .badge-replay {
  background: var(--replay-olive);
}

.page-news .badge-scheduled {
  background: var(--quality-orange);
}

.page-news .badge-hot {
  background: var(--neon-magenta);
}

.page-news .history-section {
  position: relative;
  background: var(--page-bg-cool);
  border-radius: 24px;
  padding: 20px 16px;
  margin-top: 8px;
  box-shadow: inset 4px 0 0 var(--quality-orange);
}

.page-news .history-section::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 5px solid var(--quality-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.page-news .history-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-news .history-head img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.page-news .history-head-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.page-news .history-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-second);
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-news .filter-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.page-news .filter-btn:hover {
  border-color: var(--live-blue);
  color: var(--live-blue);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.page-news .history-table-wrap {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  overflow-x: auto;
}

.page-news .history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 300px;
}

.page-news .history-table th,
.page-news .history-table td {
  padding: 9px 6px;
  text-align: left;
}

.page-news .history-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-second);
  border-bottom: 2px solid var(--border-soft);
}

.page-news .history-table tbody th {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--success-green);
}

.page-news .history-table tbody tr {
  border-bottom: 1px solid rgba(217, 217, 208, 0.5);
}

.page-news .history-table tbody tr:last-child {
  border-bottom: 0;
}

.page-news .history-table .type-cell {
  white-space: normal;
}

.page-news .history-table .type-cell .tag {
  margin-right: 6px;
  vertical-align: middle;
}

.page-news .history-table .type-cell .type-text {
  vertical-align: middle;
}

.page-news .history-table .count-cell {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--text-second);
  white-space: nowrap;
}

.page-news .news-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-news .version-section {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 20px 18px;
}

.page-news .version-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--neon-cyan);
}

.page-news .cycle-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  margin-bottom: 14px;
  font-size: 12px;
}

.page-news .cycle-label {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-news .cycle-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-align: right;
}

.page-news .version-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.page-news .version-card:last-child {
  margin-bottom: 0;
}

.page-news .version-visual {
  width: 100%;
  max-width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.1);
}

.page-news .version-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--neon-green);
  color: #111111;
  margin-bottom: 8px;
}

.page-news .version-tag.cyan {
  background: var(--neon-cyan);
  color: #041b1b;
}

.page-news .version-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.page-news .version-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .aside-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-news .aside-actions .btn-nav {
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

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

.page-news .batch-icon,
.page-news .item-thumb,
.page-news .version-visual,
.page-news .history-head img {
  object-fit: cover;
}

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

  .page-news .news-topstrip-inner {
    padding: 0 8px;
  }

  .page-news .news-heading-row h1 {
    font-size: 34px;
  }

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

  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    padding: 34px 24px 72px;
    align-items: start;
  }

  .page-news .news-main {
    padding-left: 28px;
  }

  .page-news .batch-section {
    padding: 28px 26px 28px 28px;
    margin-bottom: 24px;
  }

  .page-news .history-section {
    padding: 28px 26px;
  }

  .page-news .batch-jump {
    margin-bottom: 24px;
  }

  .page-news .news-aside {
    position: sticky;
    top: 24px;
  }

  .page-news .history-table th,
  .page-news .history-table td {
    padding: 10px 8px;
  }
}
