/* ==========================================================================
   9博体育中心 — /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   视觉逻辑：夜场战术板 + 技术蓝图网格 + 青训档案纸
   ========================================================================== */

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

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

body {
  margin: 0;
  background: #F5F2E9;
  color: #0D1B2A;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

img, svg, video, canvas { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid #F2C14E;
  outline-offset: 2px;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  --night: #0D1B2A;
  --night-2: #16293D;
  --night-3: #0B1724;
  --turf: #266B44;
  --turf-bright: #2E7F51;
  --moss: #6F8A57;
  --data: #F2C14E;
  --ref: #C1272D;
  --stone: #5C666D;
  --bone: #F5F2E9;
  --paper: #E3DECF;
  --clay: #A75B38;

  --line-dark: rgba(245, 242, 233, 0.14);
  --line-light: rgba(13, 27, 42, 0.14);

  --edge: clamp(20px, 5vw, 72px);
  --gutter: 24px;
  --maxw: 1440px;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 0.18s;
  --base: 0.22s;
}

/* ---------- 3. 基础排版 ---------- */
.mono,
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.mono { letter-spacing: 0.04em; }

.muted { color: var(--stone); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turf);
  margin: 0 0 14px;
}

.section--night .eyebrow { color: var(--data); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--stone);
  max-width: 68ch;
}

.section--night .lede { color: rgba(245, 242, 233, 0.72); }

.rule {
  height: 1px;
  border: 0;
  background: var(--paper);
  margin: clamp(24px, 4vw, 40px) 0;
}

.section--night .rule { background: var(--line-dark); }

.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 1.8em;
}

.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 1.6em;
}

.prose a {
  color: var(--turf);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose ul,
.prose ol { padding-left: 1.2em; }

.prose li {
  list-style: none;
  position: relative;
  padding-left: 0.9em;
  margin-top: 0.5em;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--moss);
}

/* ---------- 4. 布局原语 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.section { padding: clamp(40px, 6vw, 88px) 0; }
.section--night { background: var(--night); color: var(--bone); }
.section--bone { background: var(--bone); color: var(--night); }
.section--paper { background: var(--paper); color: var(--night); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-light);
}

.section--night .section-head { border-bottom-color: var(--line-dark); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  background: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}

.btn-primary {
  background: var(--turf);
  border-color: var(--turf);
  color: #FFFFFF;
}

.btn-primary:hover { background: var(--turf-bright); border-color: var(--turf-bright); }

.btn-ghost {
  border-color: rgba(245, 242, 233, 0.32);
  color: var(--bone);
}

.btn-ghost:hover { border-color: var(--data); color: var(--data); }

.btn-quiet {
  border-color: var(--stone);
  color: var(--night);
}

.btn-quiet:hover { background: var(--night); border-color: var(--night); color: var(--bone); }

.btn-block { width: 100%; }

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--data);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--fast) var(--ease);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--night);
  color: var(--bone);
  border-bottom: 1px solid var(--night-2);
  transition: background-color var(--base) var(--ease), box-shadow var(--base) var(--ease);
}

.site-header[data-scrolled="true"] {
  background: var(--night-3);
  box-shadow: 0 1px 0 rgba(242, 193, 78, 0.24), 0 14px 34px rgba(13, 27, 42, 0.38);
}

.site-header::after {
  content: "";
  position: absolute;
  left: var(--edge);
  top: 100%;
  width: 1px;
  height: clamp(24px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(38, 107, 68, 0.85), rgba(38, 107, 68, 0));
  pointer-events: none;
}

/* 刻度轨 */
.header-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  padding: 5px var(--edge);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 233, 0.6);
}

.brand-line {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(242, 193, 78, 0.85);
}

.axis-switch {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-dark);
  background: rgba(22, 41, 61, 0.6);
}

.axis-label {
  padding: 5px 10px;
  border-right: 1px solid var(--line-dark);
  color: rgba(245, 242, 233, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
}

.axis-btn {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  padding: 5px 10px;
  color: rgba(245, 242, 233, 0.68);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.axis-btn:last-child { border-right: 0; }

.axis-btn:hover { background: rgba(111, 138, 87, 0.3); color: var(--bone); }

.axis-btn[aria-pressed="true"] { background: var(--turf); color: #FFFFFF; }

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

.utility-link {
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid var(--line-dark);
  color: rgba(245, 242, 233, 0.68);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.utility-link:hover { border-color: var(--data); color: var(--data); }

/* 主行 */
.header-main {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px var(--edge);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 242, 233, 0.32);
  background: linear-gradient(135deg, rgba(38, 107, 68, 0.32), rgba(38, 107, 68, 0) 62%);
  transition: border-color var(--base) var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--turf);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--data);
  transition: transform var(--base) var(--ease);
}

.brand:hover .brand-mark { border-color: var(--moss); }
.brand:hover .brand-mark::after { transform: scale(1.45); }

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

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

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: rgba(245, 242, 233, 0.5);
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.nav-toggle:hover { border-color: var(--turf); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
  flex: 0 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: top var(--base) var(--ease), transform var(--base) var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 9px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

.nav-toggle-label { white-space: nowrap; }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  color: rgba(245, 242, 233, 0.78);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--turf);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--base) var(--ease), background-color var(--base) var(--ease);
}

.nav-link:hover { color: var(--bone); background: rgba(245, 242, 233, 0.05); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--bone);
  background: rgba(38, 107, 68, 0.24);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--data);
}

.nav-link:focus-visible { outline: 2px solid var(--data); outline-offset: -2px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-actions .btn { padding: 10px 16px; font-size: 14px; }

/* 底部刻度带与进度条 */
.header-edge {
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(245, 242, 233, 0.22) 0 1px,
    transparent 1px 24px
  );
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--data);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: rgba(245, 242, 233, 0.78);
  border-top: 1px solid var(--night-2);
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(245, 242, 233, 0.18) 0 1px,
    transparent 1px 24px
  );
}

.footer-arc {
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(245, 242, 233, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) var(--edge) clamp(32px, 5vw, 52px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.66);
  max-width: 28ch;
}

.footer-axis {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

.footer-col-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--data);
}

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

.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: rgba(245, 242, 233, 0.78);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.footer-link:hover { color: var(--bone); border-bottom-color: var(--turf); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-line {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.78);
  word-break: break-word;
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.52);
  max-width: 34ch;
}

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--edge) 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: rgba(245, 242, 233, 0.5);
}

.footer-icp { margin: 0; }

.footer-meta { margin: 0; flex: 1 1 auto; color: rgba(245, 242, 233, 0.62); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

.footer-legal .footer-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- 8. 内容组件 ---------- */
.index-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--paper);
}

.section--night .index-rail { border-left-color: var(--line-dark); }

.index-rail a {
  position: relative;
  display: block;
  padding-left: 14px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}

.section--night .index-rail a { color: rgba(245, 242, 233, 0.6); }

.index-rail a::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.index-rail a:hover,
.index-rail a[aria-current="true"] { color: var(--night); }

.section--night .index-rail a:hover,
.section--night .index-rail a[aria-current="true"] { color: var(--bone); }

.index-rail a:hover::before,
.index-rail a[aria-current="true"]::before { background: var(--turf); transform: scale(1.5); }

.circle-divider {
  position: relative;
  height: 1px;
  border: 0;
  background: var(--paper);
  margin: clamp(36px, 6vw, 72px) 0;
}

.circle-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--bone);
}

.section--night .circle-divider,
.section--night .circle-divider::before { background-color: transparent; }

.section--night .circle-divider { background: var(--line-dark); }
.section--night .circle-divider::before { border-color: var(--line-dark); }

.diagonal-block {
  background: var(--night);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.panel {
  padding: clamp(20px, 3vw, 28px);
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  color: var(--bone);
}

.panel--bone {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--paper);
  color: var(--night);
}

.card {
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--paper);
  transition: border-color var(--base) var(--ease), background-color var(--base) var(--ease);
}

.card:hover { border-color: var(--turf); background: rgba(255, 255, 255, 0.86); }

.stat { display: flex; flex-direction: column; gap: 8px; }

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--data);
}

.section--bone .stat-value { color: var(--turf); }

.stat-unit {
  margin-left: 0.25em;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.section--night .stat-label { color: rgba(245, 242, 233, 0.6); }

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--stone);
}

.tag--turf { color: var(--turf); }
.tag--data { color: #B9871A; }
.tag--clay { color: var(--clay); }
.tag--ref { color: var(--ref); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table caption {
  caption-side: top;
  padding-bottom: 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--paper);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.data-table tbody tr { transition: background-color var(--fast) var(--ease); }
.data-table tbody tr:hover { background: rgba(38, 107, 68, 0.08); }

.data-table .num,
.data-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.data-table--night { color: var(--bone); }
.data-table--night th,
.data-table--night td { border-bottom-color: var(--line-dark); }
.data-table--night thead th { background: rgba(245, 242, 233, 0.06); color: rgba(245, 242, 233, 0.7); }
.data-table--night tbody tr:hover { background: rgba(38, 107, 68, 0.24); }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

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

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

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

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

.breadcrumb [aria-current="page"] { color: var(--night); font-weight: 600; }

/* 折叠面板 */
.disclosure {
  border: 1px solid var(--paper);
  background: rgba(255, 255, 255, 0.5);
}

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

.disclosure--night {
  background: var(--night-2);
  border-color: var(--line-dark);
  color: var(--bone);
}

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

.disclosure-trigger:hover { background: rgba(38, 107, 68, 0.08); }
.disclosure--night .disclosure-trigger:hover { background: rgba(38, 107, 68, 0.28); }
.disclosure-trigger:focus-visible { outline: 2px solid var(--turf); outline-offset: -2px; }

.disclosure-label { min-width: 0; }

.disclosure-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.disclosure-icon::before,
.disclosure-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--base) var(--ease), opacity var(--base) var(--ease);
}

.disclosure-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.disclosure-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }

.disclosure[data-open="true"] .disclosure-icon::after { transform: scaleY(0); opacity: 0; }

.disclosure-panel { overflow: hidden; }

.js .disclosure-panel { height: 0; transition: height var(--base) var(--ease); }

.disclosure-body {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 68ch;
}

.disclosure--night .disclosure-body { color: rgba(245, 242, 233, 0.72); }

/* ---------- 9. 图片容器（页面阶段放置 <img>） ---------- */
.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--night-2);
  border: 1px solid var(--paper);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.06), rgba(13, 27, 42, 0.62));
  pointer-events: none;
}

.media--turf::after { background: linear-gradient(180deg, rgba(38, 107, 68, 0.18), rgba(13, 27, 42, 0.7)); }
.media--clay::after { background: linear-gradient(180deg, rgba(167, 91, 56, 0.22), rgba(13, 27, 42, 0.66)); }

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.section--night .media-caption { color: rgba(245, 242, 233, 0.6); }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1119px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 90;
    display: block;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--night-2);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--night);
    transition: max-height var(--base) var(--ease), visibility 0s linear var(--base);
  }

  .site-nav[data-open="true"] {
    max-height: min(78vh, 640px);
    overflow-y: auto;
    visibility: visible;
    transition: max-height var(--base) var(--ease), visibility 0s;
  }

  .nav-list {
    display: block;
    padding: 8px var(--edge);
  }

  .nav-list li + li { border-top: 1px solid var(--line-dark); }

  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 24px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 0 var(--edge) 22px;
  }

  .header-actions .btn { width: 100%; }

  .header-rail { flex-wrap: wrap; row-gap: 8px; }
  .brand-line { flex: 1 1 100%; }

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

@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6 { grid-column: span 4; }
  .span-7, .span-8, .span-9 { grid-column: span 8; }
}

@media (max-width: 720px) {
  .header-rail { display: none; }
  .site-header::after { height: 24px; }
  .header-main { min-height: 62px; padding: 8px var(--edge); }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.08em; }
}

@media (max-width: 639px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-base { gap: 8px 16px; }
  .footer-meta { flex: 1 1 100%; }
  .footer-legal { gap: 14px; }

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

/* ---------- 11. 无障碍与动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
