.page-news {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  padding-bottom: 80px;
}

.page-news .breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-news .breadcrumb a {
  color: var(--electric);
  text-decoration: none;
}

.page-news .breadcrumb a:hover {
  text-decoration: underline;
}

.page-news .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  margin: 0 0 12px;
}

.page-news .news-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: grid;
  gap: 28px;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 820px;
}

.page-news .hero-lead {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

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

.page-news .hero-stat {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
}

.page-news .hero-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--neon);
  line-height: 1.1;
}

.page-news .hero-stat:nth-child(2) .hero-stat-num {
  color: var(--electric);
}

.page-news .hero-stat:nth-child(3) .hero-stat-num {
  color: var(--cyan);
}

.page-news .hero-stat:nth-child(4) .hero-stat-num {
  color: var(--amber);
}

.page-news .hero-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-news .news-ticker {
  position: relative;
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.07), rgba(0, 191, 255, 0.04)), var(--surface);
  overflow: hidden;
}

.page-news .ticker-bg {
  position: absolute;
  right: -36px;
  top: 50%;
  width: 200px;
  height: 132px;
  object-fit: cover;
  transform: translateY(-50%);
  opacity: 0.22;
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

.page-news .ticker-head {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--neon);
  white-space: nowrap;
}

.page-news .ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: news-dot-pulse 1.8s ease-in-out infinite;
}

.page-news .ticker-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.page-news .ticker-viewport {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.page-news .ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding-right: 36px;
  animation: news-ticker-scroll 32s linear infinite;
}

.page-news .ticker-viewport:hover .ticker-track,
.page-news .ticker-viewport:focus-within .ticker-track {
  animation-play-state: paused;
}

.page-news .ticker-item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink);
  white-space: nowrap;
}

.page-news .ticker-item::before {
  content: "▸ ";
  color: var(--electric);
}

.page-news .news-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  gap: 32px;
}

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

.page-news .section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin: 0 0 10px;
}

.page-news .section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 640px;
}

.page-news .timeline {
  position: relative;
  padding-left: 30px;
  display: grid;
  gap: 14px;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--neon) 0%,
    var(--electric) 32%,
    var(--cyan) 52%,
    var(--electric) 72%,
    var(--amber) 100%
  );
  opacity: 0.55;
}

.page-news .tl-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .tl-item:hover {
  border-color: rgba(0, 191, 255, 0.4);
}

.page-news .tl-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.14);
}

.page-news .tl-item.tl-report::before {
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.14);
}

.page-news .tl-item.tl-announce::before {
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.14);
}

.page-news .tl-item.tl-version::before {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 2, 0.14);
}

.page-news .tl-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}

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

.page-news .tl-item summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.page-news .tl-item summary:focus-visible,
.page-news .tl-more summary:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: -2px;
}

.page-news .tl-round {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  background: rgba(156, 163, 175, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.page-news .tl-item.tl-report .tl-round {
  color: var(--neon);
  background: rgba(57, 255, 136, 0.08);
}

.page-news .tl-item.tl-announce .tl-round {
  color: var(--electric);
  background: rgba(0, 191, 255, 0.1);
}

.page-news .tl-item.tl-version .tl-round {
  color: var(--amber);
  background: rgba(255, 179, 2, 0.1);
}

.page-news .tl-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.page-news .tl-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
}

.page-news .tl-metrics {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.page-news .tl-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon);
  border: 1px solid rgba(57, 255, 136, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-news .tl-item.tl-announce .tl-state {
  color: var(--electric);
  border-color: rgba(0, 191, 255, 0.3);
}

.page-news .tl-item.tl-version .tl-state {
  color: var(--amber);
  border-color: rgba(255, 179, 2, 0.3);
}

.page-news .tl-body {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.page-news .tl-story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.page-news .tl-stats {
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
}

.page-news .tl-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.page-news .tl-stats dt {
  color: var(--muted);
  font-size: 0.875rem;
}

.page-news .tl-stats dd {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 0.875rem;
}

.page-news .tl-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-news .tl-more {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

.page-news .tl-more summary {
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--electric);
  list-style: none;
  border-radius: var(--radius);
}

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

.page-news .tl-more summary:hover {
  background: rgba(0, 191, 255, 0.06);
}

.page-news .archive-wrap {
  padding: 4px 16px 16px;
  overflow-x: auto;
}

.page-news .archive-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.page-news .archive-table th,
.page-news .archive-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.page-news .archive-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-news .archive-table td {
  color: var(--ink);
}

.page-news .archive-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.page-news .news-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-news .aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.page-news .card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-news .card-head h2 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  margin: 0;
}

.page-news .card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.page-news .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.page-news .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.page-news .filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-chip:has(input:checked) {
  border-color: var(--neon);
  color: var(--ink);
  background: rgba(57, 255, 136, 0.08);
}

.page-news .filter-chip:has(input:focus-visible) {
  outline: 2px solid var(--electric);
  outline-offset: 2px;
}

.page-news .filter-hint {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

.page-news .lineup-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 0 16px;
}

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

.page-news .lineup-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.page-news .lineup-round {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--amber);
  padding-top: 2px;
}

.page-news .lineup-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.page-news .version-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-news .version-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

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

.page-news .version-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-news .version-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--neon);
}

.page-news .version-body strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.page-news .version-body p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

.page-news .news-bridge {
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 0 20px;
  display: grid;
  gap: 16px;
}

.page-news .bridge-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-news .bridge-card:hover {
  border-color: var(--electric);
  transform: translateY(-2px);
}

.page-news .bridge-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-news .bridge-card h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 10px 0 6px;
}

.page-news .bridge-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

@keyframes news-ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes news-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.78);
  }
}

.page-news:has(.filter-radio[value="report"]:checked) .tl-item:not(.tl-report),
.page-news:has(.filter-radio[value="announce"]:checked) .tl-item:not(.tl-announce),
.page-news:has(.filter-radio[value="version"]:checked) .tl-item:not(.tl-version) {
  display: none;
}

@media (min-width: 640px) {
  .page-news .tl-body {
    grid-template-columns: 1fr 220px;
  }

  .page-news .tl-body .tl-story {
    min-width: 0;
  }

  .page-news .ticker-bg {
    width: 240px;
    height: 158px;
  }
}

@media (min-width: 820px) {
  .page-news .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 960px) {
  .page-news .news-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: end;
    padding-top: 52px;
  }

  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
  }

  .page-news .news-aside {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .page-news .news-ticker {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .ticker-track,
  .page-news .ticker-live-dot {
    animation: none;
  }
}
