/* =========================================================
   老版新葡萄特色 · 共享外壳样式  /assets/site.css
   深窖紫底 · 葡萄紫主张 · 青提绿与暖金点缀
   ========================================================= */

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

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

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

ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; border-spacing: 0; }
[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  --c-cellar: #2A103A;
  --c-grape: #4B1D6B;
  --c-grape-live: #7A3FA0;
  --c-grape-soft: #B990D6;
  --c-green: #2FB37A;
  --c-green-bright: #7ED9AE;
  --c-gold: #D6A84B;
  --c-gold-soft: #F0D08A;
  --c-ink: #151018;
  --c-paper: #F7F2EA;
  --c-mist: #CBC2D4;
  --c-glass: rgba(255, 255, 255, 0.18);

  --f-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --f-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --header-h: 76px;
  --shell-max: 1320px;
  --shell-pad: clamp(16px, 3.4vw, 44px);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;

  --line-soft: rgba(185, 144, 214, 0.22);
  --line-gold: rgba(214, 168, 75, 0.42);
  --line-green: rgba(47, 179, 122, 0.42);

  --shadow-soft: 0 24px 54px -36px rgba(0, 0, 0, 0.95);
  --shadow-glow: 0 18px 40px -28px rgba(122, 63, 160, 0.95);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-cellar);
  background-image:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 6px),
    radial-gradient(120% 82% at 6% -8%, rgba(122, 63, 160, 0.52) 0%, rgba(122, 63, 160, 0) 56%),
    radial-gradient(92% 62% at 98% 2%, rgba(47, 179, 122, 0.18) 0%, rgba(47, 179, 122, 0) 52%),
    linear-gradient(180deg, #2A103A 0%, #1E0B2C 48%, #151018 100%);
  color: var(--c-paper);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0.02em;
  color: var(--c-paper);
}

p { max-width: 74ch; }

::selection {
  background: var(--c-grape-live);
  color: #FFF6EC;
}

#main-content { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- 焦点与可访问 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--c-green-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 300;
  display: inline-block;
  padding: 11px 22px;
  border-radius: 0 0 14px 14px;
  background: var(--c-gold-soft);
  color: var(--c-ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  transition: top 0.24s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}
.shell--tight { max-width: 900px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- 排版工具 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-grape-soft);
}
.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.lede {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.85;
  color: var(--c-mist);
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--c-green-bright);
  border-bottom: 1px solid rgba(126, 217, 174, 0.36);
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.link-more::after { content: "\2192"; }
.link-more:hover {
  gap: 13px;
  color: var(--c-gold-soft);
  border-color: rgba(240, 208, 138, 0.6);
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-fg: var(--c-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid rgba(185, 144, 214, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease,
    color 0.22s ease, box-shadow 0.22s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 208, 138, 0.62);
  box-shadow: 0 12px 26px -20px rgba(214, 168, 75, 0.95);
}
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(135deg, #7A3FA0 0%, #4B1D6B 60%, #2FB37A 100%);
  border-color: transparent;
  color: #FFF6EC;
  font-weight: 500;
  box-shadow: 0 14px 30px -24px rgba(122, 63, 160, 1);
}
.btn--solid:hover {
  background: linear-gradient(135deg, #8E4CB8 0%, #5A2480 56%, #35C88A 100%);
  border-color: transparent;
}
.btn--gold {
  background: linear-gradient(135deg, #F0D08A 0%, #D6A84B 100%);
  border-color: transparent;
  color: #2A103A;
  font-weight: 600;
}
.btn--ghost {
  background: transparent;
  border-color: rgba(214, 168, 75, 0.5);
  color: var(--c-gold-soft);
}
.btn--sm { padding: 8px 15px; font-size: 0.78rem; }
.btn--block { width: 100%; }

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(21, 16, 24, 0.74) 0%, rgba(21, 16, 24, 0) 100%);
  transition: background-color 0.34s ease, border-color 0.34s ease, box-shadow 0.34s ease,
    backdrop-filter 0.34s ease;
}
.site-header.is-solid {
  background-color: rgba(42, 16, 58, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line-gold);
  box-shadow: 0 18px 42px -34px rgba(0, 0, 0, 1);
}

.header-plate {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 10px var(--shell-pad);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-grape-live) 0%, var(--c-green-bright) 56%, var(--c-gold) 100%);
  opacity: 0.92;
}

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand--footer { margin-bottom: 0; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 168, 75, 0.5);
  border-radius: 12px;
  background: linear-gradient(150deg, #4B1D6B 0%, #2A103A 58%, #151018 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 22px -14px rgba(122, 63, 160, 0.95);
  color: var(--c-gold-soft);
  font-family: var(--f-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--f-head);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-paper);
}
.brand__line {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--c-grape-soft);
}

/* ---------- 导航 ---------- */
.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--c-mist);
  transition: color 0.22s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-green-bright), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s ease;
}
.nav-link:hover { color: var(--c-paper); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--c-gold-soft); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 头部行动区 ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(185, 144, 214, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}
.nav-toggle:hover { border-color: var(--line-gold); }

.nav-toggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--c-paper);
  transition: transform 0.26s ease, opacity 0.2s ease;
}
.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 26px; }

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

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(60px, 9vw, 140px);
  border-top: 1px solid var(--line-gold);
  background: linear-gradient(180deg, #2A103A 0%, #1B0A28 58%, #151018 100%);
  color: var(--c-mist);
}

.footer-plate {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 74px) var(--shell-pad) clamp(22px, 3vw, 38px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.8fr) minmax(260px, 1.2fr);
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(26px, 3.4vw, 46px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand__line {
  max-width: 36ch;
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.badge {
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.badge--gold {
  color: var(--c-gold-soft);
  border-color: rgba(214, 168, 75, 0.4);
  background: rgba(214, 168, 75, 0.1);
}
.badge--green {
  color: var(--c-green-bright);
  border-color: rgba(47, 179, 122, 0.42);
  background: rgba(47, 179, 122, 0.12);
}
.badge--grape {
  color: var(--c-grape-soft);
  border-color: rgba(185, 144, 214, 0.36);
  background: rgba(122, 63, 160, 0.2);
}

.footer-title {
  margin-bottom: 18px;
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-paper);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--c-mist);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  padding-left: 6px;
  color: var(--c-green-bright);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact__key {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--c-grape-soft);
}
.footer-contact__val {
  font-size: 0.9rem;
  color: var(--c-paper);
  word-break: break-word;
}

.footer-note {
  max-width: 90ch;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-left: 16px;
  border-left: 2px solid rgba(214, 168, 75, 0.45);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: 0.78rem;
}
.footer-icp {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--c-gold);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-legal a {
  color: var(--c-mist);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--c-paper);
  border-color: var(--c-grape-soft);
}
.footer-copy {
  margin-left: auto;
  max-width: none;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(203, 194, 212, 0.66);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-grape-soft);
}
.breadcrumb__link {
  color: var(--c-mist);
  transition: color 0.2s ease;
}
.breadcrumb__link:hover { color: var(--c-green-bright); }
.breadcrumb__sep { color: rgba(185, 144, 214, 0.5); }
.breadcrumb__current { color: var(--c-gold-soft); }

/* ---------- 章节色带 ---------- */
.band {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  margin-bottom: clamp(20px, 3vw, 38px);
}
.band__num {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  color: var(--c-gold);
}
.band__title {
  flex: 0 1 auto;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  letter-spacing: 0.02em;
  color: var(--c-paper);
}
.band__rule {
  flex: 1 1 auto;
  min-width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-grape-live), var(--c-green) 62%, rgba(47, 179, 122, 0));
}
.band--gold .band__rule {
  background: linear-gradient(90deg, var(--c-gold), rgba(214, 168, 75, 0));
}
.band--short .band__rule { flex: 0 0 22%; }

/* ---------- 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(122, 63, 160, 0.2) 0%, rgba(21, 16, 24, 0.46) 100%);
}
.panel--glass {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow-soft);
}
.panel--paper {
  border-color: rgba(21, 16, 24, 0.12);
  background: var(--c-paper);
  color: var(--c-ink);
}
.panel--paper :where(h1, h2, h3, h4) { color: var(--c-ink); }

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: linear-gradient(165deg, rgba(122, 63, 160, 0.22) 0%, rgba(21, 16, 24, 0.52) 100%);
  transition: border-color 0.24s ease, transform 0.24s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-grape-live), rgba(122, 63, 160, 0));
}
.card:hover { transform: translateY(-2px); border-color: rgba(240, 208, 138, 0.42); }

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(185, 144, 214, 0.28);
  border-radius: var(--radius-m);
  background-color: var(--c-grape);
  background-image:
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px),
    linear-gradient(150deg, rgba(122, 63, 160, 0.55) 0%, rgba(42, 16, 58, 0.92) 56%, rgba(21, 16, 24, 0.96) 100%);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(240, 208, 138, 0.7);
  border-right: 1px solid rgba(240, 208, 138, 0.7);
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--fill { aspect-ratio: auto; height: 100%; }

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 11px;
  border: 1px solid rgba(214, 168, 75, 0.35);
  border-radius: 999px;
  background: rgba(21, 16, 24, 0.74);
  color: var(--c-gold-soft);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

/* ---------- 标签页 ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(21, 16, 24, 0.5);
}
.tab {
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--c-mist);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.22s ease, background-color 0.22s ease;
}
.tab:hover { color: var(--c-paper); }
.tab[aria-selected="true"] {
  color: #FFF6EC;
  background: linear-gradient(135deg, #7A3FA0 0%, #4B1D6B 58%, #2FB37A 100%);
}

/* ---------- 分段控件 ---------- */
.segmented {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border: 1px solid rgba(185, 144, 214, 0.28);
  border-radius: 999px;
  background: rgba(21, 16, 24, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.segmented__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7A3FA0 0%, #4B1D6B 58%, #2FB37A 100%);
  transition: transform 0.26s ease, width 0.26s ease;
  pointer-events: none;
}
.segmented__btn {
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--c-mist);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.22s ease;
}
.segmented__btn[aria-selected="true"] { color: #FFF6EC; }

/* ---------- 筛选标签 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-mist);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.chip:hover {
  color: var(--c-paper);
  border-color: var(--c-grape-soft);
}
.chip[aria-pressed="true"] {
  color: #FFF6EC;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(122, 63, 160, 0.9) 0%, rgba(47, 179, 122, 0.62) 100%);
}

/* ---------- 手风琴 ---------- */
.accordion { border-top: 1px solid var(--line-soft); }
.accordion__item { border-bottom: 1px solid var(--line-soft); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  color: var(--c-paper);
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.accordion__trigger:hover { color: var(--c-gold-soft); }
.accordion__index {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--c-gold);
}
.accordion__sign {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: auto;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--c-grape-soft);
  transition: transform 0.26s ease, opacity 0.26s ease;
}
.accordion__sign::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.accordion__sign::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.accordion__trigger[aria-expanded="true"] .accordion__sign::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.36s ease;
}
.accordion__body {
  max-width: 72ch;
  padding: 0 4px 22px;
  font-size: 0.94rem;
  color: var(--c-mist);
}

/* ---------- 横向滚动轨道 ---------- */
.rail {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--c-grape-live) transparent;
  scrollbar-width: thin;
}
.rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 999px; }
.rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--c-grape-live), var(--c-green));
  border-radius: 999px;
}

/* ---------- 数据片段 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--f-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: var(--c-gold-soft);
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--c-grape-soft);
}

/* ---------- 显现动效 ---------- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.has-js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  .header-actions .btn--ghost { display: none; }
}

@media (max-width: 1100px) {
  :root { --header-h: 64px; }

  .site-header {
    background-color: rgba(42, 16, 58, 0.88);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border-bottom-color: rgba(214, 168, 75, 0.22);
  }

  .header-actions { display: none; }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--shell-pad) 26px;
    border-bottom: 1px solid var(--line-gold);
    background: linear-gradient(180deg, rgba(42, 16, 58, 0.985) 0%, rgba(21, 16, 24, 0.985) 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 34px 64px -42px rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li { border-bottom: 1px solid rgba(185, 144, 214, 0.16); }
  .nav-link {
    display: block;
    padding: 15px 2px;
    font-size: 0.98rem;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--c-green-bright); }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 0.97rem; }
  .brand__line { display: none; }
  .brand__name { font-size: 1rem; }
  .footer-badges { flex-direction: column; align-items: flex-start; }
  .band { flex-wrap: wrap; }
  .band__rule { flex: 1 1 40%; }
  .tab, .segmented__btn { padding: 8px 14px; font-size: 0.78rem; }
  .tabs, .segmented { width: 100%; justify-content: space-between; }
  .footer-note { padding-left: 12px; }
}

/* ---------- 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .card:hover { transform: none; }
}
