/* ==========================================================================
   中欧体育官方 Site Kit — 共享样式
   数据档案库 / 荧光绿 / 金属银 / 未来主义
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --background: #0A0E17;
  --surface: #121826;
  --surface-alt: #1B2533;
  --text-primary: #E6EDF3;
  --text-muted: #7A8A99;
  --accent: #39FF14;
  --silver: #C0C0C0;
  --border: #2A3A4A;
  --glow: rgba(57, 255, 20, 0.15);
  --gradient: linear-gradient(135deg, #39FF14 0%, #00D2FF 100%);
  --header-height: 72px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container-width: 1280px;
  --font-heading: 'Inter', 'Space Grotesk', system-ui, sans-serif;
  --font-body: system-ui, 'Noto Sans SC', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-h1: clamp(2.5rem, 8vw, 5rem);
  --text-h2: clamp(1.8rem, 5vw, 3rem);
  --text-h3: clamp(1.4rem, 3vw, 2rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
}

/* ---------- Reset 与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

/* 数据网格背景，只在上层区域显现 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 58, 74, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 58, 74, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15) 60%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15) 60%, transparent);
}

/* 右上角荧光雾光 */
body::after {
  content: '';
  position: fixed;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  filter: blur(18px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
small { font-size: var(--text-small); }

::selection {
  background: var(--accent);
  color: var(--background);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, var(--container-width));
  }
}

#main-content {
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 2000;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--background);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: top 0.3s var(--ease);
}

.skip-link:focus-visible {
  top: 16px;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(42, 58, 74, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
  transition: width 0.15s ease-out;
  z-index: 2;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

@media (max-width: 1023px) {
  :root {
    --header-height: 64px;
  }

  .header-shell {
    width: min(100% - 24px, var(--container-width));
  }
}

/* 品牌 */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 36px;
  height: 36px;
  padding: 8px 7px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(57, 255, 20, 0.08), transparent),
    var(--surface-alt);
  border: 1px solid rgba(57, 255, 20, 0.2);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.brand-link:hover .brand-mark {
  box-shadow: 0 0 24px var(--glow);
  border-color: rgba(57, 255, 20, 0.4);
}

.brand-bar {
  display: block;
  flex: 1;
  width: 100%;
  border-radius: 2px;
}

.brand-bar--a {
  height: 34%;
  background: var(--silver);
  opacity: 0.7;
}

.brand-bar--b {
  height: 100%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.brand-bar--c {
  height: 60%;
  background: var(--silver);
  opacity: 0.7;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 导航 */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 24px;
}

/* 无 JS 时保证移动端仍可见；有 JS 后由开关控制 */
.js-enabled .site-nav {
  display: none;
}

.js-enabled .site-nav[data-open="true"] {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-item:last-child .nav-link {
  border-bottom: none;
}

.nav-link-index {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
  font-variant-numeric: tabular-nums;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(57, 255, 20, 0.05);
}

.nav-link:hover .nav-link-index {
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--accent);
  background: rgba(57, 255, 20, 0.08);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.25);
  border-radius: var(--radius-md);
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

@media (min-width: 1024px) {
  .site-nav,
  .js-enabled .site-nav,
  .js-enabled .site-nav[data-open="true"] {
    position: static;
    display: flex;
    align-items: center;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav-link {
    padding: 8px 14px;
    border-bottom: none;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    color: var(--text-muted);
  }

  .nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-alt);
    box-shadow: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--accent);
    background: rgba(57, 255, 20, 0.08);
    box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.25);
    border-radius: var(--radius-pill);
  }

  .nav-link:focus-visible {
    border-radius: var(--radius-pill);
  }
}

/* 移动端导航开关 */
.nav-toggle {
  display: none;
}

.js-enabled .nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.js-enabled .nav-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--glow);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, background 0.3s var(--ease);
}

.site-header[data-open="true"] .nav-toggle-bar--a {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle-bar--b {
  opacity: 0;
}

.site-header[data-open="true"] .nav-toggle-bar--c {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: var(--accent);
}

@media (min-width: 1024px) {
  .nav-toggle,
  .js-enabled .nav-toggle {
    display: none;
  }
}

/* ---------- 悬浮登录入口 ---------- */
.login-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: var(--background);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 40px rgba(57, 255, 20, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.3s var(--ease);
}

.login-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(57, 255, 20, 0.38);
}

.login-float:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.login-float-arrow {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.login-float:hover .login-float-arrow {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .login-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 20px;
    font-size: 0.875rem;
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.45;
  z-index: 2;
}

.footer-watermark {
  position: absolute;
  right: -0.05em;
  bottom: -0.12em;
  z-index: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(57, 255, 20, 0.05);
  pointer-events: none;
  user-select: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 56px;
  padding: 72px 0 48px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.brand-name--footer {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer-tagline {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.footer-trust {
  margin-top: 12px;
  max-width: 40em;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-heading::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.footer-contact-line {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 2;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-copyright,
.footer-icp {
  color: var(--text-muted);
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .footer-shell {
    width: min(100% - 24px, var(--container-width));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    padding: 16px 0 24px;
  }
}

/* ---------- 章节与版式 ---------- */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 36px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.05);
}

.section-index::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-top: 10px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 42em;
  margin-top: 10px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-primary);
}

/* ---------- 首屏基础 ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vh, 110px) 0 clamp(40px, 6vh, 72px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 12em;
}

.hero-lead {
  max-width: 42em;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--background);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.25);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--surface-alt);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 24px var(--glow);
}

.card-title,
.data-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-body,
.data-card-body {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-meta,
.data-card-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.data-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.7;
  border-radius: 2px;
}

.data-card::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(57, 255, 20, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.data-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 0 32px var(--glow);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

/* ---------- 数据统计 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-value-accent {
  color: var(--accent);
  text-shadow: 0 0 24px var(--glow);
}

/* ---------- 标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill-accent {
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--accent);
  background: rgba(57, 255, 20, 0.06);
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
}

.img-frame > img,
.img-frame .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}

.img-frame:hover > img {
  transform: scale(1.04);
}

.img-frame .img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.06) 0%, transparent 55%),
    var(--surface-alt);
}

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

/* ---------- 图表与数据线 ---------- */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.chart-bar {
  flex: 1;
  min-width: 6px;
  height: var(--bar-height, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(57, 255, 20, 0.15) 100%);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.chart-bar:hover {
  transform: scaleY(1.05);
  box-shadow: 0 0 20px var(--glow);
}

.data-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.5;
  box-shadow: 0 0 16px var(--glow);
  border: none;
}

.divider {
  height: 1px;
  border: 0;
  background: var(--border);
  margin: 32px 0;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table th {
  background: var(--surface-alt);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(57, 255, 20, 0.04);
}

.data-table .positive {
  color: var(--accent);
}

/* ---------- 标签页 ---------- */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  max-width: 100%;
  width: fit-content;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.tab-button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tab-button:hover {
  color: var(--text-primary);
  background: var(--surface-alt);
}

.tab-button[aria-selected="true"] {
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.3);
}

.tab-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.tab-panel {
  animation: tab-fade-in 0.45s var(--ease) both;
}

.tab-panel[hidden] {
  display: none !important;
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 手风琴 ---------- */
.accordion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

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

.accordion:hover {
  border-color: rgba(57, 255, 20, 0.3);
}

.accordion[open] {
  border-color: rgba(57, 255, 20, 0.4);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
  transition: color 0.3s var(--ease);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: '+';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.accordion[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: rgba(57, 255, 20, 0.1);
}

.accordion summary:hover {
  color: var(--accent);
}

.accordion summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.accordion-body {
  padding: 0 22px 22px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin: 40px 0 16px;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px 1.25em;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 滚动显现 ---------- */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-enabled [data-reveal][data-reveal-visible="true"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
