/* ============================================================
   浩瀚体育官网 · 共享样式 /assets/site.css
   0. Reset  1. Tokens  2. Base & 中文排版  3. 通用布局
   4. 文本与面板  5. 按钮/胶囊/标签/数据  6. 表格与图片容器
   7. 显现动效  8. 页头命令栏  9. 页脚  10. 响应式与无障碍
   ============================================================ */

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

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

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

ul, ol { padding: 0; }

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 1. Tokens ---------- */
:root {
  --ink-900: #07111F;
  --ink-800: #0D1B2E;
  --ink-700: #152A42;
  --line: #2B4058;
  --text: #EAF2F8;
  --muted: #8FA6BA;
  --ochre: #E2763A;
  --ochre-deep: #A84A2A;
  --cyan: #4DF0C2;
  --amber: #F2B84B;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shell-max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(28px, 5vw, 56px);

  --sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 66px;
}

/* ---------- 2. Base & 中文排版 ---------- */
body {
  min-height: 100%;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 70% at 92% -12%, rgba(77, 240, 194, 0.10), transparent 62%),
    radial-gradient(90% 60% at 4% 2%, rgba(226, 118, 58, 0.12), transparent 64%),
    repeating-linear-gradient(180deg, rgba(43, 64, 88, 0.16) 0 1px, transparent 1px 6px);
  background-attachment: fixed, fixed, fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.55em;
}

h1 {
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(25px, 3.6vw, 40px);
  letter-spacing: -0.02em;
}

h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: clamp(16px, 1.8vw, 18px); letter-spacing: 0; }

p { margin-bottom: 1em; }

p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

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

a:hover { color: var(--cyan); }

strong, b { font-weight: 700; }

::selection {
  background: rgba(226, 118, 58, 0.85);
  color: var(--ink-900);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- 3. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
  max-width: 62ch;
}

.section__title { margin: 0; }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: minmax(0, 1fr);
}

.grid--two,
.grid--three,
.grid--split,
.grid--wide { grid-template-columns: minmax(0, 1fr); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink-900);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 文本与面板 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ochre), var(--cyan));
}

.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
  color: rgba(234, 242, 248, 0.84);
  max-width: 56ch;
}

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

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

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(77, 240, 194, 0.08), transparent 58%),
    linear-gradient(160deg, rgba(21, 42, 66, 0.92), rgba(13, 27, 46, 0.96));
  overflow: hidden;
}

.panel--quiet {
  background-image: linear-gradient(160deg, rgba(13, 27, 46, 0.9), rgba(7, 17, 31, 0.96));
  border-color: rgba(43, 64, 88, 0.75);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.panel__title { margin: 0; font-size: clamp(18px, 2vw, 22px); }

.panel__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 5. 按钮 / 胶囊 / 标签 / 数据 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--ochre);
  color: var(--ink-900);
  border-color: var(--ochre);
}

.btn--primary:hover {
  background-color: #ef8a53;
  border-color: #ef8a53;
  color: var(--ink-900);
}

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

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

.btn--sm {
  padding: 0.58em 1.15em;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 1.05em;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: rgba(21, 42, 66, 0.66);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

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

.chip.is-active,
.chip[aria-pressed="true"] {
  background-color: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink-900);
}

.chip.is-active:hover,
.chip[aria-pressed="true"]:hover { color: var(--ink-900); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.7em;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.tag--live {
  color: var(--cyan);
  background-color: rgba(77, 240, 194, 0.14);
  border: 1px solid rgba(77, 240, 194, 0.35);
}

.tag--hot {
  color: var(--ochre);
  background-color: rgba(226, 118, 58, 0.16);
  border: 1px solid rgba(226, 118, 58, 0.4);
}

.tag--wait {
  color: var(--amber);
  background-color: rgba(242, 184, 75, 0.14);
  border: 1px solid rgba(242, 184, 75, 0.38);
}

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

.stat__value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat__value--cyan { color: var(--cyan); }
.stat__value--ochre { color: var(--ochre); }

.stat__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- 6. 表格与图片容器 ---------- */
.breadcrumbs { margin-bottom: 18px; }

.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

.breadcrumbs__link {
  padding: 2px 4px;
  border-radius: 8px;
  color: var(--muted);
}

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

.breadcrumbs__sep { color: var(--line); }

.breadcrumbs__current { color: var(--text); }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(43, 64, 88, 0.8);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.data-table { font-size: 14px; }

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(43, 64, 88, 0.66);
  white-space: nowrap;
}

.data-table thead th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  background-color: rgba(21, 42, 66, 0.7);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table tbody tr:hover { background-color: rgba(21, 42, 66, 0.45); }

.data-table__num {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background-color: var(--ink-700);
  background-image:
    radial-gradient(80% 70% at 28% 18%, rgba(77, 240, 194, 0.20), transparent 62%),
    radial-gradient(74% 82% at 82% 92%, rgba(226, 118, 58, 0.24), transparent 66%),
    linear-gradient(160deg, #152A42, #07111F);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg, rgba(43, 64, 88, 0.4) 0 1px, transparent 1px 4px);
  opacity: 0.32;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media--framed { border: 1px solid var(--line); }

.media__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(234, 242, 248, 0.88);
  text-shadow: 0 1px 8px rgba(7, 17, 31, 0.9);
}

/* ---------- 7. 显现动效 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

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

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

  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .chip,
  .skip-link,
  .site-header {
    transition: none !important;
  }
}

/* ---------- 8. 页头 / 命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(13, 27, 46, 0.97);
  background-image: linear-gradient(180deg, rgba(21, 42, 66, 0.92), rgba(7, 17, 31, 0.96));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background-color: rgba(43, 64, 88, 0.55);
  pointer-events: none;
}

.header-rail__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--ochre), var(--cyan));
  transition: transform 0.08s linear;
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 11px var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 3px 2px;
  border-radius: 12px;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ink-800);
  background-image: linear-gradient(150deg, var(--ink-700), var(--ink-900));
  box-shadow: inset 0 0 0 1px rgba(77, 240, 194, 0.08);
}

.brand__mark::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -14px;
  height: 22px;
  background-image: linear-gradient(90deg, var(--ochre-deep), var(--ochre));
  transform: rotate(-11deg);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 12px rgba(77, 240, 194, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.16;
}

.brand__name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* 当前栏目状态灯 */
.cmd-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: rgba(21, 42, 66, 0.6);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.cmd-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(77, 240, 194, 0.12);
}

.cmd-status__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cmd-status__value {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: rgba(21, 42, 66, 0.72);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__text { line-height: 1; }

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--cyan);
  color: var(--cyan);
  background-color: rgba(77, 240, 194, 0.1);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* 命令栏导航（移动：下拉面板） */
.cmd-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 6px var(--gutter) 22px;
  border-bottom: 1px solid var(--line);
  background-color: rgba(7, 17, 31, 0.99);
  background-image: linear-gradient(180deg, rgba(13, 27, 46, 0.99), rgba(7, 17, 31, 0.99));
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
}

.site-header[data-open="true"] .cmd-nav {
  display: block;
  animation: cmd-drop 0.22s var(--ease);
}

@keyframes cmd-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.cmd-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.cmd-nav__item { border-bottom: 1px solid rgba(43, 64, 88, 0.55); }
.cmd-nav__item:last-child { border-bottom: 0; }

.cmd-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  transition: color 0.18s var(--ease);
}

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

.cmd-nav__index {
  min-width: 2.2ch;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cmd-nav__label { line-height: 1.3; }

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

.cmd-nav__link[aria-current="page"] .cmd-nav__index { color: var(--ochre); }

.cmd-nav__link[aria-current="page"] .cmd-nav__label::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-radius: 50%;
  background-color: var(--cyan);
  vertical-align: middle;
}

/* 页头行动键 */
.cmd-cta { display: none; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background-color: var(--ink-900);
  background-image: linear-gradient(180deg, rgba(13, 27, 46, 0.94), var(--ink-900) 72%);
  color: var(--text);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(58% 52% at 8% 0%, rgba(226, 118, 58, 0.14), transparent 70%),
    radial-gradient(52% 60% at 94% 8%, rgba(77, 240, 194, 0.10), transparent 72%);
}

.footer-inner {
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(34px, 6vw, 64px) var(--gutter) clamp(24px, 4vw, 40px);
  display: grid;
  gap: clamp(26px, 4vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 40ch;
}

.brand--footer { padding: 0; }

.brand--footer .brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.brand--footer .brand__name {
  font-size: 20px;
  letter-spacing: 0.03em;
}

.brand--footer .brand__tag { letter-spacing: 0.14em; }

.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(234, 242, 248, 0.8);
  margin: 0;
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer-col__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer-link {
  display: inline-block;
  padding: 2px 0;
  color: rgba(234, 242, 248, 0.88);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(77, 240, 194, 0.5);
}

.footer-list--plain { gap: 11px; }

.footer-list--plain li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}

.footer-k {
  flex: 0 0 auto;
  min-width: 2.6em;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer-v {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-base {
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid rgba(43, 64, 88, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-copy { margin: 0; }
.footer-note { margin: 0; color: rgba(143, 166, 186, 0.85); }

/* ---------- 10. 响应式 ---------- */
@media (min-width: 560px) {
  .cmd-cta {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-toggle { margin-left: 0; }
}

@media (min-width: 700px) {
  .grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .footer-brand { grid-column: 1 / -1; max-width: 52ch; }
}

@media (min-width: 900px) {
  .grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

  .grid--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

  .grid--reverse > *:first-child { order: 2; }
}

@media (min-width: 1000px) {
  :root { --header-h: 74px; }

  .header-inner { min-height: var(--header-h); gap: 18px; }

  .nav-toggle { display: none; }

  .cmd-cta { margin-left: 0; }

  .cmd-nav {
    position: static;
    display: block;
    order: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    margin-left: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    animation: none;
  }

  .cmd-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
  }

  .cmd-nav__item { border-bottom: 0; }

  .cmd-nav__link {
    position: relative;
    gap: 7px;
    padding: 9px 12px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
  }

  .cmd-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--cyan);
    transition: left 0.22s var(--ease), right 0.22s var(--ease);
  }

  .cmd-nav__link:hover::after,
  .cmd-nav__link[aria-current="page"]::after {
    left: 14px;
    right: 14px;
  }

  .cmd-nav__link[aria-current="page"] {
    background-color: rgba(21, 42, 66, 0.85);
    color: var(--cyan);
  }

  .cmd-nav__link[aria-current="page"] .cmd-nav__label::after { display: none; }

  .cmd-nav__index { font-size: 10px; }

  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; }

  .footer-brand { grid-column: auto; }
}

@media (min-width: 1180px) {
  .cmd-status { display: inline-flex; }
}
