/* ============================================================
   ME体育方 · 共享样式 /assets/site.css
   夜场控制室配色 · 双轴网格底纹 · 侧边轨道导航
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; text-decoration: none; }

/* ---------- tokens ---------- */
:root {
  --ink-900: #0B1220;
  --ink-800: #131C30;
  --ink-700: #1E2A44;
  --axis: #5A6B85;
  --cyan: #2DE1C2;
  --orange: #FF7A2F;
  --violet: #7C5CFF;
  --lime: #C9F24D;
  --text: #F2F5FA;
  --text-dim: #9AA7BD;
  --coral: #FF5C6C;

  --rail-w: 220px;
  --topbar-h: 44px;

  --r-card: 18px;
  --r-chart: 6px;
  --r-capsule: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-48: 48px;
  --fs-64: 64px;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
html, body { min-height: 100%; }

body {
  position: relative;
  padding-top: var(--topbar-h);
  background-color: var(--ink-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* 网格层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(90, 107, 133, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 107, 133, 0.16) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
}

/* 噪点层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(242, 245, 250, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
}

#main-content {
  position: relative;
  z-index: 1;
}

/* ---------- 排版 ---------- */
h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--fs-32);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: 1.3;
}

h3, .h3 {
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.4;
}

.display {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--fs-48);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  font-size: var(--fs-18);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 38em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.u-mono { font-family: var(--font-mono); }

.body-copy { max-width: 38em; }
.body-copy p + p { margin-top: 16px; }
.body-copy a {
  color: var(--text);
  border-bottom: 1px solid rgba(45, 225, 194, 0.5);
}
.body-copy a:hover { color: var(--cyan); }

/* ---------- 跳转链接 / 进度条 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--r-capsule);
  background: var(--cyan);
  color: #04121A;
  font-size: var(--fs-14);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--lime) 55%, var(--orange));
}

/* ---------- 头部外壳 ---------- */
.site-header {
  position: relative;
  z-index: 60;
}

/* ---------- 顶部快捷条 ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: rgba(11, 18, 32, 0.94);
  border-bottom: 1px solid var(--ink-700);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.topbar__mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 700;
  color: #04121A;
  background: linear-gradient(140deg, var(--cyan), var(--lime));
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.topbar__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
}

.topbar__ticker {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.ticker__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--axis);
}

.dot--live {
  background: var(--lime);
  animation: dot-breathe 2.4s var(--ease) infinite;
}

@keyframes dot-breathe {
  0%   { box-shadow: 0 0 0 0 rgba(201, 242, 77, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(201, 242, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 242, 77, 0); }
}

/* ---------- 快捷入口 · 斜切标签 ---------- */
.quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.cut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  padding: 8px 12px;
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  background: linear-gradient(135deg, rgba(45, 225, 194, 0.18), rgba(124, 92, 255, 0.14));
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease), filter 0.24s var(--ease);
}

.cut:hover,
.cut:focus-visible {
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(45, 225, 194, 0.34), rgba(124, 92, 255, 0.2));
  filter: drop-shadow(0 0 10px rgba(45, 225, 194, 0.5));
}

.cut--accent {
  font-weight: 700;
  color: #1A0A00;
  background: linear-gradient(135deg, rgba(255, 122, 47, 0.95), rgba(255, 122, 47, 0.68));
}

.cut--accent:hover,
.cut--accent:focus-visible {
  background: linear-gradient(135deg, #FF8F4D, #FF7A2F);
  filter: drop-shadow(0 0 12px rgba(255, 122, 47, 0.6));
}

.cut__glyph {
  display: inline;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 700;
}

.cut__label { display: none; }

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-capsule);
  background: transparent;
  color: var(--text);
  font-size: var(--fs-14);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

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

.nav-toggle__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(45, 225, 194, 0.08);
}

/* ---------- 遮罩 ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 9, 18, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}

.nav-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 侧边轨道 ---------- */
.rail {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  z-index: 58;
  width: 280px;
  max-width: 86vw;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900) 70%);
  border-right: 1px solid var(--ink-700);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-102%);
  transition: transform 0.28s var(--ease);
}

.rail[data-open="true"] { transform: translateX(0); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--ink-700);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  font-weight: 700;
  color: #04121A;
  background: linear-gradient(140deg, var(--cyan), var(--lime));
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--fs-18);
  letter-spacing: 0.02em;
}

.brand__tagline {
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.rail__nav {
  flex: 1 1 auto;
  padding: 16px 12px;
}

.rail__eyebrow {
  padding: 0 10px 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--axis);
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-chart);
  font-size: var(--fs-16);
  color: var(--text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: height 0.24s var(--ease);
}

.rail__link:hover,
.rail__link:focus-visible {
  color: var(--text);
  background: var(--ink-700);
  transform: translateX(4px);
}

.rail__link:hover::before { height: 55%; }

.rail__link[aria-current="page"] {
  color: var(--text);
  background: var(--ink-700);
}

.rail__link[aria-current="page"]::before { height: 65%; }

.rail__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--axis);
}

.rail__link[aria-current="page"] .rail__idx { color: var(--cyan); }

.rail__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 20px;
  border-top: 1px solid var(--ink-700);
}

.rail__meta-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--axis);
}

.rail__meta-value {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text);
}

.rail__cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
  padding: 11px 14px;
  font-size: var(--fs-14);
  font-weight: 700;
  color: #1A0A00;
  background: var(--orange);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform 0.24s var(--ease), filter 0.24s var(--ease);
}

.rail__cta:hover,
.rail__cta:focus-visible {
  transform: translateX(4px);
  filter: drop-shadow(0 6px 20px rgba(255, 122, 47, 0.5));
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  border-top: 1px solid var(--ink-700);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 20px 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.footer__mark {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--fs-24);
  letter-spacing: 0.02em;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer__note {
  max-width: 24em;
  font-size: var(--fs-14);
  color: var(--text-dim);
}

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

.footer__title {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--axis);
}

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

.footer__links a {
  font-size: var(--fs-14);
  color: var(--text-dim);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  display: inline-block;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-700);
}

.footer__contact-item { display: flex; flex-direction: column; gap: 4px; }

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--axis);
}

.footer__contact-value {
  font-size: var(--fs-14);
  color: var(--text);
  word-break: break-word;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-700);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }

.footer__legal a {
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer__copy,
.footer__icp {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--axis);
}

.footer__copy { margin-left: auto; }

/* ---------- 布局容器 ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--narrow { max-width: 820px; }

.section { padding: 40px 0; }
.section--loose { padding: 64px 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-700);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-capsule);
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease),
              color 0.24s var(--ease), border-color 0.24s var(--ease), filter 0.24s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #1A0A00;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 26px rgba(255, 122, 47, 0.45));
}

.btn--ghost {
  border-color: var(--ink-700);
  background: rgba(19, 28, 48, 0.6);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--quiet {
  padding: 8px 4px;
  border-radius: 0;
  color: var(--text-dim);
  font-weight: 500;
}

.btn--quiet:hover,
.btn--quiet:focus-visible { color: var(--cyan); }

/* ---------- 状态胶囊 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border: 1px solid currentColor;
  border-radius: var(--r-capsule);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--axis);
  white-space: nowrap;
}

.pill--cyan { color: var(--cyan); }
.pill--live { color: var(--lime); }
.pill--violet { color: var(--violet); }
.pill--coral { color: var(--coral); }

/* ---------- 面板 ---------- */
.panel {
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-card);
}

.panel--flat { border-radius: var(--r-chart); }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: 1.3;
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

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

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-card);
  background: var(--ink-800);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06) brightness(0.92);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(45, 225, 194, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 225, 194, 0.12) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 70%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 70%);
}

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

.media-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 5px 12px;
  border: 1px solid rgba(90, 107, 133, 0.5);
  border-radius: var(--r-capsule);
  background: rgba(11, 18, 32, 0.78);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ---------- 面包屑 ---------- */
.crumbs { margin: 20px 0 28px; }

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--axis);
}

.crumbs__item::after {
  content: "/";
  margin-left: 8px;
  color: var(--ink-700);
}

.crumbs__item:last-child::after { display: none; }

.crumbs__item a {
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.crumbs__item a:hover,
.crumbs__item a:focus-visible { color: var(--cyan); }

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

/* ---------- 数据表 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.data-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--axis);
  border-bottom: 1px solid var(--ink-700);
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(30, 42, 68, 0.7);
  color: var(--text);
  vertical-align: top;
}

.data-table tbody tr:nth-child(even) { background: var(--ink-700); }

.data-table tbody tr:hover { background: rgba(45, 225, 194, 0.07); }

.data-table .num {
  font-family: var(--font-mono);
  font-size: var(--fs-18);
  letter-spacing: 0.02em;
}

/* ---------- 可展开内容组 ---------- */
.disclosure {
  border: 1px solid var(--ink-700);
  border-radius: var(--r-chart);
  background: var(--ink-800);
}

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

.disclosure__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  font-size: var(--fs-16);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.disclosure__btn:hover { color: var(--cyan); }

.disclosure__btn[aria-expanded="true"] { color: var(--cyan); background: rgba(45, 225, 194, 0.06); }

.disclosure__icon {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.24s var(--ease);
}

.disclosure__btn[aria-expanded="true"] .disclosure__icon { transform: rotate(-135deg); }

.disclosure__panel {
  display: none;
  padding: 0 18px 18px;
  font-size: var(--fs-16);
  color: var(--text-dim);
}

.disclosure__panel[data-open="true"] { display: block; }

/* ---------- 显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__contact { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: var(--fs-16); }
  .topbar { padding: 0 20px; gap: 20px; }
  .topbar__ticker { display: flex; }
  h1, .h1 { font-size: var(--fs-48); }
  h2, .h2 { font-size: var(--fs-32); }
  h3, .h3 { font-size: var(--fs-24); }
  .display { font-size: var(--fs-64); }
  .wrap { padding: 0 24px; }
  .section { padding: 56px 0; }
  .section--loose { padding: 96px 0; }
  .panel { padding: 24px; }
  .grid { gap: 24px; }
  .span-3, .span-4 { grid-column: span 6; }
  .span-5, .span-6 { grid-column: span 6; }
  .span-7, .span-8 { grid-column: span 12; }
  .footer__inner { padding: 64px 24px 32px; }
  .footer__contact { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .topbar { left: var(--rail-w); }
  .topbar__brand { display: none; }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }

  .rail {
    top: 0;
    bottom: 0;
    width: var(--rail-w);
    max-width: none;
    transform: none;
    transition: none;
  }

  .quicklinks { gap: 10px; }
  .cut { padding: 8px 16px 8px 14px; }
  .cut__glyph { display: none; }
  .cut__label { display: inline; }

  .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .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; }
}

@media (min-width: 1440px) {
  .rail { width: var(--rail-w); }
}

@media (max-width: 479px) {
  .topbar__name { display: none; }
}

/* ---------- 减少动效 ---------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cut:hover,
  .rail__link:hover,
  .footer__links a:hover { transform: none; }
}
