.page-news {
  --news-ink: #141a23;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: clip;
}

.page-news .container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.page-news #latest-updates,
.page-news #season-special,
.page-news #rhythm-note,
.page-news #patch-notes {
  scroll-margin-top: 120px;
}

.page-news .section-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.page-news .section-head h2 {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.page-news .section-head p:not(.section-label) {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.page-news [data-reveal] {
  will-change: opacity, transform;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.page-news .news-hero {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0 44px;
  background:
    radial-gradient(circle at 84% 22%, rgba(230, 57, 70, 0.24), transparent 32%),
    radial-gradient(circle at 12% 32%, rgba(0, 180, 216, 0.18), transparent 30%),
    var(--color-bg-deep);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(105deg, transparent 55%, rgba(0, 180, 216, 0.16) 55%, rgba(0, 180, 216, 0.16) 62%, transparent 62%);
  pointer-events: none;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

.page-news .breadcrumb-sep {
  color: var(--color-text-muted);
}

.page-news .news-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-news .hero-title-sub {
  display: block;
  margin-top: 6px;
  color: var(--color-blue);
  font-size: 0.42em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-news .news-hero-desc {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.page-news .news-hero-meta span {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.page-news .news-hero-visual {
  position: relative;
  min-height: 250px;
  background:
    linear-gradient(150deg, rgba(230, 57, 70, 0.24), transparent 46%),
    linear-gradient(35deg, rgba(0, 180, 216, 0.18), transparent 42%),
    var(--color-bg-deep);
  border: 1px solid var(--color-line);
  clip-path: polygon(0 0, 100% 14%, 100% 100%, 6% 100%);
}

.page-news .hero-tape {
  position: absolute;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  border-radius: 10px;
}

.page-news .hero-tape--red {
  background: var(--color-red);
  color: #fff;
  top: 22%;
  left: -10px;
  transform: rotate(-4deg);
}

.page-news .hero-tape--blue {
  background: var(--color-blue);
  color: #0d1117;
  bottom: 24%;
  right: -8px;
  transform: rotate(3deg);
}

.page-news .hero-core {
  position: absolute;
  right: 10%;
  bottom: 12%;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.page-news .hero-core-batch {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-shadow: 0 0 36px rgba(0, 180, 216, 0.45);
}

.page-news .hero-core-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.page-news .hero-scan {
  position: absolute;
  left: 6%;
  top: 18%;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue), transparent);
  transform: skewX(-22deg);
  filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.7));
}

.page-news .news-topic-nav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100% - 32px, 1280px);
  margin: 28px auto 0;
  padding: 8px;
  background: rgba(14, 17, 22, 0.78);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-news .news-topic-nav a {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}

.page-news .news-topic-nav a:hover,
.page-news .news-topic-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

.page-news .news-topic-nav a.is-active {
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
  color: #fff;
}

.page-news .news-feed-section {
  padding: 64px 0 72px;
}

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

.page-news .feed-layout {
  display: grid;
  gap: 30px;
  margin-top: 26px;
}

.page-news .feed-main {
  display: grid;
  gap: 22px;
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-bg-paper);
  color: var(--news-ink);
  border-radius: 8px 18px 18px 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-red), var(--color-blue));
  z-index: 2;
}

.page-news .news-item-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 22px;
  background: var(--news-ink);
  color: var(--color-bg-paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.page-news .news-batch {
  color: var(--color-blue);
  font-weight: 700;
}

.page-news .news-seq {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
}

.page-news .news-item-content {
  padding: 16px 18px 18px;
}

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

.page-news .news-round {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(20, 26, 35, 0.56);
}

.page-news .news-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.page-news .news-details {
  margin-top: 12px;
}

.page-news .news-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
}

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

.page-news .news-details summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--news-ink);
  color: var(--color-bg-paper);
  border-radius: 10px;
  font-weight: 800;
}

.page-news .news-details[open] summary::before {
  content: "–";
}

.page-news .news-details p {
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--color-red);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(20, 26, 35, 0.78);
}

.page-news .feed-side {
  display: grid;
  gap: 24px;
}

.page-news .side-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.page-news .side-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .side-figure figcaption,
.page-news .rhythm-figure figcaption,
.page-news .patch-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  padding: 10px 12px;
}

.page-news .side-panel {
  background: var(--color-bg-paper);
  color: var(--news-ink);
  padding: 20px;
  border-radius: 18px;
}

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

.page-news .side-panel-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-red);
  font-weight: 700;
}

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

.page-news .side-panel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(20, 26, 35, 0.12);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.page-news .season-section {
  position: relative;
  padding: 64px 0 84px;
  background: var(--color-bg-deep);
  border-top: 2px solid var(--color-line);
  border-bottom: 2px solid var(--color-line);
}

.page-news .season-section::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 8%;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
}

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

.page-news .season-grid {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.page-news .season-map {
  margin: 0;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg);
}

.page-news .season-map img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-news .season-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-blue);
}

.page-news .season-timeline li p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-news .season-timeline li span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-red);
  font-size: 0.82rem;
}

.page-news .rhythm-section {
  padding: 64px 0;
  background: var(--color-bg);
}

.page-news .rhythm-layout {
  display: grid;
  gap: 32px;
}

.page-news .rhythm-copy .section-head {
  margin-bottom: 14px;
}

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

.page-news .rhythm-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.94rem;
}

.page-news .rhythm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  background: var(--color-red);
  transform: rotate(6deg);
}

.page-news .rhythm-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.page-news .rhythm-stat {
  background: var(--color-bg-paper);
  color: var(--news-ink);
  padding: 16px 14px;
  border-radius: 12px;
}

.page-news .rhythm-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 6px;
}

.page-news .rhythm-stat span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(20, 26, 35, 0.72);
}

.page-news .rhythm-figure {
  margin: 0;
  background: linear-gradient(145deg, rgba(230, 57, 70, 0.16), rgba(0, 180, 216, 0.12));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--color-line);
}

.page-news .rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-news .patch-section {
  padding: 64px 0;
  background: var(--color-bg-deep);
  border-top: 2px solid var(--color-line);
}

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

.page-news .patch-layout {
  display: grid;
  gap: 30px;
  margin-top: 26px;
}

.page-news .patch-guide-lead {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 0 20px;
}

.page-news .patch-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.86rem;
}

.page-news .patch-table th,
.page-news .patch-table td {
  padding: 12px 10px;
  border: 1px solid var(--color-line);
  text-align: left;
}

.page-news .patch-table th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-blue);
}

.page-news .patch-table td {
  color: var(--color-text);
  font-family: var(--font-mono);
}

.page-news .patch-figure {
  margin: 0;
  background: var(--color-bg-paper);
  padding: 12px;
  border-radius: 18px;
}

.page-news .patch-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-news .patch-figure figcaption {
  padding: 10px 4px 2px;
}

.page-news .archive-note {
  padding: 32px 0 72px;
}

.page-news .archive-note-inner {
  display: grid;
  gap: 22px;
  background: var(--color-bg-paper);
  color: var(--news-ink);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.page-news .archive-note .section-label {
  color: var(--color-red);
}

.page-news .archive-note h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.page-news .archive-note p {
  margin: 0 0 8px;
  line-height: 1.7;
  color: rgba(20, 26, 35, 0.78);
}

.page-news .archive-note a:not(.btn) {
  color: var(--color-red);
  font-weight: 700;
}

.page-news .archive-note .btn {
  width: fit-content;
}

@media (min-width: 720px) {
  .page-news .news-item {
    grid-template-columns: 126px 1fr;
  }

  .page-news .news-item-rail {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 12px;
  }

  .page-news .news-item-content {
    padding: 18px 22px 20px;
  }

  .page-news .news-item h3 {
    font-size: 1.22rem;
  }
}

@media (min-width: 760px) {
  .page-news .archive-note-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 34px;
  }

  .page-news .archive-note .btn {
    justify-self: end;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .page-news .feed-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    align-items: start;
  }

  .page-news .season-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .page-news .rhythm-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-news .patch-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}
