/* ==========================================================================
   乐竞体育 · 全站共享样式  /assets/site.css
   夜间球场数据指挥中心：深墨绿底 + 荧光青数据线 + 高亮橙比分
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(112px, 16vw, 168px);
}

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

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

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

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

button { background: none; border: 0; }

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

[hidden] { display: none !important; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色板 */
  --bg-deep: #061412;
  --bg-section: #0A1F1B;
  --bg-card: #10352F;
  --cyan: #2FF3D0;
  --cyan-soft: #A8FFF0;
  --orange: #FF7A1A;
  --orange-soft: #FFB27A;
  --amber: #FFD166;
  --slate: #4A5D73;
  --slate-soft: #9FB3C8;
  --wine: #6E1F35;
  --indigo: #2E2A6B;
  --fog: #EAF7F2;

  /* 线条 */
  --line: rgba(159, 179, 200, 0.22);
  --line-soft: rgba(159, 179, 200, 0.12);
  --cyan-line: rgba(47, 243, 208, 0.32);

  /* 字体栈（全部本地字体，无远程加载） */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-cond: "Barlow Condensed", "Oswald", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", "Courier New", monospace;

  /* 形状与节奏 */
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* 阴影与缓动 */
  --shadow-soft: 0 22px 60px -34px rgba(0, 0, 0, 0.92);
  --glow-cyan: 0 0 0 1px rgba(47, 243, 208, 0.3), 0 0 34px -14px rgba(47, 243, 208, 0.7);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(120% 78% at 84% -8%, rgba(47, 243, 208, 0.13), transparent 58%),
    radial-gradient(88% 58% at -6% 4%, rgba(110, 31, 53, 0.24), transparent 62%),
    radial-gradient(70% 46% at 50% 108%, rgba(46, 42, 107, 0.28), transparent 64%);
  background-repeat: no-repeat;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body { font-size: 17px; line-height: 1.8; }
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--fog);
}

h1 { font-size: clamp(2rem, 5.6vw, 4.1rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.15rem); letter-spacing: 0.01em; }

p { color: var(--fog); }
strong { font-weight: 700; }
small { font-size: 0.8125rem; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--cyan-soft); }

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

::selection {
  background: rgba(47, 243, 208, 0.32);
  color: var(--fog);
}

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  padding: 0.65em 1.2em;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--bg-deep);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--bg-deep);
  outline-offset: 2px;
}

/* ---------- 5. 头部外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(6, 20, 18, 0.98), rgba(6, 20, 18, 0.9));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.header-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--fog);
}
.brand:hover { color: var(--fog); }

.brand__mark {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(148deg, var(--cyan) 0%, #13786D 58%, var(--bg-card) 100%);
  box-shadow: 0 0 0 1px rgba(47, 243, 208, 0.42), 0 12px 24px -16px rgba(47, 243, 208, 0.95);
}

.brand__mark-core {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--bg-deep);
  box-shadow: 0 0 0 3px rgba(6, 20, 18, 0.32);
  transform: rotate(45deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--fog);
  white-space: nowrap;
}

.brand__line {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--slate-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 版本提示 */
.header-utility {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.36rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(16, 53, 47, 0.55);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--slate-soft);
}

.header-utility__tag {
  flex: none;
  color: var(--amber);
  font-weight: 600;
}

.header-utility__text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右侧操作 */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- 6. 按钮与胶囊按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.85em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--compact {
  padding: 0.62em 1.15em;
  font-size: 0.875rem;
}

.btn--primary {
  background: var(--orange);
  color: var(--bg-deep);
  box-shadow: 0 14px 28px -18px rgba(255, 122, 26, 0.95);
}
.btn--primary:hover {
  background: #FF8C3D;
  color: var(--bg-deep);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--cyan-line);
  color: var(--cyan-soft);
}
.btn--ghost:hover {
  background: rgba(47, 243, 208, 0.1);
  color: var(--cyan-soft);
}

.btn--quiet {
  background: rgba(159, 179, 200, 0.1);
  border-color: var(--line);
  color: var(--fog);
}
.btn--quiet:hover {
  background: rgba(159, 179, 200, 0.18);
  color: var(--fog);
}

/* ---------- 7. 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: rgba(16, 53, 47, 0.7);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover {
  background: rgba(47, 243, 208, 0.12);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---------- 8. 命令栏导航 ---------- */
.nav-command {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(16, 53, 47, 0.94), rgba(10, 31, 27, 0.94));
}

.nav-command__shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0.45rem var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-width: 0;
}

.nav-command__hint {
  flex: none;
  padding-right: clamp(10px, 2vw, 20px);
  border-right: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--slate);
  white-space: nowrap;
}

.nav-command__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.nav-command__item { display: flex; }

.nav-command__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 0.95em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-soft);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-command__link:hover {
  color: var(--fog);
  background: rgba(47, 243, 208, 0.09);
  border-color: var(--cyan-line);
}

.nav-command__index {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.nav-command__link[aria-current="page"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: 0 0 28px -12px rgba(47, 243, 208, 0.95);
}
.nav-command__link[aria-current="page"]:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  color: var(--bg-deep);
}
.nav-command__link[aria-current="page"] .nav-command__index {
  color: rgba(6, 20, 18, 0.62);
}

/* ---------- 9. 滚动进度 ---------- */
.scroll-progress {
  height: 2px;
  background: rgba(47, 243, 208, 0.12);
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 12px rgba(47, 243, 208, 0.7);
}

/* ---------- 10. 正文容器 ---------- */
.main-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(48px, 7vw, 96px);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--slate-soft);
}
.breadcrumb__link { color: var(--slate-soft); }
.breadcrumb__link:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--slate); }
.breadcrumb__current { color: var(--cyan-soft); }

/* ---------- 12. 网格与间距工具 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

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

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
}
.stack--tight { gap: 0.5rem; }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- 13. 章节色带与标题 ---------- */
.section-band {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, var(--bg-section), rgba(10, 31, 27, 0.55));
  overflow: hidden;
}
.section-band--wine { background: linear-gradient(152deg, rgba(110, 31, 53, 0.88), rgba(10, 31, 27, 0.92)); }
.section-band--indigo { background: linear-gradient(152deg, rgba(46, 42, 107, 0.9), rgba(10, 31, 27, 0.92)); }
.section-band--slate { background: linear-gradient(152deg, rgba(74, 93, 115, 0.42), rgba(10, 31, 27, 0.94)); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(14px, 2vw, 26px);
}
.section-head__title { margin: 0; }
.section-head__aside {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--slate-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow__num { color: var(--orange); }

/* ---------- 14. 面板与卡片 ---------- */
.panel {
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(16, 53, 47, 0.92), rgba(10, 31, 27, 0.92));
  box-shadow: var(--shadow-soft);
}
.panel--flat { box-shadow: none; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(16, 53, 47, 0.95), rgba(10, 31, 27, 0.86));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-line);
  box-shadow: 0 26px 52px -36px rgba(47, 243, 208, 0.85);
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--slate-soft);
}
.card__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-soft);
}

/* ---------- 15. 标签与数据徽章 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.8em;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: rgba(47, 243, 208, 0.12);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.pill--orange {
  background: rgba(255, 122, 26, 0.14);
  border-color: rgba(255, 122, 26, 0.4);
  color: var(--orange-soft);
}
.pill--amber {
  background: rgba(255, 209, 102, 0.14);
  border-color: rgba(255, 209, 102, 0.4);
  color: var(--amber);
}
.pill--slate {
  background: rgba(74, 93, 115, 0.28);
  border-color: rgba(159, 179, 200, 0.3);
  color: var(--slate-soft);
}

.data-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(74, 93, 115, 0.22);
}
.data-chip__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.data-chip__value {
  font-family: var(--font-cond);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}
.data-chip__value--score { color: var(--orange); }

/* ---------- 16. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: rgba(6, 20, 18, 0.62);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--slate-soft);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.filter-btn:hover {
  color: var(--fog);
  background: rgba(47, 243, 208, 0.1);
}
.filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg-deep);
  font-weight: 600;
}
.filter-btn__count {
  margin-left: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  opacity: 0.75;
}
.filter-btn[aria-pressed="true"] .filter-btn__count {
  color: rgba(6, 20, 18, 0.62);
  opacity: 1;
}

/* ---------- 17. 时间线 ---------- */
.timeline {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}
.timeline__item {
  position: relative;
  padding-left: 1.75rem;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow: 0 0 12px -2px rgba(47, 243, 208, 0.9);
}
.timeline__item::after {
  content: "";
  position: absolute;
  left: calc(0.3rem + 4px);
  top: 1.5rem;
  bottom: calc(-1 * clamp(14px, 2vw, 22px));
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(47, 243, 208, 0.45), rgba(47, 243, 208, 0.08));
}
.timeline__item:last-child::after { display: none; }

.timeline__time {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--slate-soft);
}

/* ---------- 18. 密集索引行 ---------- */
.index-list { display: grid; gap: 0.5rem; }

.index-list__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(16, 53, 47, 0.62);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.index-list__row:hover {
  border-color: var(--cyan-line);
  background: rgba(16, 53, 47, 0.9);
  transform: translateX(2px);
}
.index-list__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.index-list__label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--fog);
}
.index-list__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--slate-soft);
}

/* ---------- 19. 数据表格 ---------- */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(74, 93, 115, 0.16);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  min-width: 480px;
  font-size: 0.875rem;
}
.data-table th {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate-soft);
  white-space: nowrap;
}
.data-table td {
  padding: 0.62rem 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fog);
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(47, 243, 208, 0.05); }

/* ---------- 20. 图片容器 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background:
    radial-gradient(118% 90% at 72% 0%, rgba(47, 243, 208, 0.18), transparent 58%),
    linear-gradient(158deg, #10352F 0%, #061412 72%);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--phone { aspect-ratio: 9 / 17; border-radius: 26px; }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__glow {
  position: absolute;
  inset: auto -20% -42% -20%;
  height: 70%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 100%, rgba(47, 243, 208, 0.35), transparent 72%);
}
.media-frame__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
}
.media-frame__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: rgba(159, 179, 200, 0.62);
}

/* ---------- 21. 色带 ---------- */
.color-band {
  height: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--wine), var(--indigo) 42%, var(--cyan) 78%, var(--orange));
}
.color-band--thin { height: 3px; opacity: 0.85; }

/* ---------- 22. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 90px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 31, 27, 0.45), var(--bg-section) 42%, #05100F 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--wine) 44%, var(--indigo) 76%, var(--orange));
  opacity: 0.92;
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(20px, 3vw, 44px);
}

/* 页脚品牌列 */
.footer-brand { min-width: 0; }

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--fog);
}

.footer-brand__summary {
  margin-top: 0.6rem;
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate-soft);
}

.footer-brand__version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-pill {
  padding: 0.25em 0.7em;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: rgba(47, 243, 208, 0.14);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.footer-brand__note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}

/* 页脚栏目通用标题 */
.footer-col__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* 联系列 */
.footer-contact { min-width: 0; }

.footer-contact__list {
  display: grid;
  gap: 0.55rem;
}

.footer-contact__item {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer-contact__value {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 0.9rem;
  max-width: 32ch;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--slate-soft);
}

/* 站内链接列 */
.footer-links { min-width: 0; }

.footer-links__list {
  display: grid;
  gap: 0.5rem;
}

.footer-links__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.9375rem;
  color: var(--slate-soft);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-links__link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0.5;
  transition: opacity 0.18s var(--ease);
}
.footer-links__link:hover {
  color: var(--cyan-soft);
  transform: translateX(3px);
}
.footer-links__link:hover::before { opacity: 1; }

/* 底部命令栏 */
.footer-bar {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1rem var(--gutter) 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}
.footer-bar__icp { color: var(--slate); }
.footer-bar__copy { color: var(--slate-soft); }

/* ---------- 23. 工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-muted { color: var(--slate-soft); }
.text-mono { font-family: var(--font-mono); letter-spacing: 0.06em; }
.text-cond { font-family: var(--font-cond); letter-spacing: 0.02em; }
.mt-lg { margin-top: clamp(24px, 4vw, 48px); }

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1024px) {
  .header-utility { display: none; }
  .header-shell { grid-template-columns: auto minmax(0, 1fr) auto; }
}

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

  .footer-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 0.65rem;
  }
  .header-utility { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-command {
    max-height: 0;
    overflow: hidden;
    border-top-color: transparent;
    transition: max-height 0.35s var(--ease), border-color 0.35s var(--ease);
  }
  .nav-command[data-open],
  .site-header[data-open] .nav-command {
    max-height: min(34rem, 72vh);
    overflow-y: auto;
    border-top-color: var(--line-soft);
  }

  .nav-command__shell {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-block: 0.8rem 1.1rem;
  }
  .nav-command__hint {
    padding-right: 0;
    padding-bottom: 0.4rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.625rem;
    letter-spacing: 0.16em;
  }
  .nav-command__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .nav-command__item { display: block; }
  .nav-command__link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.72em 1rem;
    font-size: 0.9375rem;
    background: rgba(6, 20, 18, 0.42);
    border-color: var(--line-soft);
  }

  .site-footer::before { height: 2px; }
  .footer-shell { padding-top: clamp(24px, 6vw, 36px); }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-bottom: 1.9rem;
  }
}

@media (max-width: 620px) {
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .span-4,
  .span-6,
  .span-8,
  .span-12 { grid-column: 1 / -1; }

  .footer-shell { grid-template-columns: minmax(0, 1fr); }
  .footer-brand__summary { max-width: none; }
  .footer-contact__note { max-width: none; }
}

@media (max-width: 460px) {
  .brand__mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand__name { font-size: 0.95rem; }
  .brand__line { display: none; }
  .btn--compact { padding: 0.6em 0.9em; font-size: 0.8125rem; }
  .nav-toggle { padding: 0.5rem 0.7rem; }
}

/* ---------- 25. 降低动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .index-list__row:hover,
  .footer-links__link:hover,
  .btn--primary:hover { transform: none; }
}
