/* ========== 基础与变量 ========== */
:root {
  --bg: #080c21;
  --surface: #12182f;
  --surface-2: #1b2141;
  --ink: #f6f5ff;
  --muted: #aab2d2;
  --line: rgba(201, 211, 255, .15);
  --accent: #c8a6ff;
  --aqua: #6be8e7;
  --radius: 20px;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}
button { font: inherit; }
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px;
  color: #111;
  background: #fff;
  z-index: 100;
}
.skip-link:focus { top: 8px; }
/* ========== 顶部导航 ========== */
.site-header {
  position: relative;
  z-index: 20;
  background: #090e29;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1380px, calc(100% - 48px));
  min-height: 86px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(200,166,255,.5);
  border-radius: 14px;
  color: #d9c2ff;
  font-size: 27px;
  background: radial-gradient(circle,rgba(200,166,255,.15),transparent);
}
.brand strong, .brand small {
  display: block;
  white-space: nowrap;
}
.brand strong {
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.4;
}
.brand small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.site-nav a {
  padding: 9px 13px;
  border-radius: 24px;
  color: #d6ddf6;
  font-size: 14px;
  transition: background .2s;
}
.site-nav a:hover { background: rgba(255,255,255,.08); }
.menu-button {
  cursor: pointer;
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
}
/* ========== 首页主视觉 ========== */
.hero {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
}
.hero-shade {
  background: linear-gradient(90deg, #070e2c 0%, rgba(7,14,44,.94) 24%, rgba(7,14,44,.66) 48%, rgba(7,14,44,.10) 100%), linear-gradient(0deg,#070a1a,transparent 23%);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 88px 75px;
}
.hero-kicker, .section-label, .topic-number, .intro-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--aqua);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 15px var(--aqua);
}
.hero h1 {
  font-size: clamp(22px,2.2vw,30px);
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.45;
  color: #dccbff;
  margin: 27px 0 18px;
}
.hero h1 span {
  display: block;
  font-size: clamp(38px,5.6vw,77px);
  font-weight: 800;
  line-height: 1.22;
  margin-top: 14px;
  color: white;
  letter-spacing: -1px;
}
.hero-content > p {
  color: #d2daf3;
  max-width: 540px;
  line-height: 2;
  font-size: 16px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 33px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  min-height: 47px;
}
.button.primary {
  background: #bfeef1;
  color: #0a1b32;
}
.button.secondary {
  border: 1px solid rgba(255,255,255,.5);
  color: white;
}
.button.outline {
  border: 1px solid rgba(204,176,255,.55);
  color: #eee3ff;
}
.hero-metadata {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 45px;
  color: #c8d1e9;
  font-size: 12px;
  letter-spacing: 1px;
}
.hero-metadata span::before {
  content: '✧';
  margin-right: 7px;
  color: var(--aqua);
}
.hero-side-label {
  position: absolute;
  right: 3.5%;
  bottom: 33px;
  writing-mode: vertical-rl;
  color: #d1ddff;
  font-size: 10px;
  letter-spacing: 3px;
}
.hero-side-label span {
  color: var(--aqua);
  font-size: 22px;
  margin-top: 10px;
}
/* ========== 导语与栏目 ========== */
.intro-band {
  display: grid;
  grid-template-columns: 185px 1fr auto;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding-block: 39px;
}
.intro-index { color: var(--accent); }
.intro-band p {
  margin: 0;
  color: #cfd7ec;
  line-height: 1.9;
}
.intro-band strong {
  color: white;
  font-weight: 600;
}
.intro-band > a {
  font-size: 13px;
  color: var(--aqua);
  white-space: nowrap;
}
.section-block { padding-block: 85px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(26px,3vw,41px);
  line-height: 1.35;
  letter-spacing: -.5px;
  margin: 12px 0 10px;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.heading-decor {
  font-size: 84px;
  line-height: 1;
  color: #8d85d4;
}
.section-more {
  white-space: nowrap;
  font-size: 14px;
  color: var(--aqua);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.topic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 312px;
  overflow: hidden;
  padding: 25px 23px;
  border-radius: var(--radius);
  border: 1px solid rgba(215,204,255,.17);
  isolation: isolate;
  transition: transform .2s, border-color .2s;
}
.topic-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.45);
}
.topic-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .95;
}
.topic-0::before { background: radial-gradient(circle at 100% 6%,#5e4085,transparent 60%),#191636; }
.topic-1::before { background: radial-gradient(circle at 100% 6%,#3d6e93,transparent 60%),#102336; }
.topic-2::before { background: radial-gradient(circle at 100% 6%,#745078,transparent 60%),#271a37; }
.topic-3::before { background: radial-gradient(circle at 100% 6%,#386f88,transparent 60%),#10263e; }
.topic-number {
  color: #b8c7e7;
  font-size: 10px;
}
.topic-symbol {
  display: block;
  font-size: 69px;
  margin: 7px 0 0 auto;
  line-height: 1.1;
  color: #f8dfff;
  opacity: .7;
}
.topic-tile h3 {
  font-size: 23px;
  margin: auto 0 8px;
}
.topic-tile p {
  font-size: 13px;
  line-height: 1.8;
  color: #d1d9f0;
  margin: 0 0 14px;
}
.topic-go {
  font-size: 12px;
  color: #bff8f0;
}
/* ========== 文章卡片 ========== */
.feature-section { background: #0d1228; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.story-card {
  min-width: 0;
  background: #151b34;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,166,255,.55);
}
.story-cover {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.story-card:hover .story-cover img { transform: scale(1.035); }
.cover-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: rgba(10,18,49,.75);
  border: 1px solid rgba(255,255,255,.4);
}
.story-body { padding: 20px 21px 22px; }
.eyebrow-link {
  font-size: 11px;
  color: var(--aqua);
  letter-spacing: 1.5px;
}
.story-body h3 {
  font-size: 19px;
  line-height: 1.55;
  margin: 9px 0;
}
.story-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
  min-height: 75px;
}
.read-more {
  display: inline-block;
  color: #e3d2ff;
  font-size: 12px;
  margin-top: 19px;
}
/* ========== 版间叙事 ========== */
.interlude {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 34px;
  padding-block: 55px;
  border-bottom: 1px solid var(--line);
}
.interlude-orbit {
  height: 160px;
  width: 160px;
  border: 1px solid #6f76a3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle,#6755a7 0,transparent 60%);
}
.interlude-orbit::before {
  content: '';
  width: 105px;
  height: 105px;
  border: 1px dashed #b8c0dc;
  border-radius: 50%;
  transform: rotate(-25deg) scaleX(1.4);
}
.interlude-orbit::after {
  content: '✦';
  font-size: 35px;
  position: absolute;
  color: #e6d3ff;
}
.interlude h2 {
  font-size: 30px;
  margin: 8px 0;
}
.interlude p {
  color: var(--muted);
  margin: 0;
  max-width: 660px;
  font-size: 14px;
}
.closing-banner {
  background: radial-gradient(circle at 80% 0%,#343271,transparent 46%),linear-gradient(100deg,#18214d,#120c2d);
  padding-block: 65px;
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.closing-inner h2 {
  font-size: 36px;
  margin: 10px 0;
}
.closing-inner p {
  color: #cbd1ef;
  margin: 0;
}
/* ========== 内页 ========== */
.inner-hero {
  padding: 78px 0 84px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 20%,#383277,transparent 50%),#111633;
}
.inner-hero-1 { background: radial-gradient(ellipse at 80% 25%,#15577c,transparent 50%),#101d36; }
.inner-hero-2 { background: radial-gradient(ellipse at 80% 25%,#654179,transparent 50%),#1c1634; }
.inner-hero-3 { background: radial-gradient(ellipse at 80% 25%,#205974,transparent 50%),#102038; }
.breadcrumbs {
  color: #aeb8d5;
  font-size: 12px;
  margin-bottom: 30px;
}
.breadcrumbs a:hover { color: var(--aqua); }
.inner-hero h1 {
  font-size: clamp(36px,5vw,58px);
  margin: 14px 0;
}
.inner-hero p {
  max-width: 720px;
  color: #c6cde5;
}
.content-space { padding-block: 70px 100px; }
.article-divider {
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  margin: 64px 0 40px;
}
.article-divider span {
  background: var(--bg);
  padding-inline: 22px;
  position: relative;
  top: 11px;
}
.article-wrap { padding-top: 48px; }
.article-head {
  max-width: 930px;
  margin: 0 auto 35px;
  text-align: center;
}
.article-head h1 {
  font-size: clamp(32px,4.5vw,54px);
  line-height: 1.3;
  margin: 17px 0;
}
.article-lede {
  color: #c5cce5;
  font-size: 17px;
  line-height: 1.95;
}
.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #aab6d2;
  font-size: 12px;
}
.article-figure {
  margin: 0 auto 55px;
  max-width: 1080px;
}
.article-figure img {
  width: 100%;
  border-radius: 20px;
}
.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 75px;
  align-items: start;
}
.article-content {
  color: #d8dff2;
  font-size: 16px;
  line-height: 2.1;
}
.article-content p { margin: 0 0 20px; }
.article-opening {
  padding: 0 0 23px;
  border-bottom: 1px solid var(--line);
}
.article-opening strong { color: #fff; }
.article-section {
  padding-top: 22px;
  scroll-margin-top: 30px;
}
.article-section h2 {
  color: white;
  font-size: 25px;
  margin-bottom: 18px;
}
.toc {
  position: sticky;
  top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
}
.toc a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #c8d2ec;
  font-size: 13px;
}
.toc a:hover { color: var(--aqua); }
.sidebar-tip {
  background: #1a2140;
  border-radius: 18px;
  padding: 23px;
  color: #dce9ff;
  font-size: 14px;
  margin-top: 20px;
}
.sidebar-tip p {
  color: #acb8d3;
  font-size: 13px;
  margin-bottom: 0;
}
.article-note {
  background: #1a2341;
  border-left: 3px solid var(--aqua);
  border-radius: 0 12px 12px 0;
  padding: 19px 22px;
  margin-top: 40px;
}
.article-note p {
  font-size: 13px;
  margin: 6px 0 0;
}
.back-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 14px;
  color: var(--aqua);
  margin-top: 30px;
}
.related { padding-block: 85px 100px; }
.about-content {
  max-width: 850px;
  padding-block: 70px 110px;
}
.about-content h2 {
  font-size: 28px;
  margin-top: 30px;
}
.about-content p {
  color: #c6cfe8;
  line-height: 2;
}
/* ========== 底部 ========== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080b1c;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 75px;
  padding-bottom: 48px;
}
.footer-logo {
  font-size: 19px;
  font-weight: 700;
}
.footer-grid p {
  font-size: 13px;
  color: var(--muted);
  max-width: 415px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: #c1c9e3;
}
.footer-grid strong {
  color: white;
  margin-bottom: 10px;
}
.copyright {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  color: #8d98b9;
  font-size: 12px;
}
/* ========== 响应式布局 ========== */
@media (max-width: 1100px) {
  .site-nav a { padding-inline: 8px; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-tile { min-height: 260px; }
  .interlude { grid-template-columns: 125px 1fr; }
  .interlude-orbit {
    width: 120px;
    height: 120px;
  }
  .interlude > .button {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 820px) {
  .menu-button { display: inline-block; }
  .header-inner {
    min-height: 72px;
    position: relative;
    flex-wrap: wrap;
  }
  .site-nav {
    display: none;
    flex-basis: 100%;
    padding: 0 0 15px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .site-nav a { border: 1px solid var(--line); }
  .hero { min-height: 575px; }
  .hero-shade { background: linear-gradient(90deg,#090e2d 0%,rgba(9,14,45,.9) 40%,rgba(9,14,45,.44) 100%),linear-gradient(0deg,#070a1a,transparent 35%); }
  .hero-side-label { display: none; }
  .intro-band {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-sidebar { grid-row: 1; }
  .toc { position: static; }
  .toc a {
    display: inline-block;
    margin-right: 15px;
  }
  .footer-grid { gap: 35px; }
}
@media (max-width: 600px) {
  .container, .header-inner { width: min(100% - 32px, var(--max)); }
  .brand strong { font-size: 17px; }
  .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
  }
  .hero {
    min-height: 0;
    display: block;
  }
  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .site-nav a {
    justify-content: center;
    text-align: center;
  }
  .hero-image { object-position: 67% center; }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 1.1px;
  }
  .hero h1 span { overflow-wrap: anywhere; }
  .hero-shade { background: linear-gradient(90deg,rgba(7,12,37,.95),rgba(7,12,37,.7)),linear-gradient(0deg,#070a1a,transparent 35%); }
  .hero-content { padding-block: 65px 57px; }
  .hero h1 {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .hero h1 span {
    font-size: clamp(33px,8.7vw,48px);
    letter-spacing: 0;
  }
  .hero-content > p { font-size: 14px; }
  .hero-metadata {
    gap: 10px 20px;
    margin-top: 30px;
    font-size: 11px;
  }
  .section-block { padding-block: 57px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 27px; }
  .heading-decor { display: none; }
  .topic-grid, .story-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .topic-tile { min-height: 235px; }
  .story-body p { min-height: 0; }
  .interlude {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 45px;
  }
  .interlude > .button { grid-column: auto; }
  .interlude h2 { font-size: 26px; }
  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .closing-inner h2 { font-size: 29px; }
  .inner-hero { padding-block: 52px; }
  .content-space, .related { padding-block: 50px; }
  .article-wrap { padding-top: 28px; }
  .article-figure { margin-bottom: 30px; }
  .article-head h1 { font-size: 31px; }
  .article-lede { font-size: 15px; }
  .article-content { font-size: 15px; }
  .article-section h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ========== 极窄屏与通用健壮性 ========== */
@media (max-width: 360px) {
  .container, .header-inner { width: calc(100% - 28px); }
  .brand { gap: 8px; }
  .brand small {
    letter-spacing: .3px;
    font-size: 7px;
  }
  .menu-button {
    padding: 7px 9px;
    font-size: 13px;
  }
  .hero h1 span { font-size: 31px; }
  .hero-metadata { gap: 8px 11px; }
  .topic-tile { padding: 20px; }
  .story-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .topic-tile:hover, .story-card:hover, .story-card:hover .story-cover img { transform: none; }
}
