.page-news {
  --news-bg-alt: rgba(108, 43, 244, 0.08);
  --news-bg-card: rgba(11, 11, 26, 0.68);
  --news-border: rgba(160, 174, 192, 0.18);
  --news-gold-glow: rgba(255, 215, 0, 0.12);
  --news-green-glow: rgba(57, 255, 20, 0.08);
  --news-radius-lg: 20px;
  --news-radius-sm: 12px;
  position: relative;
  min-height: 70vh;
  padding-bottom: 88px;
  background:
    radial-gradient(900px 500px at 90% -5%, rgba(108, 43, 244, 0.14), transparent 70%),
    radial-gradient(700px 400px at -5% 30%, rgba(57, 255, 20, 0.05), transparent 70%),
    linear-gradient(180deg, var(--color-space) 0%, #0c0f24 100%);
  color: var(--color-white);
}

.page-news .news-hero__inner,
.page-news .news-main-wrap,
.page-news .news-featured,
.page-news .news-subscribe,
.page-news .news-archive {
  width: min(100% - 36px, 1200px);
  margin-inline: auto;
}

.page-news .news-hero {
  padding: 32px 0 40px;
}

.page-news .news-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-silver);
  margin-bottom: 32px;
}

.page-news .news-hero__crumbs a {
  color: var(--color-silver);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news .news-hero__crumb-sep {
  color: rgba(160, 174, 192, 0.5);
}

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

.page-news .news-hero__copy {
  position: relative;
  z-index: 1;
}

.page-news .news-hero__copy h1 {
  margin: 8px 0 4px;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--color-white) 0%, var(--color-violet-soft) 60%, var(--color-violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-news .news-hero__lead {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.06em;
}

.page-news .news-hero__desc {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-silver);
}

.page-news .news-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  align-items: end;
  padding: 20px;
  background: linear-gradient(135deg, rgba(108, 43, 244, 0.16), rgba(11, 11, 26, 0.8));
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-lg);
  backdrop-filter: blur(6px);
}

.page-news .news-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 76px;
}

.page-news .news-hero__stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.page-news .news-hero__stat-plus {
  color: var(--color-green);
  font-size: 20px;
  vertical-align: top;
}

.page-news .news-hero__stat-label {
  font-size: 12px;
  color: var(--color-silver);
  letter-spacing: 0.08em;
}

.page-news .news-hero__status {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--news-border);
}

.page-news .news-hero__status-text {
  font-size: 12px;
  color: var(--color-silver);
}

.page-news .news-hero__banner {
  margin-top: 28px;
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

.page-news .news-hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.55) 0%, transparent 40%, rgba(108, 43, 244, 0.22) 100%);
  pointer-events: none;
}

.page-news .news-main-wrap {
  padding: 24px 0 56px;
}

.page-news .news-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news .news-latest {
  min-width: 0;
}

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

.page-news .news-section-head h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 10px;
}

.page-news .news-section-head__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-silver);
  line-height: 1.6;
}

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

.page-news .news-tagbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-silver);
  background: rgba(160, 174, 192, 0.08);
  border: 1px solid rgba(160, 174, 192, 0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-news .news-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.page-news .news-tag:hover {
  color: var(--color-white);
  border-color: var(--color-violet-soft);
  background: rgba(108, 43, 244, 0.2);
  transform: translateY(-2px);
}

.page-news .news-tag:active {
  transform: translateY(0);
}

.page-news .news-tag--active {
  color: var(--color-white);
  background: linear-gradient(135deg, rgba(108, 43, 244, 0.65), rgba(108, 43, 244, 0.35));
  border-color: transparent;
}

.page-news .news-tag--active::before {
  opacity: 1;
}

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

.page-news .news-entry {
  position: relative;
  padding: 22px 20px;
  background: var(--news-bg-card);
  border: 1px solid var(--news-border);
  border-left: 3px solid var(--color-violet);
  border-radius: var(--news-radius-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-news .news-entry:hover {
  background: rgba(108, 43, 244, 0.14);
  transform: translateY(-2px);
}

.page-news .news-entry--pin {
  border-left-color: var(--color-gold);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(108, 43, 244, 0.1));
}

.page-news .news-entry--pin::after {
  content: "置顶";
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
}

.page-news .news-entry:target {
  box-shadow: 0 0 0 3px var(--color-gold);
  outline: 2px solid rgba(255, 215, 0, 0.6);
  outline-offset: 2px;
}

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

.page-news .news-entry__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-green);
  letter-spacing: 0.06em;
}

.page-news .news-entry__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.page-news .news-entry__time {
  font-size: 12px;
  color: var(--color-silver);
}

.page-news .news-entry h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.page-news .news-entry:hover h3 {
  color: var(--color-gold);
}

.page-news .news-entry__summary {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-silver);
  max-width: 58ch;
}

.page-news .news-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-violet-soft);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 6px;
}

.page-news .news-entry__link:hover {
  color: var(--color-green);
}

.page-news .news-entry__arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.page-news .news-entry__link:hover .news-entry__arrow {
  transform: translateX(6px);
}

.page-news .news-entry__read {
  font-size: 12px;
  color: rgba(160, 174, 192, 0.6);
  letter-spacing: 0.04em;
}

.page-news .news-rail {
  min-width: 0;
}

.page-news .news-rail__card {
  padding: 24px;
  background: linear-gradient(160deg, rgba(11, 11, 26, 0.9), rgba(108, 43, 244, 0.1));
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius-lg);
}

.page-news .news-rail__title {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.page-news .news-rail__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(160, 174, 192, 0.1);
}

.page-news .news-rail__day {
  font-size: 13px;
  color: var(--color-white);
}

.page-news .news-rail__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-silver);
  background: rgba(108, 43, 244, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-news .news-rail__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--color-silver);
}

.page-news .news-featured {
  padding: 56px 0;
}

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

.page-news .news-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(108, 43, 244, 0.18), rgba(10, 14, 39, 0.9));
  border: 1px solid rgba(255, 215, 0, 0.14);
  border-radius: var(--news-radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-news .news-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.page-news .news-feature-card--wide {
  background: linear-gradient(120deg, rgba(108, 43, 244, 0.28) 0%, rgba(10, 14, 39, 0.9) 55%);
}

.page-news .news-feature-card--dark {
  background: linear-gradient(135deg, rgba(11, 11, 26, 0.92), rgba(108, 43, 244, 0.08));
}

.page-news .news-feature-card__star {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.page-news .news-feature-card__star--gold {
  color: var(--color-gold);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.page-news .news-feature-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  margin-bottom: 14px;
}

.page-news .news-feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--color-white);
}

.page-news .news-feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-silver);
  max-width: 48ch;
}

.page-news .news-feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-violet-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .news-feature-card__link:hover {
  color: var(--color-green);
}

.page-news .news-feature-card__img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--news-radius-sm);
}

.page-news .news-subscribe {
  padding: 32px 0 56px;
}

.page-news .news-subscribe__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px 24px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(57, 255, 20, 0.07), transparent 70%),
    linear-gradient(135deg, rgba(108, 43, 244, 0.2), rgba(11, 11, 26, 0.9) 60%);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--news-radius-lg);
}

.page-news .news-subscribe__copy h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 10px;
}

.page-news .news-subscribe__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-silver);
  max-width: 52ch;
}

.page-news .news-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.page-news .news-subscribe__input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-white);
  background: rgba(10, 14, 39, 0.7);
  border: 1px solid rgba(160, 174, 192, 0.28);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-news .news-subscribe__input::placeholder {
  color: rgba(160, 174, 192, 0.5);
}

.page-news .news-subscribe__input:focus {
  border-color: var(--color-violet-soft);
  box-shadow: 0 0 0 3px rgba(108, 43, 244, 0.25);
}

.page-news .news-subscribe__toggle {
  display: inline-block;
  cursor: pointer;
}

.page-news .news-subscribe__checkbox:focus-visible + .news-subscribe__btn {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.page-news .news-subscribe__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-violet), #5a22d6);
  border: 1px solid rgba(155, 107, 255, 0.4);
  border-radius: 12px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-news .news-subscribe__btn::before {
  content: "订阅更新";
}

.page-news .news-subscribe__btn:hover {
  box-shadow: 0 8px 28px rgba(108, 43, 244, 0.4);
}

.page-news .news-subscribe__btn:active {
  transform: scale(0.98);
}

.page-news .news-subscribe__checkbox:checked + .news-subscribe__btn {
  background: linear-gradient(135deg, var(--color-green), #28b814);
  color: var(--color-space);
  border-color: transparent;
}

.page-news .news-subscribe__checkbox:checked + .news-subscribe__btn::before {
  content: "已订阅 ✓";
}

.page-news .news-subscribe__hint {
  margin-top: 14px !important;
  font-size: 12px;
  color: rgba(160, 174, 192, 0.6);
}

.page-news .news-subscribe__img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--news-radius-sm);
  align-self: center;
}

.page-news .news-archive {
  padding: 8px 0 40px;
}

.page-news .news-archive__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 24px;
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.06), transparent 50%),
    linear-gradient(135deg, rgba(11, 11, 26, 0.92), rgba(108, 43, 244, 0.16));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--news-radius-lg);
  overflow: hidden;
}

.page-news .news-archive__card::before {
  content: "ARCHIVE";
  position: absolute;
  top: -6px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 215, 0, 0.55);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.18), rgba(255, 215, 0, 0));
  padding: 10px 14px 4px;
  border-radius: 0 0 10px 10px;
}

.page-news .news-archive__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 0, 0.22) 50%);
  border-radius: 0 0 0 12px;
}

.page-news .news-archive__copy h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 12px;
}

.page-news .news-archive__copy p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-silver);
  max-width: 50ch;
}

.page-news .news-archive__btn {
  display: inline-block;
}

.page-news .news-archive__note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(160, 174, 192, 0.7);
}

.page-news .news-archive__help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-violet-soft);
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s ease;
}

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

.page-news .news-archive__img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--news-radius-sm);
}

@media (min-width: 640px) {
  .page-news .news-hero__stats {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    grid-template-rows: auto auto;
  }

  .page-news .news-hero__status {
    grid-column: 1 / -1;
  }

  .page-news .news-subscribe__form {
    flex-direction: row;
    align-items: center;
  }

  .page-news .news-subscribe__toggle {
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .page-news .news-main-layout {
    grid-template-columns: 1fr 220px;
    gap: 36px;
  }

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

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

  .page-news .news-feature-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-news .news-feature-card__img {
    max-height: 320px;
  }

  .page-news .news-subscribe__card {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-news .news-archive__card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-news .news-hero__inner,
  .page-news .news-main-wrap,
  .page-news .news-featured,
  .page-news .news-subscribe,
  .page-news .news-archive {
    width: min(100% - 48px, 1240px);
  }

  .page-news .news-hero__layout {
    grid-template-columns: 1.5fr 0.9fr;
    gap: 48px;
    align-items: end;
  }

  .page-news .news-hero__copy h1 {
    font-size: 58px;
  }

  .page-news .news-hero__desc {
    font-size: 16px;
  }

  .page-news .news-entry {
    padding: 26px 28px;
  }

  .page-news .news-entry:nth-child(odd) {
    margin-right: 32px;
  }

  .page-news .news-entry:nth-child(even) {
    margin-left: 32px;
  }

  .page-news .news-entry h3 {
    font-size: 20px;
  }

  .page-news .news-feed {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-entry,
  .page-news .news-feature-card,
  .page-news .news-tag,
  .page-news .news-entry__arrow {
    transition: none;
  }

  .page-news .news-entry:hover,
  .page-news .news-feature-card:hover {
    transform: none;
  }
}
