/* =========================================================
   乐鱼赛场 · 共享 Site Kit
   夜深蓝赛场控制台 / 目录型内容地图 / 锐利直角与刻度网格
   ========================================================= */

:root {
  --ink: #04121F;
  --ink-2: #030D17;
  --panel: #0A2236;
  --panel-2: #123A52;
  --cyan: #2FE3D0;
  --cyan-glow: #7FF3E8;
  --coral: #FF6B4A;
  --lime: #C8FF3D;
  --mist: #EAF6F7;
  --steel: #7E97A6;
  --line: #1E5A6B;
  --line-soft: rgba(30, 90, 107, 0.45);
  --w: 1280px;
  --gutter: clamp(16px, 3vw, 24px);
  --bar: 56px;
  --radius: 2px;
  --font-head: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", Arial, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.92);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(30, 90, 107, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 90, 107, 0.10) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  background-position: center top;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { margin: 0; padding: 0; }

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

button { cursor: pointer; }

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

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

/* ---------- 中文排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  color: var(--mist);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: 0; font-weight: 800; }

p { margin: 0 0 1em; }

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

a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.prose { color: #C6D8DE; }
.prose p { max-width: 68ch; }
.prose ul, .prose ol { max-width: 68ch; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-220%);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  padding: 13px 18px;
  border-radius: var(--radius);
  transition: transform 0.16s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--mist);
  outline-offset: 2px;
  text-decoration: none;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: clamp(48px, 7vw, 96px); }
.sec--tight { padding-block: clamp(28px, 4vw, 48px); }

.sec__head {
  max-width: 820px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.sec__head h2 { margin: 10px 0 12px; }
.sec__head .lede { color: #B9CDD6; }

/* ---------- 展签式标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 4px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  flex: none;
}

.eyebrow--coral { color: var(--coral); }
.eyebrow--coral::before { background: var(--coral); }

.lede {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.7;
  color: #B9CDD6;
  max-width: 68ch;
  margin: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  border-color: var(--cyan);
  color: var(--cyan-glow);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #1B0703;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #FF8668;
  border-color: #FF8668;
  color: #1B0703;
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(47, 227, 208, 0.1);
  color: var(--cyan-glow);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

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

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

.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--cyan-glow); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 刻度装饰 ---------- */
.tickline {
  height: 14px;
  border-bottom: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(47, 227, 208, 0.65) 0 1px, transparent 1px 96px);
  background-repeat: repeat-x;
  background-size: 100% 7px, 100% 14px;
  background-position: left bottom, left bottom;
}

/* ---------- 面板 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 28px);
}

.panel--flat { background: var(--panel-2); }

/* ---------- 12 栏网格 ---------- */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

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

/* ---------- 图片容器 ---------- */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.frame > img,
.frame > picture,
.frame > video,
.frame__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame__media {
  position: absolute;
  inset: 0;
  filter: saturate(0.92) contrast(1.06) brightness(0.86);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(4, 18, 31, 0) 32%, rgba(4, 18, 31, 0.88) 100%),
    repeating-linear-gradient(180deg, rgba(4, 18, 31, 0.22) 0 1px, transparent 1px 4px);
}

.frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan-glow);
}

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

.frame--slant {
  clip-path: polygon(0 0, 100% 4.5%, 100% 100%, 0 95.5%);
}

/* ---------- 分段切换（标签页） ---------- */
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 1px solid var(--line);
}

.seg__btn {
  position: relative;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.seg__btn:hover { color: var(--mist); }

.seg__btn[aria-selected="true"] {
  color: var(--mist);
  background: var(--panel);
  border-color: var(--line);
}

.seg__btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
}

.seg__panel { padding-top: 20px; }
.seg__panel[hidden] { display: none; }

/* ---------- 手风琴 ---------- */
.acc { border-top: 1px solid var(--line); }

.acc__item { border-bottom: 1px solid var(--line); }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: 0;
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: left;
}

.acc__btn::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--cyan);
  flex: none;
}

.acc__btn[aria-expanded="true"]::after { content: "–"; }

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

.acc__panel {
  padding: 0 4px 20px;
  color: var(--steel);
  max-width: 68ch;
}

.acc__panel[hidden] { display: none; }

/* ---------- 评分条 ---------- */
.meter { display: grid; gap: 7px; }

.meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.meter__track {
  position: relative;
  height: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--cyan-glow));
  transition: width 0.6s var(--ease);
}

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

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

.chip[aria-pressed="true"] {
  background: var(--panel-2);
  border-color: var(--cyan);
  color: var(--mist);
}

.chip[aria-pressed="true"]::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--cyan);
}

/* ---------- 直播状态 ---------- */
.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200, 255, 61, 0.7);
  animation: statusBlip 2.6s var(--ease) infinite;
}

.status-text { color: var(--mist); }

@keyframes statusBlip {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

/* =========================================================
   命令栏页头
   ========================================================= */
.cmdbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(4, 18, 31, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.cmdbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--bar);
  transition: height 0.22s var(--ease);
}

.cmdbar__brand {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  color: var(--mist);
  text-decoration: none;
  line-height: 1;
}

.cmdbar__brand:hover { text-decoration: none; }

.brand-mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-stretch: condensed;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--mist);
  transition: font-size 0.22s var(--ease);
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--steel);
}

.cmdbar__nav {
  order: 2;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.cmdbar__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmdbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--steel);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.cmdbar__link::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.cmdbar__link:hover,
.cmdbar__link:focus-visible {
  color: var(--mist);
  background: var(--panel);
  text-decoration: none;
}

.cmdbar__link:hover::before { background: var(--cyan); box-shadow: none; }

.cmdbar__link[aria-current="page"] {
  color: var(--mist);
  background: var(--panel-2);
  border-color: var(--line);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.cmdbar__link[aria-current="page"]::before {
  background: var(--cyan);
  box-shadow: none;
}

.cmdbar__meta {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(10, 34, 54, 0.72);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cmdbar__contact {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--cyan);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

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

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: miter;
  stroke-linecap: square;
}

.cmdbar__navfoot { display: none; }

.cmdbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(30, 90, 107, 0.34);
}

.cmdbar__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-glow));
  transition: width 0.1s linear;
}

/* 压缩态 */
.cmdbar[data-scrolled="true"] .cmdbar__inner { height: 44px; }
.cmdbar[data-scrolled="true"] .brand-mark { font-size: 17px; }
.cmdbar[data-scrolled="true"] .brand-sub { opacity: 0; }
.cmdbar[data-scrolled="true"] .cmdbar__link { padding: 6px 10px; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  order: 5;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  color: var(--cyan-glow);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================
   展签式页脚
   ========================================================= */
.sitefoot {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.sitefoot__tick {
  height: 16px;
  border-bottom: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(47, 227, 208, 0.7) 0 1px, transparent 1px 96px);
  background-repeat: repeat-x;
  background-size: 100% 7px, 100% 14px;
  background-position: left bottom, left bottom;
}

.sitefoot__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 40px);
}

.sitefoot__col { min-width: 0; }

.sitefoot__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.sitefoot__title::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--cyan);
}

.sitefoot__brand {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-stretch: condensed;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--mist);
}

.sitefoot__brand-sub {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.sitefoot__about {
  margin: 0 0 16px;
  max-width: 32ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--steel);
}

.sitefoot__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
  opacity: 0.82;
}

.sitefoot__list {
  list-style: none;
  display: grid;
  gap: 9px;
}

.sitefoot__item { min-width: 0; }

.sitefoot__link {
  display: inline-block;
  color: #B9CDD6;
  font-size: 14.5px;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

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

.sitefoot__rows {
  display: grid;
  gap: 14px;
}

.sitefoot__row {
  display: grid;
  gap: 2px;
}

.sitefoot__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.sitefoot__value {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.sitefoot__value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--cyan-glow);
}

.sitefoot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line);
}

.sitefoot__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--steel);
}

.sitefoot__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.sitefoot__legal-link {
  color: var(--steel);
  font-size: 12px;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.sitefoot__legal-link:hover,
.sitefoot__legal-link:focus-visible {
  color: var(--cyan-glow);
  border-bottom-color: var(--cyan);
}

/* =========================================================
   显现
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .cmdbar__link { padding: 8px 8px; font-size: 12.5px; }
  .cmdbar__meta { font-size: 11px; padding: 6px 8px; }
  .brand-sub { display: none; }
}

@media (max-width: 900px) {
  .cmdbar__inner { gap: 10px; }
  .cmdbar__brand { padding-right: 0; border-right: 0; }
  .cmdbar__meta { display: none; }
  .cmdbar__contact { order: 4; margin-left: auto; }
  .nav-toggle { display: inline-flex; order: 5; margin-left: 0; }

  .cmdbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--bar));
    overflow-y: auto;
  }

  .cmdbar__nav[data-open] {
    display: block;
    animation: navDrop 0.2s var(--ease);
  }

  .cmdbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .cmdbar__item { width: 100%; }

  .cmdbar__link {
    display: flex;
    width: 100%;
    padding: 14px 6px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .cmdbar__navfoot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--steel);
  }

  .sitefoot__inner { grid-template-columns: 1fr 1fr; }

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

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .sitefoot__inner { grid-template-columns: 1fr; gap: 30px; }
  .sitefoot__legal { flex-direction: column; align-items: flex-start; }
  .seg__btn { padding: 11px 12px; font-size: 12px; }
  .brand-mark { font-size: 17px; }
}

/* =========================================================
   降低动态
   ========================================================= */
@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;
  }

  .status-dot { animation: none; }
  .btn:hover { transform: none; }
}
