/* ==========================================================================
   星空体育主站 — 共享样式 /assets/site.css
   深空蓝 · 星云紫 · 呼吸绿 · 脉冲橙
   ========================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ---------- 设计令牌 ---------- */
:root {
  --ink-deep: #0A1733;
  --ink-mid: #131C3F;
  --nebula: #43286E;
  --wine: #7A1F3D;
  --breath: #2FD68A;
  --pulse: #FF8A3D;
  --glass: #9FC7E8;
  --paper: #F3F0E9;
  --slate: #C6CFDE;
  --night: #050A14;
  --white: #FFFFFF;
  --text-dark: #17203A;

  --line: rgba(159, 199, 232, 0.18);
  --line-strong: rgba(159, 199, 232, 0.42);
  --glass-fill: rgba(19, 28, 63, 0.55);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --page-max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --frame-pad: clamp(10px, 2vw, 20px);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-data: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shadow-lift: 0 26px 60px -30px rgba(5, 10, 20, 0.9);
  --shadow-card: 0 18px 44px -28px rgba(5, 10, 20, 0.95);
}

/* ---------- 页面基底 ---------- */
body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.75;
  color: var(--slate);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(1100px 640px at 6% -10%, rgba(67, 40, 110, 0.78), transparent 64%),
    radial-gradient(880px 540px at 100% 0%, rgba(122, 31, 61, 0.42), transparent 62%),
    radial-gradient(1000px 720px at 55% 112%, rgba(19, 28, 63, 0.92), transparent 70%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(1.6px 1.6px at 22% 26%, rgba(243, 240, 233, 0.75), transparent 100%),
    radial-gradient(1.4px 1.4px at 74% 14%, rgba(159, 199, 232, 0.65), transparent 100%),
    radial-gradient(1.9px 1.9px at 48% 72%, rgba(243, 240, 233, 0.55), transparent 100%),
    radial-gradient(1.3px 1.3px at 88% 58%, rgba(47, 214, 138, 0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 84%, rgba(159, 199, 232, 0.5), transparent 100%),
    radial-gradient(1.2px 1.2px at 62% 42%, rgba(255, 138, 61, 0.42), transparent 100%);
  background-size: 640px 640px, 540px 540px, 720px 720px, 480px 480px, 600px 600px, 820px 820px;
  animation: starDrift 84s linear infinite;
}

@keyframes starDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-160px, -220px, 0); }
}

body.nav-open { overflow: hidden; }

main { display: block; }

#main-content {
  display: block;
  padding-top: clamp(28px, 5vw, 64px);
}

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: var(--white);
}

h1 { font-size: clamp(30px, 4.6vw, 62px); font-weight: 900; letter-spacing: 0.04em; }
h2 { font-size: clamp(25px, 3.2vw, 44px); }
h3 { font-size: clamp(20px, 1.9vw, 28px); }
h4 { font-size: clamp(17px, 1.3vw, 21px); letter-spacing: 0.05em; }

p { max-width: 68ch; }

strong, b { color: var(--white); font-weight: 700; }

::selection {
  background: var(--breath);
  color: #04140C;
}

:focus-visible {
  outline: 2px solid var(--breath);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 200;
  padding: 11px 22px;
  transform: translate(-50%, -140%);
  background: var(--breath);
  color: #04140C;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 14px 14px;
  transition: transform 0.22s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 呼吸边框 ---------- */
.site-frame {
  position: fixed;
  inset: var(--frame-pad);
  z-index: 90;
  display: block;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  animation: frameBreath 4s ease-in-out infinite;
}

@keyframes frameBreath {
  0%, 100% { opacity: 0.42; border-color: rgba(159, 199, 232, 0.14); }
  50% { opacity: 0.95; border-color: rgba(159, 199, 232, 0.36); }
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: calc(var(--frame-pad) + 8px) var(--gutter) 10px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px clamp(12px, 1.6vw, 20px);
  background: linear-gradient(120deg, rgba(10, 23, 51, 0.9), rgba(19, 28, 63, 0.68));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px -34px rgba(5, 10, 20, 0.95);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled .header-bar {
  background: linear-gradient(120deg, rgba(5, 10, 20, 0.94), rgba(19, 28, 63, 0.86));
  border-color: var(--line-strong);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(47, 214, 138, 0.35),
    rgba(67, 40, 110, 0.55) 60%,
    rgba(10, 23, 51, 0.95));
}

.brand-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--breath);
  box-shadow: 0 0 14px rgba(47, 214, 138, 0.9);
  animation: pulseBreath 4s ease-in-out infinite;
}

@keyframes pulseBreath {
  0%, 100% { transform: scale(0.72); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--white);
}

.brand-line {
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: rgba(198, 207, 222, 0.7);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-line: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72em 1.3em;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  --btn-bg: var(--breath);
  --btn-fg: #04140C;
  --btn-line: transparent;
  font-weight: 700;
}

.btn-solid:hover { box-shadow: 0 0 30px -4px rgba(47, 214, 138, 0.75); }

.btn-outline {
  --btn-fg: var(--paper);
  --btn-line: var(--line-strong);
}

.btn-outline:hover {
  --btn-fg: var(--white);
  --btn-line: var(--glass);
  background: rgba(159, 199, 232, 0.12);
}

.btn-quiet {
  --btn-fg: var(--slate);
  --btn-line: rgba(159, 199, 232, 0.26);
}

.btn-quiet:hover {
  --btn-fg: var(--white);
  --btn-line: var(--glass);
}

.btn-record {
  --btn-bg: var(--pulse);
  --btn-fg: #231000;
  --btn-line: transparent;
  font-weight: 700;
  box-shadow: 0 0 24px -8px rgba(255, 138, 61, 0.8);
}

.btn-record:hover { box-shadow: 0 0 34px -4px rgba(255, 138, 61, 0.95); }

.btn-block { display: flex; width: 100%; }

/* ---------- 悬浮呼吸按钮 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.62em 1.05em;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(5, 10, 20, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  animation: toggleBreath 4s ease-in-out infinite;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@keyframes toggleBreath {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(159, 199, 232, 0.04);
    border-color: rgba(159, 199, 232, 0.2);
  }
  50% {
    box-shadow: 0 0 24px -6px rgba(159, 199, 232, 0.6);
    border-color: rgba(159, 199, 232, 0.62);
  }
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  animation: none;
  color: var(--ink-deep);
  background: var(--glass);
  border-color: var(--glass);
}

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 导航面板 ---------- */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  justify-items: end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.36s;
}

.site-nav[data-open] {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-scrim {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(900px 620px at 86% 10%,
    rgba(67, 40, 110, 0.6),
    rgba(5, 10, 20, 0.86) 70%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
}

.site-nav[data-open] .nav-scrim { opacity: 1; }

.nav-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vh, 44px);
  width: min(420px, 92vw);
  height: 100%;
  padding: clamp(28px, 6vh, 60px) clamp(24px, 4vw, 44px);
  overflow-y: auto;
  background: linear-gradient(200deg,
    rgba(19, 28, 63, 0.94),
    rgba(10, 23, 51, 0.92) 54%,
    rgba(67, 40, 110, 0.55));
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px -44px rgba(5, 10, 20, 0.98);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.site-nav[data-open] .nav-panel { transform: translateX(0); }

.nav-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--glass);
  text-transform: uppercase;
}

.nav-list { display: grid; }

.nav-item { border-top: 1px solid rgba(159, 199, 232, 0.14); }
.nav-item:last-child { border-bottom: 1px solid rgba(159, 199, 232, 0.14); }

.nav-link {
  display: block;
  padding: 13px 4px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  padding-left: 16px;
}

.nav-link[aria-current="page"] {
  padding-left: 16px;
  color: var(--breath);
}

.nav-link[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--breath);
  box-shadow: 0 0 12px rgba(47, 214, 138, 0.85);
}

.nav-aside {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: clamp(18px, 3vh, 28px);
  border-top: 1px solid var(--line);
}

.nav-aside-text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(198, 207, 222, 0.82);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  padding: 0 var(--gutter) clamp(26px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(10, 23, 51, 0.15), var(--night) 40%);
  color: var(--slate);
}

.orbit-band {
  position: relative;
  height: clamp(72px, 11vw, 124px);
  max-width: var(--page-max);
  margin: 0 auto;
  overflow: hidden;
}

.orbit-band::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(159, 199, 232, 0.45),
    rgba(47, 214, 138, 0.7),
    rgba(159, 199, 232, 0.45),
    transparent);
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--breath);
  box-shadow: 0 0 16px rgba(47, 214, 138, 0.9);
  animation: orbitTravel 62s linear infinite;
}

.orbit-dot:nth-child(2) {
  background: var(--pulse);
  box-shadow: 0 0 16px rgba(255, 138, 61, 0.9);
  animation-duration: 78s;
  animation-delay: -26s;
}

.orbit-dot:nth-child(3) {
  background: var(--glass);
  box-shadow: 0 0 14px rgba(159, 199, 232, 0.85);
  animation-duration: 94s;
  animation-delay: -58s;
}

@keyframes orbitTravel {
  from { left: -2%; }
  to { left: 102%; }
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 68px);
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 0 clamp(26px, 4vw, 52px);
}

.footer-lead {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
}

.brand-footer .brand-name { color: var(--paper); }
.brand-footer .brand-line { color: rgba(198, 207, 222, 0.62); }

.footer-intro {
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(198, 207, 222, 0.86);
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(159, 199, 232, 0.72);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--glass);
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  color: rgba(198, 207, 222, 0.88);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--breath);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: baseline;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: clamp(18px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(198, 207, 222, 0.66);
}

.footer-contact { color: rgba(198, 207, 222, 0.84); }
.footer-icp { font-family: var(--font-data); letter-spacing: 0.04em; }
.footer-copy { font-family: var(--font-data); letter-spacing: 0.04em; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: 780px; }

.section {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) var(--gutter);
}

.section > * { position: relative; }

.section--paper { color: var(--text-dark); }

.section--paper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  background: var(--paper);
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 { color: #101830; }

.section--paper strong { color: #101830; }

.section--paper .lede,
.section--paper .rail-note,
.section--paper p { color: #3B4560; }

.section--nebula::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(160deg, rgba(67, 40, 110, 0.7), rgba(10, 23, 51, 0.2));
}

.section--wine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(200deg, rgba(122, 31, 61, 0.62), rgba(10, 23, 51, 0.35));
}

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 36px);
}

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

/* 窄栏注释 + 宽内容区的研究板双栏 */
.grid--rail {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

/* ---------- 编辑部元素 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--glass);
}

.lede {
  max-width: 60ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.8;
  color: var(--paper);
}

.rail-note {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(198, 207, 222, 0.78);
}

.rail-note + .rail-note { margin-top: 14px; }

.panel {
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--glass-fill);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: var(--shadow-card);
}

.card {
  padding: clamp(18px, 2.2vw, 28px);
  background: rgba(19, 28, 63, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.stat {
  display: grid;
  gap: 6px;
}

.data-num {
  font-family: var(--font-data);
  font-size: clamp(20px, 2.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--pulse);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--slate);
  background: rgba(159, 199, 232, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip--breath {
  color: #04140C;
  background: var(--breath);
  border-color: transparent;
}

.chip--pulse {
  color: #231000;
  background: var(--pulse);
  border-color: transparent;
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--glass);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(47, 214, 138, 0.75),
    rgba(159, 199, 232, 0.28),
    transparent);
}

.timeline-item {
  position: relative;
  padding-left: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 15px;
  height: 15px;
  border: 2px solid var(--breath);
  border-radius: 50%;
  background: var(--ink-deep);
  box-shadow: 0 0 0 5px rgba(47, 214, 138, 0.12);
}

.timeline-time {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--pulse);
}

/* ---------- 展开内容组 ---------- */
.disclosure {
  overflow: hidden;
  background: var(--glass-fill);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.disclosure + .disclosure { margin-top: 12px; }

.disclosure-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--white);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.disclosure-trigger:hover { background: rgba(159, 199, 232, 0.08); }

.disclosure-trigger::after {
  content: "+";
  flex: none;
  font-family: var(--font-data);
  font-size: 20px;
  line-height: 1;
  color: var(--breath);
}

.disclosure-trigger[aria-expanded="true"] { color: var(--breath); }
.disclosure-trigger[aria-expanded="true"]::after { content: "–"; }

.disclosure-panel {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease, padding-bottom 0.24s ease;
}

.disclosure-panel.is-open {
  padding-bottom: 20px;
  opacity: 1;
}

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: rgba(19, 28, 63, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover { color: var(--white); border-color: var(--line-strong); }

.filter-btn[aria-pressed="true"] {
  color: #04140C;
  background: var(--breath);
  border-color: transparent;
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg,
    var(--ink-mid),
    var(--nebula) 68%,
    rgba(122, 31, 61, 0.6));
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-frame:hover img { transform: scale(1.03); }

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(5, 10, 20, 0.86), transparent);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(198, 207, 222, 0.7);
}

.breadcrumb a {
  color: rgba(198, 207, 222, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--breath);
  border-bottom-color: var(--breath);
}

.crumb-sep { color: rgba(159, 199, 232, 0.5); }

/* ---------- 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--breath), var(--pulse));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--rail { grid-template-columns: 1fr; }
  .header-actions .btn-quiet { display: none; }
}

/* ---------- 手机 ---------- */
@media (max-width: 760px) {
  :root { --frame-pad: 9px; }

  .site-header { padding-top: calc(var(--frame-pad) + 6px); }

  .brand-line { display: none; }
  .brand-name { font-size: 17px; }

  .header-bar { padding: 9px 12px; }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

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

  .footer-base { font-size: 12.5px; }

  .nav-toggle-text { display: none; }

  .nav-panel { width: min(360px, 94vw); }
}

@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .footer-columns { grid-template-columns: 1fr; }
  .btn { font-size: 14.5px; padding: 0.7em 1.1em; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body::before { animation: none; }
  .site-frame,
  .nav-toggle,
  .brand-pulse,
  .orbit-dot { animation: none; }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .media-frame:hover img { transform: none; }
}
