/* ==========================================================================
   博业体育 · 夜场数据台  /assets/site.css
   共享外壳：reset / 设计变量 / 中文排版 / 命令栏头部 / 命令带页脚 / 通用组件
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

ul, ol { list-style: none; }

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #06120F;
  --pine: #0C2A22;
  --cyan: #2FE8C6;
  --mist: #8FB3AA;
  --white: #EAF4F1;
  --amber: #FF9A3C;
  --red: #FF4D4D;
  --gold: #E8C46A;
  --line: #14201D;

  --cyan-soft: rgba(47, 232, 198, 0.10);
  --cyan-edge: rgba(47, 232, 198, 0.42);
  --grad-key: linear-gradient(135deg, #0C2A22 0%, #2FE8C6 100%);

  --font-display: "Arial Narrow", "Helvetica Neue", Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-44: 44px;
  --fs-72: 72px;
  --fs-120: 120px;

  --shell: 1240px;
  --gutter: 20px;
  --bw: 2px;
  --r: 2px;
  --shadow-slab: 0 18px 44px -26px rgba(0, 0, 0, 0.9);
  --dur: 0.5s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 78% at 88% -12%, rgba(47, 232, 198, 0.10), transparent 62%),
    linear-gradient(180deg, #06120F 0%, #07160F 46%, #06120F 100%);
  background-repeat: no-repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(143, 179, 170, 0.045) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(143, 179, 170, 0.045) 0 1px, transparent 1px 5px);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(44px, 7vw, var(--fs-72)); }
h2 { font-size: clamp(28px, 4.6vw, var(--fs-44)); }
h3 { font-size: var(--fs-20); line-height: 1.2; }
h4 { font-size: var(--fs-16); line-height: 1.3; letter-spacing: 0.01em; }

p { text-wrap: pretty; }

::selection { background: var(--cyan); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 4. Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 880px; }

.stack > * + * { margin-top: var(--stack-gap, 18px); }

.grid-slice {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.grid-slice--reverse { grid-template-columns: 5fr 7fr; }

.slash-rule {
  height: 2px;
  margin: clamp(24px, 5vw, 56px) 0;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
  transform: skewY(-1.4deg);
}

.prose { max-width: 68ch; }

.prose p { font-size: 15.5px; line-height: 1.75; }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--white); font-weight: 700; }
.prose a { color: var(--cyan); border-bottom: 1px solid var(--cyan-edge); }
.prose a:hover { background: var(--cyan-soft); }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; font-size: 15px; color: var(--mist); }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 9px;
  height: 2px;
  background: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-12);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
  transform: skewX(-24deg);
}

.section-head {
  display: grid;
  gap: 10px;
  padding: clamp(30px, 6vw, 72px) 0 22px;
  border-top: var(--bw) solid var(--line);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, var(--fs-44));
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-head__note { max-width: 56ch; color: var(--mist); font-size: 14px; }

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.num--score {
  font-size: clamp(44px, 9vw, var(--fs-120));
  line-height: 0.86;
  color: var(--white);
  text-shadow: 0 0 28px rgba(47, 232, 198, 0.45);
}

.num--stroke {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: none;
}

/* ---------- 5. 命令栏头部 ---------- */
.cmd-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 18, 15, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--bw) solid var(--line);
  box-shadow: 0 16px 34px -26px rgba(0, 0, 0, 0.95);
}

.cmd-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 14px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  border-radius: 0 0 var(--r) var(--r);
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 0; }

.cmd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 4px 6px 0;
}

.cmd-brand__mark {
  flex: 0 0 auto;
  width: 10px;
  height: 28px;
  background: var(--grad-key);
  transform: skewX(-14deg);
  box-shadow: 0 0 16px rgba(47, 232, 198, 0.55);
}

.cmd-brand__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}

.cmd-brand__sub {
  padding-left: 10px;
  border-left: var(--bw) solid var(--line);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--mist);
  white-space: nowrap;
}

.cmd-index { flex: 1 1 auto; min-width: 0; }

.cmd-index__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cmd-index__list::-webkit-scrollbar { display: none; }

.cmd-index__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px clamp(8px, 1.1vw, 14px);
  border-left: var(--bw) solid transparent;
  font-size: var(--fs-14);
  line-height: 1;
  color: var(--mist);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cmd-index__num {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(143, 179, 170, 0.55);
  transition: color 0.25s var(--ease);
}

.cmd-index__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.cmd-index__link:hover,
.cmd-index__link:focus-visible {
  color: var(--white);
  background: var(--pine);
}

.cmd-index__link:hover .cmd-index__num { color: var(--cyan); }

.cmd-index__link[aria-current="page"] {
  color: var(--cyan);
  font-weight: 700;
  border-left-color: var(--cyan);
  background: var(--cyan-soft);
}

.cmd-index__link[aria-current="page"] .cmd-index__num { color: var(--cyan); }
.cmd-index__link[aria-current="page"]::after { transform: scaleX(1); }

.cmd-bar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cmd-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: var(--bw) solid rgba(255, 154, 60, 0.34);
  border-radius: 999px;
  background: rgba(255, 154, 60, 0.06);
  font-size: var(--fs-12);
  line-height: 1;
  color: var(--amber);
  white-space: nowrap;
}

.cmd-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 154, 60, 0.9);
  animation: cmd-pulse 2.4s var(--ease) infinite;
}

@keyframes cmd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.32; transform: scale(0.72); }
}

.cmd-actions { display: flex; align-items: center; gap: 8px; }

.cmd-action {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

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

.cmd-action--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(47, 232, 198, 0.22);
}

.cmd-action--solid:hover,
.cmd-action--solid:focus-visible {
  transform: translateY(-2px);
  box-shadow: 3px 6px 0 rgba(47, 232, 198, 0.3);
}

.cmd-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.cmd-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  color: inherit;
}

.cmd-toggle__bars::before,
.cmd-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.cmd-toggle__bars::before { top: 0; }
.cmd-toggle__bars::after { top: 10px; }

.cmd-bar[data-open] .cmd-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.cmd-bar[data-open] .cmd-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

.cmd-toggle__label {
  font-family: var(--font-num);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  line-height: 1;
}

.cmd-rail {
  position: relative;
  height: 2px;
  background: var(--line);
}

.cmd-rail__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(47, 232, 198, 0.25), var(--cyan) 58%, var(--amber));
  transition: width 0.12s linear;
}

/* ---------- 6. 命令带页脚 ---------- */
.cmd-foot {
  position: relative;
  margin-top: clamp(48px, 9vw, 120px);
  border-top: var(--bw) solid var(--line);
  background: linear-gradient(180deg, rgba(12, 42, 34, 0.6) 0%, rgba(6, 18, 15, 1) 62%);
}

.cmd-foot__rule {
  height: 6px;
  background: repeating-linear-gradient(115deg, rgba(47, 232, 198, 0.55) 0 8px, transparent 8px 20px);
  opacity: 0.55;
}

.cmd-foot__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 34px var(--gutter) 30px;
}

.cmd-foot__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 22px;
  border-bottom: var(--bw) solid var(--line);
}

.cmd-foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.cmd-foot__brand span {
  padding-left: 10px;
  border-left: var(--bw) solid var(--line);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.cmd-foot__tag {
  max-width: 30ch;
  font-size: 13px;
  color: var(--mist);
}

.cmd-foot__tools { display: flex; align-items: center; gap: 10px; }

.cmd-foot__grid {
  display: grid;
  grid-template-columns: 4fr 4fr 7fr;
  gap: clamp(18px, 3.4vw, 46px);
  padding: 30px 0 26px;
}

.cmd-foot__col { min-width: 0; }

.cmd-foot__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: var(--fs-12);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.cmd-foot__title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--cyan);
}

.cmd-foot__list { display: grid; gap: 9px; }

.cmd-foot__link {
  display: inline-block;
  font-size: var(--fs-14);
  color: var(--mist);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.cmd-foot__link:hover,
.cmd-foot__link:focus-visible { color: var(--cyan); padding-left: 4px; }

.cmd-foot__lines {
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.cmd-foot__lines li { overflow-wrap: anywhere; }

.cmd-foot__legal {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: var(--bw) solid var(--line);
  font-size: var(--fs-12);
  line-height: 1.7;
  color: rgba(143, 179, 170, 0.8);
}

.cmd-foot__note { color: rgba(143, 179, 170, 0.62); }

.cmd-foot__stamp {
  font-family: var(--font-num);
  letter-spacing: 0.1em;
  color: rgba(47, 232, 198, 0.75);
}

/* ---------- 7. 按钮与控件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: var(--bw) solid var(--cyan);
  border-radius: var(--r);
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--cyan);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(47, 232, 198, 0.18);
}

.btn--solid:hover,
.btn--solid:focus-visible { box-shadow: 4px 7px 0 rgba(47, 232, 198, 0.26); }

.btn--ghost { border-color: var(--line); color: var(--mist); }

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

.btn--amber { border-color: var(--amber); color: var(--amber); }
.btn--amber:hover,
.btn--amber:focus-visible { background: var(--amber); color: var(--ink); }

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

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.to-top::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--mist);
}

.chip--live { border-color: rgba(255, 154, 60, 0.4); background: rgba(255, 154, 60, 0.08); color: var(--amber); }
.chip--final { border-color: rgba(143, 179, 170, 0.35); }
.chip--alert { border-color: rgba(255, 77, 77, 0.45); background: rgba(255, 77, 77, 0.08); color: var(--red); }
.chip--gold { border-color: rgba(232, 196, 106, 0.45); color: var(--gold); }
.chip--cyan { border-color: var(--cyan-edge); color: var(--cyan); }

.bookmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.bookmark::before { content: "+"; font-size: 14px; line-height: 1; color: var(--cyan); }

.bookmark:hover,
.bookmark:focus-visible { border-color: var(--gold); color: var(--gold); }

.bookmark[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.bookmark[aria-pressed="true"]::before { content: "✓"; color: var(--ink); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-top: var(--bw) solid var(--line);
  border-bottom: var(--bw) solid var(--line);
}

.filter-bar__label {
  margin-right: 6px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.filter-btn {
  padding: 7px 14px;
  border: var(--bw) solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

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

.filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.filter-count {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: var(--fs-12);
  color: var(--cyan);
}

.is-hidden { display: none !important; }

/* ---------- 8. 内容块 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0 0;
  font-family: var(--font-num);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--mist);
}

.breadcrumb__sep { color: rgba(143, 179, 170, 0.45); }

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

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

.card {
  padding: clamp(16px, 2.4vw, 26px);
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  background: var(--pine);
  box-shadow: var(--shadow-slab);
}

.card--slab {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card--slab:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.card--accent { border-left: 6px solid var(--cyan); }

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(135deg, #0C2A22 0%, #06120F 72%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(47, 232, 198, 0.07) 0 1px, transparent 1px 9px);
}

.media-frame img,
.media-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--glow {
  box-shadow: 0 0 0 1px rgba(47, 232, 198, 0.25), 0 28px 60px -36px rgba(47, 232, 198, 0.65);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

[data-accordion-item] { border-top: var(--bw) solid var(--line); }
[data-accordion-item]:last-child { border-bottom: var(--bw) solid var(--line); }

[data-accordion-item].is-open {
  background: rgba(12, 42, 34, 0.62);
  border-left: 6px solid var(--cyan);
}

[data-accordion-trigger] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-16);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

[data-accordion-trigger]:hover { color: var(--cyan); }

[data-accordion-trigger]::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

[data-accordion-trigger][aria-expanded="true"]::after { transform: rotate(-135deg); }

[data-accordion-panel] {
  padding: 4px 4px 20px 18px;
  border-left: 6px solid var(--cyan);
  color: var(--mist);
  font-size: 15px;
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .cmd-status { display: none; }
}

@media (max-width: 1000px) {
  .cmd-foot__grid { grid-template-columns: 1fr 1fr; }
  .cmd-foot__grid > .cmd-foot__col:last-child { grid-column: 1 / -1; }
  .grid-slice,
  .grid-slice--reverse { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .cmd-bar__inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cmd-brand { order: 1; }
  .cmd-bar__meta { order: 2; margin-left: auto; }
  .cmd-toggle { display: inline-flex; }

  .cmd-index {
    order: 3;
    flex-basis: 100%;
    display: none;
    margin-top: 2px;
    padding-top: 6px;
    border-top: var(--bw) solid var(--line);
  }

  .cmd-bar[data-open] .cmd-index { display: block; }

  .cmd-index__list {
    flex-direction: column;
    overflow: visible;
  }

  .cmd-index__link {
    width: 100%;
    padding: 13px 10px;
    font-size: 15px;
  }

  .cmd-index__num { min-width: 20px; font-size: 11px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .cmd-brand__sub { display: none; }
  .cmd-action--ghost { display: none; }
  .cmd-actions { gap: 6px; }

  .cmd-foot__band { flex-direction: column; align-items: flex-start; }
  .cmd-foot__tools { width: 100%; justify-content: space-between; }
  .cmd-foot__grid { grid-template-columns: 1fr; }
  .cmd-foot__grid > .cmd-foot__col:last-child { grid-column: auto; }
  .cmd-foot__inner { padding-top: 26px; }
}

/* ---------- 10. 动效降级 ---------- */
@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;
  }

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