/* ==========================================================
   365体育赛 · 共享站点样式 /assets/site.css
   夜间赛事控制室 + 体育编辑部：深墨绿底、荧光青信号、赛道橙数字
   ========================================================== */

:root {
  /* 色彩体系 */
  --ink-900: #061A15;
  --ink-800: #0B2A21;
  --ink-700: #123A2E;
  --line: #245043;
  --cyan: #52FFE8;
  --cyan-dim: #21C9B8;
  --orange: #FF7A1A;
  --red: #FF4057;
  --paper: #EAF8F2;
  --muted: #8FB6A8;

  /* 排版 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Noto Sans SC",
    "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas,
    "Courier New", monospace;

  /* 尺度 */
  --shell: 1240px;
  --header-h: 76px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { 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;
}

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

table { border-collapse: collapse; }

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

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

/* ---------- 基础排版 ---------- */
body {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 520px at 84% -12%, rgba(82, 255, 232, 0.10), transparent 70%),
    radial-gradient(720px 480px at 6% 2%, rgba(255, 122, 26, 0.07), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--paper);
  font-stretch: 95%;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.28;
}

h4 {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.35;
}

p { line-height: 1.8; }

strong { font-weight: 800; color: var(--paper); }

code, kbd, samp, time, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

::selection {
  background: var(--cyan);
  color: #04211B;
}

/* ---------- 工具类 ---------- */
.sr-only {
  position: absolute;
  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;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: #04211B;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}

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

/* ==========================================================
   头部：透明叠加 → 实色阅读状态
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(6, 26, 21, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 22px 46px -34px #000000;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "brand meter nav";
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  width: 100%;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: clamp(10px, 1.4vw, 16px) clamp(16px, 3vw, 40px);
}

/* 品牌 */
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: var(--radius-sm);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--ink-700), #08211A);
  box-shadow: inset 0 0 0 1px rgba(82, 255, 232, 0.12);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18);
}

.brand-mark-core {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

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

.brand-name {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

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

/* 版本信号条 */
.header-meter {
  grid-area: meter;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.meter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: meter-pulse 2.6s ease-out infinite;
}

@keyframes meter-pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 255, 232, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(82, 255, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 255, 232, 0); }
}

.meter-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan-dim);
}

.meter-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
}

.meter-bars i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--line);
}

.meter-bars i:nth-child(1) { height: 5px; background: var(--cyan-dim); }
.meter-bars i:nth-child(2) { height: 8px; background: var(--cyan-dim); }
.meter-bars i:nth-child(3) { height: 11px; background: var(--cyan); }
.meter-bars i:nth-child(4) { height: 14px; background: var(--orange); }

/* 主导航 */
.primary-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.6vw, 24px);
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0px, 0.7vw, 8px);
}

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan-dim);
  opacity: 0.65;
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(82, 255, 232, 0.08);
  border-color: rgba(82, 255, 232, 0.22);
}

.nav-link[aria-current="page"] {
  color: #04211B;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 22px -16px rgba(82, 255, 232, 0.95);
}

.nav-link[aria-current="page"] .nav-idx {
  color: rgba(4, 33, 27, 0.6);
  opacity: 1;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn--signal {
  background: var(--cyan);
  color: #04211B;
  box-shadow: 0 12px 26px -16px rgba(82, 255, 232, 0.95);
}

.btn--signal:hover {
  background: #7CFFEE;
  box-shadow: 0 16px 32px -18px rgba(82, 255, 232, 1);
}

.btn--primary {
  background: var(--orange);
  color: #1B0B02;
  box-shadow: 0 12px 26px -18px rgba(255, 122, 26, 0.95);
}

.btn--primary:hover { background: #FF9243; }

.btn--ghost {
  background: rgba(18, 58, 46, 0.55);
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--cyan-dim);
  background: rgba(82, 255, 232, 0.10);
  color: var(--paper);
}

.header-cta { flex: none; }

/* 移动导航按钮 */
.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(11, 42, 33, 0.88);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* 阅读进度信号线 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(36, 80, 67, 0.55);
  overflow: hidden;
}

.scroll-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan) 70%, var(--orange));
  transition: width 0.12s linear;
}

/* ==========================================================
   容器 / 版式基础
   ========================================================== */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.section--alt { background: var(--ink-800); }

.section--deep { background: #04120E; }

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

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

.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-12 { grid-column: span 12; }

/* 面板 / Bento 块 */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, rgba(18, 58, 46, 0.94), rgba(11, 42, 33, 0.94));
}

.panel--flat {
  background: rgba(11, 42, 33, 0.62);
  border-radius: var(--radius-md);
}

.panel--signal {
  border-color: rgba(82, 255, 232, 0.45);
  box-shadow: 0 0 0 1px rgba(82, 255, 232, 0.12),
    0 34px 64px -54px rgba(82, 255, 232, 0.85);
}

.panel--framed::before,
.panel--framed::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  opacity: 0.55;
  pointer-events: none;
}

.panel--framed::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 5px 0 0 0;
}

.panel--framed::after {
  right: 10px;
  bottom: 10px;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 5px 0;
}

/* 标签与眉标 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan-dim);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(36, 80, 67, 0.35);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.tag--signal {
  color: var(--cyan);
  border-color: rgba(82, 255, 232, 0.42);
  background: rgba(82, 255, 232, 0.10);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 122, 26, 0.42);
  background: rgba(255, 122, 26, 0.10);
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

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

.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* 正文长文容器 */
.prose {
  max-width: 72ch;
  color: #CFE5DC;
  font-size: 17px;
  line-height: 1.8;
}

.prose > * + * { margin-top: 1em; }

.prose h2 {
  margin-top: 1.9em;
  margin-bottom: 0.6em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.5em;
  padding-left: 1.15em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li::marker { color: var(--cyan-dim); }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: #9BFFF3; }

.prose blockquote {
  padding: 14px 20px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(18, 58, 46, 0.55);
  color: var(--paper);
}

.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(36, 80, 67, 0.6);
  color: var(--cyan);
  font-size: 0.92em;
}

/* 图片容器基础规则（不带图，供页面阶段放入 img） */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(82, 255, 232, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink-700), #08211A);
  aspect-ratio: 16 / 10;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.media-frame:hover img {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(82, 255, 232, 0.22);
  border-radius: calc(var(--radius-md) - 8px);
  pointer-events: none;
}

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

.media-frame--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 标签页组件 */
[data-tabs] { --tab-accent: var(--cyan); }

.tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(11, 42, 33, 0.9);
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.tab:hover { color: var(--paper); background: rgba(82, 255, 232, 0.10); }

.tab[aria-selected="true"] {
  background: var(--tab-accent);
  color: #04211B;
  box-shadow: 0 10px 22px -16px var(--tab-accent);
}

.tabs-panel {
  margin-top: clamp(16px, 2vw, 26px);
  animation: tab-in 0.35s var(--ease);
}

.tabs-panel[hidden] { display: none; }

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

/* 显现动画（JS 可用时才隐藏） */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ==========================================================
   页脚
   ========================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 42, 33, 0.92), var(--ink-900) 72%);
  color: var(--muted);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(82, 255, 232, 0.7) 30%,
    rgba(255, 122, 26, 0.55) 65%,
    transparent
  );
}

.footer-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 40px) clamp(24px, 3vw, 36px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.brand--footer .brand-mark { width: 40px; height: 40px; border-radius: 13px; }
.brand--footer .brand-name { font-size: 18px; }

.footer-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-dim);
}

.footer-intro {
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.8;
}

.footer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 2px;
}

.legend-tick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(18, 58, 46, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legend-tick::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.legend-tick:nth-child(2)::before { background: var(--orange); }
.legend-tick:nth-child(3)::before { background: var(--red); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col-title {
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--line);
  transition: width 0.2s var(--ease), background 0.2s var(--ease);
}

.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { width: 17px; background: var(--cyan); }

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-list {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.contact-item {
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 58, 46, 0.45);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan-dim);
}

.contact-value {
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.6;
  word-break: break-word;
}

.contact-note {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--muted);
}

.footer-cta {
  justify-self: start;
  margin-top: 2px;
  font-size: 13.5px;
  padding: 10px 18px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 16px clamp(16px, 3vw, 40px) 30px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-copy { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.legal-link {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

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

.footer-icp { margin: 0; color: var(--muted); }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1180px) {
  .header-meter { display: none; }

  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav";
  }

  .nav-link { font-size: 14px; padding: 7px 8px; }
  .nav-idx { display: none; }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle";
    gap: 12px;
  }

  .nav-toggle { display: inline-flex; }

  .brand-tag { display: none; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    justify-items: stretch;
    gap: 14px;
    max-height: calc(100vh - var(--header-h));
    padding: 16px clamp(16px, 4vw, 28px) 24px;
    overflow-y: auto;
    background: rgba(6, 26, 21, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 32px 54px -34px #000000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 12px 15px;
    border-color: var(--line);
    border-radius: 14px;
    background: rgba(18, 58, 46, 0.42);
    font-size: 16px;
  }

  .nav-idx { display: inline; font-size: 10.5px; }

  .header-cta { width: 100%; }

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

  .footer-brand { grid-column: 1 / -1; }
}

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

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

@media (max-width: 720px) {
  body { font-size: 16px; }

  .footer-frame {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-cta { width: 100%; }

  .tabs-bar { width: 100%; border-radius: var(--radius-md); }
  .tab { flex: 1 1 auto; }
}

@media (max-width: 460px) {
  .brand-name { font-size: 17px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .nav-toggle-text { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   动效降级
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .scroll-meter-fill { transition: none; }
  .media-frame:hover img { transform: none; }
  .btn:hover { transform: none; }
}
