.page-news {
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-news .breadcrumbs {
  padding-block: 16px 0;
  font-size: 12px;
}

.page-news .breadcrumbs__item,
.page-news .breadcrumbs__link {
  color: var(--haze);
}

.page-news .breadcrumbs__link:hover,
.page-news .breadcrumbs__link:focus-visible {
  color: var(--mint);
}

/* ---------- masthead ---------- */
.news-masthead {
  position: relative;
  margin-top: 14px;
  padding: clamp(28px, 6vw, 56px) 0 clamp(26px, 5vw, 48px);
  background:
    radial-gradient(110% 90% at 8% 0%, rgba(57, 242, 207, 0.18), transparent 58%),
    radial-gradient(90% 80% at 96% 6%, rgba(255, 107, 74, 0.22), transparent 56%),
    linear-gradient(160deg, var(--navy) 0%, var(--deep) 78%);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.news-masthead::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -56px;
  width: 78%;
  height: 110px;
  transform: rotate(-6deg);
  background: linear-gradient(90deg, transparent, rgba(57, 242, 207, 0.14), transparent);
  pointer-events: none;
}

.news-masthead__inner {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.news-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.news-masthead__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 17vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.news-masthead__title span {
  color: var(--coral);
}

.news-masthead__lead {
  margin: 0 0 22px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(241, 246, 245, 0.82);
}

.news-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-masthead__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.news-stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.news-stat__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1;
  color: var(--mint);
}

.news-stat__label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--haze);
}

/* ---------- feature ---------- */
.news-feature {
  display: grid;
  margin-top: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--console), var(--navy));
  overflow: hidden;
}

.news-feature__img {
  display: block;
  width: 100%;
  height: clamp(190px, 48vw, 280px);
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
}

.news-feature__body {
  padding: clamp(20px, 4vw, 34px);
}

.news-feature__tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--coral);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.news-feature__title {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5.6vw, 44px);
  line-height: 1.08;
  color: var(--paper);
}

.news-feature__text {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(241, 246, 245, 0.8);
}

.news-feature__points {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.news-feature__points li {
  position: relative;
  padding-left: 18px;
  color: rgba(241, 246, 245, 0.86);
}

.news-feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 2px;
  background: var(--mint);
}

.news-more {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--mint);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.news-more:hover,
.news-more:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- layout & rail ---------- */
.news-layout {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-block: clamp(32px, 5vw, 56px);
}

.news-rail {
  display: grid;
  gap: 22px;
  align-content: start;
}

.news-rail__block {
  padding-top: 12px;
  border-top: 2px solid var(--console);
}

.news-rail__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
}

.news-rail__nav {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-rail__nav a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 8px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: rgba(241, 246, 245, 0.86);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.news-rail__nav a:hover,
.news-rail__nav a:focus-visible {
  background: rgba(57, 242, 207, 0.08);
  border-left-color: var(--mint);
  color: var(--mint);
}

.news-rail__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--haze);
}

.news-rail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(241, 246, 245, 0.8);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.news-chip:hover,
.news-chip:focus-visible {
  border-color: var(--mint);
  background: rgba(57, 242, 207, 0.1);
  color: var(--mint);
}

.news-hot {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hot;
}

.news-hot a {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(241, 246, 245, 0.8);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.news-hot a::before {
  counter-increment: hot;
  content: counter(hot, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--coral);
  padding-top: 3px;
}

.news-hot a:hover,
.news-hot a:focus-visible {
  color: var(--mint);
}

/* ---------- sections ---------- */
.news-main {
  display: grid;
  gap: clamp(30px, 4.5vw, 48px);
  min-width: 0;
}

.news-section {
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.news-main > .news-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-section__head {
  margin-bottom: clamp(16px, 3vw, 26px);
}

.news-section__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5.6vw, 40px);
  line-height: 1.06;
  color: var(--paper);
}

.news-section__desc {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(241, 246, 245, 0.78);
}

.news-section__desc a {
  color: var(--mint);
}

/* ---------- index list ---------- */
.news-list {
  border-top: 2px solid var(--console);
}

.news-item {
  display: grid;
  gap: 6px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.news-item:hover {
  background: rgba(18, 57, 92, 0.55);
  transform: translateX(2px);
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-item__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--haze);
  white-space: nowrap;
}

.news-item__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--paper);
}

.news-item__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(241, 246, 245, 0.72);
}

.news-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.news-tag--transfer {
  color: var(--coral);
  border-color: rgba(255, 107, 74, 0.55);
  background: rgba(255, 107, 74, 0.14);
}

.news-tag--rank {
  color: var(--mint);
  border-color: rgba(57, 242, 207, 0.5);
  background: rgba(57, 242, 207, 0.1);
}

.news-tag--version {
  color: var(--mint-mist);
  border-color: var(--line);
  background: rgba(168, 255, 240, 0.08);
}

.news-tag--topic {
  color: var(--coral-soft);
  border-color: rgba(255, 165, 143, 0.45);
  background: rgba(255, 165, 143, 0.1);
}

/* ---------- transfer cluster ---------- */
.news-cluster {
  display: grid;
  gap: 18px;
}

.news-cluster__media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--navy);
}

.news-cluster__media img {
  display: block;
  width: 100%;
  height: auto;
}

.news-cluster__media figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--haze);
}

.news-cluster__cards {
  display: grid;
  gap: 12px;
  align-content: start;
}

.news-card {
  padding: 14px 16px;
  background: rgba(18, 57, 92, 0.55);
  border-left: 3px solid var(--mint);
}

.news-card:nth-child(2) {
  border-left-color: var(--coral);
}

.news-card:nth-child(3) {
  border-left-color: var(--mint-mist);
}

.news-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.news-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.75);
}

.news-cluster__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.78);
}

.news-cluster__note a {
  color: var(--mint);
}

/* ---------- update log ---------- */
.news-log__intro {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.news-log__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(241, 246, 245, 0.76);
}

.news-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--navy);
}

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

.news-figure figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--haze);
}

.news-log {
  border: 1px solid var(--line);
  background: rgba(10, 32, 56, 0.62);
}

.news-log__legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 57, 92, 0.72);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--haze);
}

.news-log__row {
  border-bottom: 1px solid var(--line-soft);
}

.news-log__row summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}

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

.news-log__row summary:hover {
  background: rgba(57, 242, 207, 0.06);
}

.news-log__row[open] summary {
  background: rgba(18, 57, 92, 0.85);
}

.news-log__round {
  min-width: 62px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
}

.news-log__desc {
  flex: 1 1 200px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
}

.news-log__delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--haze);
  white-space: nowrap;
}

.news-log__delta--up {
  color: var(--mint);
}

.news-log__delta--down {
  color: var(--coral-soft);
}

.news-log__detail {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.news-log__k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--haze);
}

.news-log__detail p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.78);
}

.news-log__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--haze);
}

.news-log__foot a {
  color: var(--mint);
}

/* ---------- version log ---------- */
.news-version {
  display: grid;
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.news-version__item {
  position: relative;
  padding-bottom: 22px;
}

.news-version__item:last-child {
  padding-bottom: 0;
}

.news-version__item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--deep);
  border: 2px solid var(--mint);
  transform: rotate(45deg);
}

.news-version__stage {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--coral);
}

.news-version__item h3 {
  margin: 5px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.news-version__item p {
  margin: 0 0 9px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.75);
}

.news-version__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-version__tags li {
  padding: 2px 8px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--haze);
}

/* ---------- weekend ---------- */
.news-weekend__banner {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.news-weekend__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.9);
}

.news-weekend__route {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.news-stop {
  padding: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18, 57, 92, 0.9), rgba(10, 32, 56, 0.9));
}

.news-stop__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.news-stop h3 {
  margin: 7px 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.news-stop p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.76);
}

.news-weekend__tips {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.news-weekend__tips li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(241, 246, 245, 0.8);
}

.news-weekend__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--mint);
  transform: rotate(45deg);
}

/* ---------- feedback ---------- */
.page-news .news-feedback {
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.page-news .news-feedback .news-kicker {
  color: var(--coral-ink);
}

.news-feedback h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.8vw, 34px);
  line-height: 1.12;
  color: var(--ink);
}

.news-feedback p {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(7, 16, 25, 0.8);
}

.news-feedback ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(7, 16, 25, 0.82);
}

.news-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.news-feedback__mail {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--coral-ink);
  word-break: break-all;
}

.news-feedback__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(7, 16, 25, 0.62);
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .news-masthead__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .news-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .news-item__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .news-log__detail {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .news-weekend__route {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .news-feature__img {
    height: 100%;
    min-height: 380px;
  }

  .news-cluster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .news-log__intro {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .news-masthead__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    align-items: end;
  }

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

  .news-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    align-items: start;
  }

  .news-rail {
    position: sticky;
    top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition-duration: 0.01ms !important;
  }

  .news-item:hover {
    transform: none;
  }
}
