/* ============ 火狐体育赛事 · 共享外壳 site.css ============ */

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

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

body, h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:root {
  --fx-orange: #FF4D1C;
  --fx-ember: #FF7A3D;
  --fx-deep: #C92F0A;
  --fx-coal: #121212;
  --fx-ink: #080808;
  --fx-cool: #C7CBD1;
  --fx-mid: #7D838C;
  --fx-paper: #FFF6EE;
  --fx-mint: #36F2A6;
  --fx-mint-deep: #0E6B4E;
  --fx-fog: #2A2D31;
  --fx-amber: #FFB020;

  --fx-line: rgba(199, 203, 209, 0.18);
  --fx-line-soft: rgba(199, 203, 209, 0.10);

  --fx-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --fx-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, sans-serif;
  --fx-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fx-fs-xs: 12px;
  --fx-fs-sm: 14px;
  --fx-fs-md: 16px;
  --fx-fs-lg: clamp(18px, 1.6vw, 20px);
  --fx-fs-xl: clamp(22px, 2.6vw, 28px);
  --fx-fs-2xl: clamp(28px, 4.2vw, 40px);
  --fx-fs-3xl: clamp(38px, 6.4vw, 64px);
  --fx-fs-4xl: clamp(52px, 11vw, 96px);

  --fx-shell: 1240px;
  --fx-radius: 2px;
  --fx-ease: 0.2s ease;
}

body {
  font-family: var(--fx-font-body);
  font-size: var(--fx-fs-md);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--fx-cool);
  background-color: var(--fx-coal);
  background-image:
    radial-gradient(1100px 460px at 88% -12%, rgba(255, 77, 28, 0.13), transparent 62%),
    radial-gradient(820px 400px at -8% 6%, rgba(54, 242, 166, 0.055), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- 布局工具 ---------- */
.fx-shell {
  width: 100%;
  max-width: var(--fx-shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.fx-skip {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  font-size: var(--fx-fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #150a05;
  background: var(--fx-mint);
  border: 1px solid var(--fx-ink);
  transform: translateY(-180%);
  transition: transform var(--fx-ease);
}
.fx-skip:focus { transform: translateY(0); }

/* ---------- 排版 ---------- */
.fx-display {
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-4xl);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--fx-paper);
}
.fx-h2 {
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-2xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fx-paper);
}
.fx-h3 {
  font-size: var(--fx-fs-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fx-paper);
}
.fx-lead {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.72;
  color: var(--fx-cool);
}
.fx-label {
  font-size: var(--fx-fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-mid);
}
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fx-font-mono);
  font-size: var(--fx-fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fx-orange);
}
.fx-eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}
.fx-num {
  font-family: var(--fx-font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.fx-prose {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--fx-cool);
}
.fx-prose p + p { margin-top: 1.05em; }
.fx-prose h2, .fx-prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; color: var(--fx-paper); }
.fx-prose strong { color: var(--fx-paper); font-weight: 700; }
.fx-prose a {
  color: var(--fx-ember);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.fx-prose a:hover { color: var(--fx-mint); }
.fx-prose ul, .fx-prose ol { margin-top: 1em; padding-left: 1.15em; list-style: disc; }
.fx-prose ol { list-style: decimal; }
.fx-prose li + li { margin-top: 0.42em; }

/* ---------- 按钮 ---------- */
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 11px 20px;
  font-size: var(--fx-fs-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: var(--fx-radius);
  transition: background-color var(--fx-ease), border-color var(--fx-ease), color var(--fx-ease), transform var(--fx-ease);
}
.fx-btn--primary {
  color: #150a05;
  background: var(--fx-orange);
  box-shadow: 0 0 0 1px rgba(255, 77, 28, 0.4), 0 14px 34px -18px rgba(255, 77, 28, 0.9);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.fx-btn--primary:hover { background: var(--fx-ember); }
.fx-btn--primary:active { background: var(--fx-deep); color: var(--fx-paper); }
.fx-btn--ghost {
  color: var(--fx-paper);
  background: rgba(255, 246, 238, 0.04);
  border-color: rgba(199, 203, 209, 0.28);
}
.fx-btn--ghost:hover { color: var(--fx-orange); border-color: var(--fx-orange); background: rgba(255, 77, 28, 0.08); }

/* ---------- 章节与分隔 ---------- */
.fx-section { padding-block: clamp(40px, 6vw, 80px); }
.fx-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--fx-line);
}
.fx-section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-orange);
}
.fx-section__more:hover { color: var(--fx-mint); }
.fx-rule {
  height: 1px;
  border: 0;
  background: repeating-linear-gradient(90deg, rgba(199, 203, 209, 0.3) 0 1px, transparent 1px 10px);
}

/* ---------- 网格 ---------- */
.fx-grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.fx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 卡片 ---------- */
.fx-card {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  background: var(--fx-fog);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  transition: border-color var(--fx-ease), background-color var(--fx-ease), transform var(--fx-ease);
}
.fx-card:hover { background: #303338; border-color: rgba(255, 77, 28, 0.55); transform: translateY(-2px); }
.fx-card__no {
  display: block;
  font-family: var(--fx-font-mono);
  font-size: var(--fx-fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fx-orange);
}
.fx-card__title {
  margin-top: 8px;
  font-size: var(--fx-fs-lg);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--fx-paper);
}
.fx-card__text { margin-top: 8px; font-size: var(--fx-fs-sm); line-height: 1.7; color: var(--fx-cool); }
.fx-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--fx-font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fx-mid);
}
.fx-card--paper {
  color: #2b2620;
  background: var(--fx-paper);
  border-color: rgba(8, 8, 8, 0.14);
  box-shadow: 6px 6px 0 0 rgba(255, 77, 28, 0.22), 12px 12px 0 0 rgba(8, 8, 8, 0.5);
}
.fx-card--paper:hover { background: #FFFCF8; border-color: rgba(255, 77, 28, 0.7); }
.fx-card--paper .fx-card__no { color: var(--fx-deep); }
.fx-card--paper .fx-card__title { color: #0d0b09; }
.fx-card--paper .fx-card__text { color: #4a443d; }
.fx-card--paper .fx-card__meta { color: #6d6459; }
.fx-card--live { border-color: rgba(54, 242, 166, 0.42); }

/* ---------- 标签 ---------- */
.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: var(--fx-fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fx-cool);
  background: rgba(255, 246, 238, 0.05);
  border: 1px solid rgba(199, 203, 209, 0.22);
  border-radius: var(--fx-radius);
  transition: color var(--fx-ease), border-color var(--fx-ease), background-color var(--fx-ease);
}
.fx-chip:hover { color: var(--fx-paper); border-color: var(--fx-orange); background: rgba(255, 77, 28, 0.1); }
.fx-chip--live {
  color: var(--fx-mint);
  border-color: rgba(54, 242, 166, 0.45);
  background: rgba(14, 107, 78, 0.22);
}
.fx-chip--accent {
  font-weight: 700;
  color: #150a05;
  background: var(--fx-orange);
  border-color: var(--fx-orange);
}

/* ---------- 框景 ---------- */
.fx-frame {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(255, 77, 28, 0.38);
  border-radius: var(--fx-radius);
}
.fx-frame::before,
.fx-frame::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--fx-orange);
  pointer-events: none;
}
.fx-frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.fx-frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* ---------- 图片容器基础 ---------- */
.fx-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #1b1d20, #101113);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
}
.fx-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.06) saturate(0.92);
}
.fx-media__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0) 42%, rgba(8, 8, 8, 0.74) 100%),
    repeating-linear-gradient(0deg, rgba(54, 242, 166, 0.09) 0 1px, transparent 1px 26px);
}
.fx-media__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-family: var(--fx-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fx-mint);
  background: rgba(8, 8, 8, 0.84);
  border: 1px solid rgba(54, 242, 166, 0.4);
}
.fx-media--wide { aspect-ratio: 21 / 9; }
.fx-media--tall { aspect-ratio: 3 / 4; }

/* ---------- 面包屑 ---------- */
.fx-crumbs {
  padding-block: 16px 0;
  font-size: var(--fx-fs-xs);
  letter-spacing: 0.06em;
  color: var(--fx-mid);
}
.fx-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fx-crumbs__link { display: inline-flex; align-items: center; min-height: 32px; color: var(--fx-cool); }
.fx-crumbs__link:hover { color: var(--fx-orange); }
.fx-crumbs__sep { color: rgba(199, 203, 209, 0.42); }
.fx-crumbs__current { color: var(--fx-paper); font-weight: 600; }

/* ---------- 标签页 ---------- */
.fx-tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--fx-line);
  scrollbar-width: thin;
}
.fx-tab {
  flex: none;
  min-height: 44px;
  padding: 10px 16px;
  font-size: var(--fx-fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fx-mid);
  border-bottom: 2px solid transparent;
  transition: color var(--fx-ease), border-color var(--fx-ease), background-color var(--fx-ease);
}
.fx-tab:hover { color: var(--fx-cool); background: rgba(255, 246, 238, 0.05); }
.fx-tab[aria-selected="true"] { color: var(--fx-paper); border-bottom-color: var(--fx-orange); }
.fx-tabs__panel { padding-top: 20px; }
.fx-tabs__panel[hidden] { display: none; }

/* ---------- 显现（需 JS 开启 html[data-reveal-ready]） ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html[data-reveal-ready] [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============ 头部 ============ */
.fx-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #080808 0%, #0e0e10 100%);
  border-bottom: 1px solid rgba(199, 203, 209, 0.14);
}

.fx-strip {
  background: var(--fx-ink);
  border-bottom: 1px solid var(--fx-line-soft);
  font-size: var(--fx-fs-xs);
  letter-spacing: 0.06em;
}
.fx-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 5px;
}
.fx-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--fx-cool);
}
.fx-dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-mint);
  box-shadow: 0 0 0 3px rgba(54, 242, 166, 0.16);
}
.fx-strip__meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--fx-mid);
}
.fx-strip__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--fx-cool);
  border-bottom: 1px solid rgba(255, 77, 28, 0.55);
}
.fx-strip__link:hover { color: var(--fx-ember); border-bottom-color: var(--fx-ember); }
.fx-strip__note { color: var(--fx-mid); }

.fx-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  padding-block: 14px;
}

.fx-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.fx-brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  font-family: var(--fx-font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #120806;
  background: linear-gradient(150deg, var(--fx-orange), var(--fx-deep));
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.fx-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.fx-brand__name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fx-paper);
}
.fx-brand__tagline {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fx-mid);
}

.fx-navbtn {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  color: var(--fx-paper);
  background: rgba(255, 246, 238, 0.04);
  border: 1px solid rgba(199, 203, 209, 0.28);
  border-radius: var(--fx-radius);
  transition: color var(--fx-ease), border-color var(--fx-ease);
}
.fx-navbtn__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fx-orange);
}
.fx-navbtn__bars::before,
.fx-navbtn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.fx-navbtn__bars::before { top: -6px; }
.fx-navbtn__bars::after { top: 6px; }
.fx-navbtn__label { font-size: var(--fx-fs-xs); font-weight: 600; letter-spacing: 0.1em; }
.fx-navbtn[aria-expanded="true"] { color: var(--fx-orange); border-color: var(--fx-orange); }

.fx-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
}
.fx-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.fx-nav__item { display: block; }
.fx-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 11px;
  font-size: var(--fx-fs-sm);
  font-weight: 500;
  color: var(--fx-cool);
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: var(--fx-radius);
  transition: color var(--fx-ease), border-color var(--fx-ease), background-color var(--fx-ease);
}
.fx-nav__link:hover {
  color: var(--fx-paper);
  background: rgba(255, 246, 238, 0.05);
  border-bottom-color: rgba(255, 77, 28, 0.62);
}
.fx-nav__link[aria-current="page"] {
  color: var(--fx-paper);
  background: rgba(255, 77, 28, 0.12);
  border-bottom-color: var(--fx-orange);
}
.fx-nav__no {
  font-family: var(--fx-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fx-mid);
}
.fx-nav__link:hover .fx-nav__no,
.fx-nav__link[aria-current="page"] .fx-nav__no { color: var(--fx-orange); }
.fx-nav__cta { display: none; }
.fx-header__cta { flex: none; }

.fx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.fx-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-mint));
  transition: width 0.12s linear;
}

/* ============ 页脚 ============ */
.fx-footer {
  position: relative;
  color: var(--fx-cool);
  background: var(--fx-ink);
  border-top: 1px solid rgba(255, 77, 28, 0.28);
}
.fx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(255, 77, 28, 0.6) 0 1px, transparent 1px 14px);
}
.fx-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 44px);
}
.fx-footer__brand { min-width: 0; }
.fx-footer__mark {
  font-family: var(--fx-font-display);
  font-size: var(--fx-fs-2xl);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fx-paper);
}
.fx-footer__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: var(--fx-fs-xs);
  letter-spacing: 0.14em;
  color: var(--fx-mid);
}
.fx-footer__brand .fx-btn { margin-top: 20px; }
.fx-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.fx-footer__col { min-width: 0; }
.fx-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  font-size: var(--fx-fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--fx-paper);
  border-bottom: 1px solid var(--fx-line);
}
.fx-footer__title::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background: var(--fx-orange);
}
.fx-footer__list { display: flex; flex-direction: column; margin-top: 6px; }
.fx-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0 4px 10px;
  font-size: var(--fx-fs-sm);
  color: var(--fx-cool);
  border-left: 1px solid var(--fx-line);
  transition: color var(--fx-ease), border-color var(--fx-ease), padding-left var(--fx-ease);
}
.fx-footer__link:hover { color: var(--fx-paper); border-left-color: var(--fx-orange); padding-left: 14px; }

.fx-footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px clamp(18px, 3vw, 36px);
  padding-block: clamp(18px, 3vw, 28px);
  border-top: 1px solid var(--fx-line);
  border-bottom: 1px solid var(--fx-line);
}
.fx-footer__line { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.fx-footer__key { font-size: 11px; letter-spacing: 0.14em; color: var(--fx-mid); }
.fx-footer__val { font-size: 13.5px; color: var(--fx-paper); word-break: break-word; }
.fx-footer__note {
  grid-column: 1 / -1;
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fx-mid);
}
.fx-footer__inlink { color: var(--fx-ember); border-bottom: 1px solid rgba(255, 122, 61, 0.5); }
.fx-footer__inlink:hover { color: var(--fx-mint); border-bottom-color: var(--fx-mint); }

.fx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 14px 26px;
  font-size: var(--fx-fs-xs);
  color: var(--fx-mid);
}
.fx-footer__copy { letter-spacing: 0.04em; }
.fx-footer__links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fx-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fx-cool);
  border-bottom: 1px solid transparent;
}
.fx-footer__links a:hover { color: var(--fx-orange); border-bottom-color: var(--fx-orange); }
.fx-footer__links span { color: rgba(199, 203, 209, 0.42); }
.fx-footer__icp { font-family: var(--fx-font-mono); letter-spacing: 0.02em; color: var(--fx-mid); }

/* ============ 响应式：平板 ============ */
@media (max-width: 1200px) and (min-width: 1001px) {
  .fx-brand__tagline { display: none; }
  .fx-nav__link { padding: 6px 8px; font-size: 13px; }
  .fx-nav__no { font-size: 10px; }
  .fx-header__cta { padding-inline: 14px; font-size: 13px; }
}

@media (max-width: 1000px) {
  .fx-strip__note { display: none; }
  .fx-brand__tagline { display: none; }
  .fx-navbtn { display: inline-flex; }
  .fx-header__cta { display: none; }
  .fx-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 10px clamp(16px, 4vw, 40px) 22px;
    background: #0b0b0d;
    border-bottom: 1px solid rgba(255, 77, 28, 0.32);
    box-shadow: 0 34px 64px -34px #000;
  }
  .fx-nav[data-open] { display: flex; }
  .fx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fx-nav__item { border-bottom: 1px solid var(--fx-line-soft); }
  .fx-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 8px;
    font-size: 15px;
    border: 0;
    border-left: 2px solid transparent;
  }
  .fx-nav__link[aria-current="page"] {
    background: rgba(255, 77, 28, 0.1);
    border-left-color: var(--fx-orange);
  }
  .fx-nav__cta { display: inline-flex; justify-content: center; margin-top: 6px; }
  .fx-footer__top { grid-template-columns: 1fr; }
  .fx-grid--3, .fx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ 响应式：手机 ============ */
@media (max-width: 640px) {
  .fx-header__inner { padding-block: 10px; }
  .fx-brand__mark { width: 40px; height: 40px; font-size: 18px; }
  .fx-brand__name { font-size: 15px; }
  .fx-navbtn__label { display: none; }
  .fx-strip__inner { gap: 10px; }
  .fx-strip__tag { font-size: 11px; }
  .fx-grid--2, .fx-grid--3, .fx-grid--4 { grid-template-columns: 1fr; }
  .fx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .fx-footer__contact { grid-template-columns: 1fr; }
  .fx-footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fx-frame { padding: 16px; }
  .fx-card--paper { box-shadow: 4px 4px 0 0 rgba(255, 77, 28, 0.22), 8px 8px 0 0 rgba(8, 8, 8, 0.5); }
}

/* ============ 动效偏好 ============ */
@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;
  }
  .fx-card:hover { transform: none; }
  .fx-skip { transition: none; }
  html[data-reveal-ready] [data-reveal] { opacity: 1; transform: none; transition: none; }
}
