.page-news {
  --news-line: rgba(247, 200, 115, 0.22);
  --news-line-strong: rgba(242, 169, 0, 0.55);
  --news-card-bg: rgba(20, 33, 61, 0.72);
  --news-cream-bg: #F5EFE6;
  --news-cream-text: #2B1E14;
  --news-red-edge: rgba(228, 87, 46, 0.6);
  background: #0A1128;
  color: #E8E6E1;
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  line-height: 1.8;
}

/* ===== 顶部 Hero ===== */
.page-news .news-hero {
  padding: 44px 0 40px;
  background: linear-gradient(180deg, #14213D 0%, #0A1128 100%);
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-hero__grid {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

.page-news .news-eyebrow {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F7C873;
  margin-bottom: 12px;
}

.page-news .news-hero h1 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.16;
  color: #F5EFE6;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.page-news .news-h1-sub {
  display: block;
  color: #F7C873;
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.page-news .news-hero__intro {
  max-width: 62ch;
  color: #E8E6E1;
  font-size: 1rem;
  margin: 0;
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
}

.page-news .news-hero__night {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.8rem;
  color: #F7C873;
  border: 1px solid var(--news-line);
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242, 169, 0, 0.12), rgba(109, 40, 217, 0.08));
}

.page-news .news-hero__visual {
  border: 1px solid var(--news-line);
  overflow: hidden;
  border-radius: 0;
}

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

/* ===== 双栏主体 ===== */
.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 56px;
}

.page-news .news-section__head {
  margin-bottom: 24px;
  border-left: 4px solid #F2A900;
  padding-left: 16px;
}

.page-news .news-section__head h2 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  color: #F5EFE6;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.page-news .news-section__head p {
  color: #E8E6E1;
  font-size: 0.92rem;
  margin: 0;
  opacity: 0.82;
}

/* ===== 公告栏 ===== */
.page-news .news-bulletin {
  margin-bottom: 8px;
}

.page-news .news-tabs {
  margin-top: 8px;
}

.page-news .news-tabs .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(247, 200, 115, 0.16);
  padding-bottom: 0;
}

.page-news .news-tabs .tab-button {
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: #E8E6E1;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.88rem;
  padding: 10px 16px 12px;
  cursor: pointer;
  border-radius: 0;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.page-news .news-tabs .tab-button[aria-selected="true"] {
  color: #F2A900;
  border-color: rgba(242, 169, 0, 0.55);
  border-bottom: 2px solid #F2A900;
  background: rgba(242, 169, 0, 0.06);
  font-weight: 600;
}

.page-news .news-tabs .tab-panel:focus-visible {
  outline: 2px solid #F2A900;
  outline-offset: 4px;
}

/* ===== 公告列表 ===== */
.page-news .news-feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news .news-item {
  position: relative;
  background: var(--news-card-bg);
  border: 1px solid rgba(247, 200, 115, 0.18);
  border-left: 3px solid #F2A900;
  padding: 20px 20px 18px;
  transition: border-color 220ms ease, transform 220ms ease;
}

.page-news .news-item:hover {
  border-color: rgba(247, 200, 115, 0.42);
  transform: translateY(-2px);
}

.page-news .news-item--featured {
  background: linear-gradient(135deg, rgba(242, 169, 0, 0.1), rgba(20, 33, 61, 0.85) 55%);
  border-left-width: 5px;
  border-left-color: #F7C873;
}

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

.page-news .news-item__time {
  font-family: "JetBrains Mono", SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  color: #F7C873;
  letter-spacing: 0.04em;
}

.page-news .news-item h3 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.08rem;
  color: #F5EFE6;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.page-news .news-item__summary {
  color: #E8E6E1;
  font-size: 0.94rem;
  margin: 0 0 4px;
}

.page-news .news-item__details {
  margin-top: 12px;
  border-top: 1px dashed rgba(247, 200, 115, 0.24);
  padding-top: 10px;
}

.page-news .news-item__details summary,
.page-news .news-timeline__details summary {
  cursor: pointer;
  color: #F2A900;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.page-news .news-item__details summary::before,
.page-news .news-timeline__details summary::before {
  content: "▸";
  color: #F2A900;
  font-size: 0.9em;
  transition: transform 220ms ease;
}

.page-news .news-item__details[open] summary::before,
.page-news .news-timeline__details[open] summary::before {
  transform: rotate(90deg);
}

.page-news .news-item__body {
  padding: 12px 12px 4px;
  background: rgba(10, 17, 40, 0.6);
  border-left: 2px solid rgba(242, 169, 0, 0.4);
  margin-top: 10px;
}

.page-news .news-item__body p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #E8E6E1;
}

/* ===== 分类简版列表 ===== */
.page-news .news-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-mini__item {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid rgba(247, 200, 115, 0.18);
  border-left: 3px solid #6D28D9;
  padding: 18px 18px 16px;
}

.page-news .news-mini__item h3 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  color: #F5EFE6;
  margin: 10px 0 6px;
}

.page-news .news-mini__item p {
  margin: 0;
  color: #E8E6E1;
  font-size: 0.9rem;
}

/* ===== 21:00 夜览提示 ===== */
.page-news .news-night {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(247, 200, 115, 0.32);
  background: linear-gradient(120deg, rgba(242, 169, 0, 0.1), rgba(109, 40, 217, 0.08) 70%);
  border-radius: 0;
}

.page-news .news-night__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: #F2A900;
  box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.18);
  animation: news-breathe 2.4s ease-in-out infinite;
}

@keyframes news-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.14); }
  50% { box-shadow: 0 0 0 10px rgba(242, 169, 0, 0.26); }
}

.page-news .news-night strong {
  display: block;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #F7C873;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.page-news .news-night p {
  margin: 0;
  color: #E8E6E1;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== 右栏 ===== */
.page-news .news-secondary {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.page-news .news-secondary .card--cream {
  background: #F5EFE6;
  color: #2B1E14;
  border: 1px solid rgba(245, 239, 230, 0.4);
  border-radius: 0;
  padding: 24px;
}

.page-news .news-secondary .card--cream h2 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.15rem;
  color: #2B1E14;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.page-news .news-secondary .card--cream img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(43, 30, 20, 0.18);
  margin-bottom: 16px;
}

.page-news .news-guide__steps {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #2B1E14;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .news-secondary .btn {
  display: inline-block;
  text-decoration: none;
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 0;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.page-news .news-secondary .btn-primary {
  background: #F2A900;
  color: #0A1128;
  border: 1px solid #F2A900;
}

.page-news .news-secondary .btn-primary:hover {
  background: #F7C873;
  border-color: #F7C873;
}

.page-news .news-secondary .btn-ghost {
  background: transparent;
  color: #F7C873;
  border: 1px solid rgba(247, 200, 115, 0.5);
}

.page-news .news-secondary .btn-ghost:hover {
  background: rgba(247, 200, 115, 0.12);
  border-color: #F7C873;
}

/* 安全区块 */
.page-news .news-security {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid rgba(228, 87, 46, 0.4);
  border-left: 4px solid #E4572E;
  padding: 24px;
}

.page-news .news-security h2,
.page-news .news-brand h2,
.page-news .news-subscribe h2 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.15rem;
  color: #F5EFE6;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.page-news .news-security img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(228, 87, 46, 0.3);
  margin-bottom: 16px;
}

.page-news .news-security__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-news .news-security__list li {
  position: relative;
  padding-left: 16px;
  color: #E8E6E1;
  font-size: 0.92rem;
}

.page-news .news-security__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: #E4572E;
  border-radius: 0;
}

.page-news .news-security__list strong {
  color: #F7C873;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
}

/* 品牌动态 */
.page-news .news-brand {
  background: rgba(20, 33, 61, 0.55);
  border: 1px solid rgba(109, 40, 217, 0.35);
  border-left: 4px solid #6D28D9;
  padding: 24px;
}

.page-news .news-brand__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-news .news-brand__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.page-news .news-brand__item p {
  flex: 1 1 180px;
  margin: 0;
  color: #E8E6E1;
  font-size: 0.92rem;
}

.page-news .news-brand > a {
  color: #F2A900;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 169, 0, 0.4);
  transition: border-color 220ms ease;
}

.page-news .news-brand > a:hover {
  border-bottom-color: #F7C873;
}

/* 订阅区块 */
.page-news .news-subscribe {
  background: linear-gradient(145deg, rgba(242, 169, 0, 0.12), rgba(10, 17, 40, 0.88) 68%);
  border: 1px solid rgba(247, 200, 115, 0.3);
  padding: 24px;
}

.page-news .news-subscribe p {
  color: #E8E6E1;
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.page-news .news-subscribe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-news .news-subscribe .btn-ghost {
  color: #F7C873;
  border-color: rgba(247, 200, 115, 0.45);
  background: transparent;
  text-decoration: none;
}

.page-news .news-subscribe .btn-ghost:hover {
  background: rgba(247, 200, 115, 0.1);
}

/* ===== 版本发布记录 ===== */
.page-news .news-versions {
  background: linear-gradient(180deg, rgba(20, 33, 61, 0.72), rgba(10, 17, 40, 0.95));
  border-top: 1px solid rgba(247, 200, 115, 0.22);
  padding: 56px 0 64px;
}

.page-news .news-section__head--versions {
  margin-bottom: 36px;
}

.page-news .news-versions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.page-news .news-versions__visual {
  border: 1px solid rgba(247, 200, 115, 0.18);
  overflow: hidden;
}

.page-news .news-versions__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.page-news .news-versions__visual:hover img {
  transform: scale(1.02);
}

/* 时间线 */
.page-news .news-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(242, 169, 0, 0.65), rgba(109, 40, 217, 0.4));
}

.page-news .news-timeline__item {
  position: relative;
  padding: 0 0 26px 42px;
}

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

.page-news .news-timeline__dot {
  position: absolute;
  left: 7px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F2A900;
  border: 2px solid #0A1128;
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.32);
}

.page-news .news-timeline__item--note .news-timeline__dot {
  background: #6D28D9;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.3);
}

.page-news .news-timeline__card {
  background: rgba(20, 33, 61, 0.7);
  border: 1px solid rgba(247, 200, 115, 0.18);
  border-left: 3px solid #F2A900;
  padding: 20px 20px 18px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.page-news .news-timeline__card:hover {
  transform: translateX(3px);
  border-color: rgba(247, 200, 115, 0.45);
}

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

.page-news .news-timeline__status {
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  color: #F7C873;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-news .news-timeline__card h3 {
  font-family: "Space Grotesk", "Suisse Intl", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.05rem;
  color: #F5EFE6;
  margin: 0 0 8px;
}

.page-news .news-timeline__card p {
  color: #E8E6E1;
  font-size: 0.92rem;
  margin: 0 0 6px;
}

.page-news .news-timeline__card > a {
  color: #F2A900;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 169, 0, 0.4);
}

.page-news .news-timeline__details {
  margin-top: 10px;
}

.page-news .news-timeline__details > div {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(10, 17, 40, 0.55);
  border-left: 2px solid rgba(109, 40, 217, 0.45);
}

.page-news .news-timeline__details p {
  margin: 0;
}

/* ===== 桌面端布局 ===== */
@media (min-width: 900px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
  }

  .page-news .news-versions__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .news-secondary {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: none;
  }
}

@media (min-width: 1200px) {
  .page-news .news-hero {
    padding: 56px 0 48px;
  }

  .page-news .news-layout {
    gap: 64px;
  }

  .page-news .news-hero__intro {
    font-size: 1.05rem;
  }

  .page-news .news-item {
    padding: 24px 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
