.page-news {
  --news-paper-ink: #3A3128;
  --news-paper-muted: #8A6D3B;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  overflow-x: clip;
}

.page-news .s-breadcrumb {
  padding: 16px 20px 0;
  font-size: 13px;
  color: var(--s-text-dim);
}

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

.page-news .s-breadcrumb a:hover,
.page-news .s-breadcrumb a:focus {
  color: var(--s-accent);
}

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

/* 首屏标题区 */
.page-news .news-hero {
  position: relative;
  padding: 24px 20px 32px;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.92) 0%, rgba(20, 58, 107, 0.85) 60%, rgba(0, 255, 136, 0.06) 120%);
  border-bottom: 2px solid var(--s-accent);
}

.page-news .news-hero .s-eyebrow {
  margin-bottom: 10px;
}

.page-news .news-hero h1 {
  font-family: var(--s-font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--s-text);
  transform: skewX(-3deg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-news .news-hero__lead {
  font-family: var(--s-font-body);
  color: var(--s-text-dim);
  font-size: 14px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 18px;
}

.page-news .news-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-hero__tags .s-chip {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--s-accent);
}

/* 公告横幅 */
.page-news .news-alert {
  position: relative;
  margin: 20px;
  border: 1px solid var(--s-hot);
  background: var(--s-hot);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.page-news .news-alert__details {
  position: relative;
}

.page-news .news-alert__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(11, 29, 58, 0.55);
  color: #fff;
  font-size: 14px;
  font-family: var(--s-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  list-style: none;
  line-height: 1;
}

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

.page-news .news-alert__close::marker {
  content: '';
}

.page-news .news-alert__close:hover,
.page-news .news-alert__close:focus {
  background: rgba(11, 29, 58, 0.85);
}

.page-news .news-alert__close-text {
  font-size: 11px;
  opacity: 0.85;
}

.page-news .news-alert__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-news .news-alert__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  display: block;
}

.page-news .news-alert__content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.page-news .news-alert__tag {
  display: inline-block;
  background: #fff;
  color: var(--s-hot);
  font-family: var(--s-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-news .news-alert h2 {
  font-family: var(--s-font-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

.page-news .news-alert p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
}

.page-news .news-alert__btn {
  display: inline-block;
  background: #fff;
  color: var(--s-hot);
  font-family: var(--s-font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  text-decoration: none;
  letter-spacing: 0.04em;
  border: 1px solid #fff;
}

.page-news .news-alert__btn:hover,
.page-news .news-alert__btn:focus {
  background: transparent;
  color: #fff;
}

/* 章节标题 */
.page-news .s-section {
  padding: 32px 20px;
}

.page-news .s-section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--s-border);
}

.page-news .s-section-head .s-index {
  font-family: var(--s-font-mono);
  font-size: 13px;
  color: var(--s-accent);
}

.page-news .s-section-head .s-eyebrow {
  font-family: var(--s-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-text-dim);
}

.page-news .s-section-head h2 {
  font-family: var(--s-font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 0;
  transform: skewX(-3deg);
  color: var(--s-text);
  flex-basis: 100%;
}

/* 最新发布 */
.page-news .news-latest__card {
  position: relative;
  background: var(--s-bg-bright);
  border-left: 4px solid var(--s-accent);
  padding: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

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

.page-news .news-latest__badge {
  display: inline-block;
  background: var(--s-accent);
  color: var(--s-bg);
  font-family: var(--s-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  text-transform: uppercase;
}

.page-news .news-latest__ver {
  font-family: var(--s-font-mono);
  font-size: 14px;
  color: var(--s-accent);
  font-weight: 700;
}

.page-news .news-latest__body h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--s-text);
}

.page-news .news-latest__time {
  font-family: var(--s-font-mono);
  font-size: 12px;
  color: var(--s-text-dim);
  margin: 0 0 10px;
}

.page-news .news-latest__body p:not(.news-latest__time) {
  font-size: 14px;
  line-height: 1.65;
  color: var(--s-text-dim);
  margin: 0 0 12px;
}

.page-news .news-latest__body .s-btn--ghost {
  margin-top: 2px;
}

/* 版本变更日志 */
.page-news .news-changelog {
  background: linear-gradient(180deg, rgba(20, 58, 107, 0.25) 0%, transparent 100%);
}

.page-news .changelog__intro {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.page-news .changelog__decor {
  width: 100%;
  height: auto;
  border: 1px solid var(--s-border);
  object-fit: cover;
}

.page-news .changelog__intro p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--s-text-dim);
  margin: 0;
}

.page-news .changelog__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 10px 0;
  border-top: 1px dashed var(--s-border);
  border-bottom: 1px dashed var(--s-border);
}

.page-news .changelog__filters-label {
  font-family: var(--s-font-mono);
  font-size: 12px;
  color: var(--s-text-dim);
  margin-right: 4px;
}

.page-news .changelog__filter {
  font-family: var(--s-font-mono);
  font-size: 12px;
  color: var(--s-accent);
  text-decoration: none;
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 4px 10px;
  background: rgba(0, 255, 136, 0.06);
}

.page-news .changelog__filter:hover,
.page-news .changelog__filter:focus {
  background: rgba(0, 255, 136, 0.16);
}

/* 时间轴 */
.page-news .changelog__timeline {
  margin-top: 4px;
}

.page-news .changelog__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.page-news .changelog__line {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-news .changelog__line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: -18px;
  width: 2px;
  background: linear-gradient(180deg, var(--s-accent) 0%, var(--s-border) 100%);
}

.page-news .changelog__item:last-child .changelog__line::before {
  display: none;
}

.page-news .changelog__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--s-accent);
  box-shadow: 0 0 6px var(--s-accent);
}

.page-news .changelog__card {
  background: var(--s-bg-bright);
  border: 1px solid var(--s-border);
  padding: 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

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

.page-news .changelog__ver {
  font-family: var(--s-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--s-accent);
}

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

.page-news .changelog__card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--s-text);
}

.page-news .changelog__details summary {
  font-size: 13px;
  color: var(--s-text-dim);
  cursor: pointer;
  padding-top: 8px;
  border-top: 1px solid var(--s-border);
  margin-top: 6px;
  outline: none;
}

.page-news .changelog__details summary:hover,
.page-news .changelog__details summary:focus-visible {
  color: var(--s-accent);
}

.page-news .changelog__details-body {
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--s-text-dim);
}

.page-news .changelog__details-body ul {
  padding-left: 18px;
  margin: 0;
}

.page-news .changelog__note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(242, 232, 213, 0.07);
  border-left: 3px solid var(--s-accent);
}

.page-news .changelog__note p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--s-text-dim);
  margin: 0;
}

.page-news .changelog__note a {
  color: var(--s-accent);
  text-decoration: none;
}

/* 赛季专题 */
.page-news .topics__strip {
  display: grid;
  gap: 20px;
}

.page-news .topics__card {
  position: relative;
  background: var(--s-bg-bright);
  border: 1px solid var(--s-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-news .topics__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news .topics__content {
  padding: 16px;
}

.page-news .topics__content h3 {
  font-family: var(--s-font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 8px 0 8px;
  transform: skewX(-2deg);
  color: var(--s-text);
}

.page-news .topics__content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--s-text-dim);
  margin: 0 0 12px;
}

/* 功能优化 */
.page-news .news-feature {
  background: var(--s-paper);
  border-top: 4px solid var(--s-hot);
}

.page-news .news-feature .s-eyebrow {
  color: var(--news-paper-muted);
}

.page-news .news-feature h2 {
  font-family: var(--s-font-display);
  font-size: 1.3rem;
  transform: skewX(-3deg);
  color: var(--s-bg);
  margin: 4px 0 10px;
}

.page-news .news-feature p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--news-paper-ink);
  max-width: 46ch;
  margin: 0 0 14px;
}

.page-news .news-feature__img {
  width: 100%;
  height: auto;
  border: 3px solid var(--s-bg);
  box-shadow: 4px 4px 0 rgba(11, 29, 58, 0.3);
  display: block;
}

/* 桌面端布局 */
@media (min-width: 768px) {
  .page-news .s-breadcrumb {
    padding: 20px 48px 0;
  }

  .page-news .news-hero {
    padding: 48px 48px 44px;
  }

  .page-news .news-hero h1 {
    font-size: 3.2rem;
  }

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

  .page-news .news-alert {
    margin: 24px 48px;
  }

  .page-news .news-alert__content {
    padding: 32px 36px;
  }

  .page-news .news-alert h2 {
    font-size: 1.7rem;
  }

  .page-news .s-section {
    padding: 44px 48px;
  }

  .page-news .news-latest__card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 24px;
    padding: 20px 24px;
  }

  .page-news .news-latest__rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
  }

  .page-news .changelog__intro {
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 24px;
  }

  .page-news .changelog__item {
    grid-template-columns: 24px 1fr;
  }

  .page-news .changelog__card {
    padding: 16px 20px;
  }

  .page-news .topics__strip {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }

  .page-news .news-feature__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
  }

  .page-news .news-feature__text {
    order: 1;
  }

  .page-news .news-feature__img {
    order: 2;
  }
}
