.page-news {
  --font-editorial: "Georgia", "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  --news-gap: clamp(24px, 4vw, 48px);
  position: relative;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.035) 0%, transparent 30%),
    linear-gradient(45deg, rgba(138, 43, 226, 0.03) 100%, transparent 60%),
    var(--night-blue);
  color: var(--text-light);
}

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 64px);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 55%, var(--volt-purple) 100%);
  opacity: 0.28;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 55% 100%);
  z-index: 0;
}

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

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-soft);
}

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

.page-news .breadcrumb a:hover {
  color: var(--neon-green);
}

.page-news .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-dim);
}

.page-news .news-hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-green);
}

.page-news .news-hero-kicker::after {
  content: "";
  width: 64px;
  height: 1px;
  background: var(--neon-green);
  opacity: 0.5;
}

.page-news .news-hero-title {
  margin: 0 0 20px;
  font-family: var(--font-editorial);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.page-news .news-hero-title-strong {
  color: var(--neon-green);
}

.page-news .news-hero-lead {
  max-width: 680px;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-news .news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-news .news-hero-meta-item {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 34, 64, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container-w);
  margin: 0 auto 28px;
  padding: 0 var(--container-pad);
}

.page-news .filter-radio {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.page-news .filter-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}

.page-news .filter-label:hover {
  border-color: var(--neon-green);
  color: var(--text-light);
}

.page-news .filter-radio:focus-visible + .filter-label {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

.page-news .filter-radio:checked + .filter-label {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: #04120a;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.25);
}

.page-news .news-layout {
  display: flex;
  flex-direction: column;
  gap: var(--news-gap);
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-pad) 64px;
}

.page-news .news-main,
.page-news .news-aside {
  min-width: 0;
}

.page-news .news-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-news .news-section {
  margin-top: 48px;
}

.page-news .news-section:first-of-type {
  margin-top: 0;
}

.page-news .news-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

.page-news .news-section-title::before {
  content: attr(data-index);
  padding: 2px 8px;
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 4px;
  background: rgba(57, 255, 20, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-green);
}

.page-news .news-section-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--neon-green);
  text-decoration: none;
  transition: opacity var(--transition);
}

.page-news .news-section-link:hover {
  opacity: 0.72;
}

.page-news .news-section-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-news .news-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-blue);
  box-shadow: var(--shadow-panel);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-news .news-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 18px 48px rgba(2, 8, 20, 0.65);
}

.page-news .news-feature-media {
  overflow: hidden;
}

.page-news .news-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-news .news-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
}

.page-news .news-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-news .news-feature-title {
  margin: 0 0 12px;
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.25;
  color: var(--text-light);
}

.page-news .news-feature-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-news .news-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-news .news-feature-meta span + span::before {
  content: "·";
  margin-right: 6px;
}

.page-news .news-read-more {
  align-self: flex-start;
}

.page-news .news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .news-item {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(17, 34, 64, 0.7);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.page-news .news-item:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 43, 226, 0.55);
  background: var(--panel-blue);
}

.page-news .news-item-marker {
  display: flex;
  flex: 0 0 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(57, 255, 20, 0.08);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-green);
}

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

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

.page-news .news-item-title {
  margin: 0 0 8px;
  font-family: var(--font-editorial);
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-light);
  transition: color var(--transition);
}

.page-news .news-item:hover .news-item-title {
  color: var(--neon-green);
}

.page-news .news-item-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-news .news-item:hover .news-item-text {
  -webkit-line-clamp: unset;
}

.page-news .news-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.page-news .news-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-news .news-item-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--volt-purple);
  text-decoration: none;
  transition: color var(--transition);
}

.page-news .news-item-link:hover {
  color: var(--neon-green);
}

.page-news .news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-news .news-tag-green {
  border: 1px solid rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.12);
  color: var(--neon-green);
}

.page-news .news-tag-purple {
  border: 1px solid rgba(138, 43, 226, 0.4);
  background: rgba(138, 43, 226, 0.14);
  color: #C77DFF;
}

.page-news .news-tag-orange {
  border: 1px solid rgba(255, 107, 53, 0.35);
  background: rgba(255, 107, 53, 0.14);
  color: var(--warning);
}

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

.page-news .roundup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-blue);
  transition: transform var(--transition), border-color var(--transition);
}

.page-news .roundup-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 255, 20, 0.45);
}

.page-news .roundup-card-wide {
  display: grid;
  grid-template-columns: 1fr;
}

.page-news .roundup-media {
  overflow: hidden;
}

.page-news .roundup-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-news .roundup-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(16px, 2vw, 24px);
}

.page-news .roundup-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-light);
}

.page-news .roundup-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.page-news .roundup-index {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  padding: 4px 12px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 8px;
  background: rgba(10, 25, 51, 0.7);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: rgba(57, 255, 20, 0.55);
}

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

.page-news .changelog-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.page-news .changelog-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-news .changelog-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .changelog-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-green), var(--volt-purple));
  opacity: 0.35;
}

.page-news .changelog-item {
  position: relative;
  padding: 0 0 20px 32px;
}

.page-news .changelog-item:last-child {
  padding-bottom: 0;
}

.page-news .changelog-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

.page-news .changelog-version {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-green);
}

.page-news .changelog-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-news .news-footer-note {
  margin-top: 40px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--volt-purple);
  border-radius: var(--radius-md);
  background: rgba(17, 34, 64, 0.4);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-news .news-footer-note a {
  color: var(--neon-green);
  text-decoration: none;
}

.page-news .sidebar-panel {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 34, 64, 0.7);
}

.page-news .sidebar-title {
  margin: 0 0 8px;
  font-family: var(--font-editorial);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
}

.page-news .sidebar-desc {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.page-news .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .cloud-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition);
}

.page-news .cloud-tag:hover {
  transform: translateY(-2px);
  border-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.14);
  color: var(--neon-green);
}

.page-news .cloud-tag:nth-child(3n) {
  border-color: rgba(138, 43, 226, 0.35);
}

.page-news .cloud-tag:nth-child(3n):hover {
  border-color: var(--volt-purple);
  color: #C77DFF;
}

.page-news .sidebar-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.page-news .sidebar-help {
  position: relative;
  overflow: hidden;
}

.page-news .sidebar-help::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(138, 43, 226, 0.2);
  filter: blur(48px);
}

.page-news .sidebar-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.page-news .sidebar-phone {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--neon-green);
}

.page-news .sidebar-help .btn {
  margin: 0 8px 8px 0;
}

.page-news .news-feature-card,
.page-news .news-item {
  display: none;
}

.page-news #filter-all:checked ~ .news-layout .news-feature-card {
  display: grid;
}

.page-news #filter-all:checked ~ .news-layout .news-item {
  display: flex;
}

.page-news #filter-event:checked ~ .news-layout .news-feature-card[data-category="event"] {
  display: grid;
}

.page-news #filter-event:checked ~ .news-layout .news-item[data-category="event"] {
  display: flex;
}

.page-news #filter-feature:checked ~ .news-layout .news-item[data-category="feature"] {
  display: flex;
}

.page-news #filter-video:checked ~ .news-layout .news-item[data-category="video"] {
  display: flex;
}

.page-news #filter-lineup:checked ~ .news-layout .news-item[data-category="lineup"] {
  display: flex;
}

@media (min-width: 900px) {
  .page-news .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-news .roundup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .roundup-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: 3fr 2fr;
  }

  .page-news .roundup-card-wide .roundup-media {
    aspect-ratio: auto;
  }

  .page-news .roundup-card-wide .roundup-media img {
    aspect-ratio: auto;
  }

  .page-news .changelog-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-news .news-feature-card {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-feature-media img {
    aspect-ratio: auto;
  }

  .page-news .roundup-card-wide {
    grid-template-columns: 2fr 3fr;
  }

  .page-news .roundup-card-wide .roundup-media {
    order: -1;
  }

  .page-news .roundup-text {
    -webkit-line-clamp: 2;
  }
}
