/* ==========================================================================
   乐鱼手机赛场 · 共享样式表 /assets/site.css
   暗色夜场基底 + 荧光青强调 + 珊瑚橙数据点，居中刊头导航 + 常驻快速筛选条
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset 与设计令牌
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink-900: #04121F;
  --ink-800: #061726;
  --panel: #0A2136;
  --panel-deep: #071A2B;
  --line: #123A57;
  --cyan: #00E5C8;
  --cyan-bright: #5BFFE3;
  --coral: #FF6B45;
  --amber: #FFC24B;
  --white: #E8F6FA;
  --muted: #93AFC0;
  --paper: #EDF3F6;

  --font-display: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --wrap-wide: 1360px;
  --wrap-narrow: 760px;

  --radius: 3px;
  --shadow-card: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --glow-cyan: 0 0 0 1px rgba(0, 229, 200, 0.24), 0 12px 30px -18px rgba(0, 229, 200, 0.85);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 10% -8%, rgba(0, 229, 200, 0.16), transparent 62%),
    radial-gradient(900px 560px at 94% 6%, rgba(255, 107, 69, 0.12), transparent 60%),
    linear-gradient(180deg, #04121F 0%, #03101B 58%, #04121F 100%);
  background-repeat: no-repeat;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-bright); }

button { font: inherit; color: inherit; }

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

/* --------------------------------------------------------------------------
   2. 版心与章节
   -------------------------------------------------------------------------- */
.wrap,
.wrap--wide,
.wrap--narrow {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.wrap--wide { width: min(100% - 40px, var(--wrap-wide)); }
.wrap--narrow { width: min(100% - 40px, var(--wrap-narrow)); }

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.section__head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.texture-grid { position: relative; }
.texture-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 246, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 246, 250, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 62% at 50% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(80% 62% at 50% 0%, #000 0%, transparent 100%);
}

/* --------------------------------------------------------------------------
   3. 排版层级
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.display-1,
.display-2,
.display-3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 0.4em;
  overflow-wrap: break-word;
}
.display-1 { font-size: clamp(32px, 7vw, 72px); line-height: 0.96; }
.display-2 { font-size: clamp(26px, 4.4vw, 44px); }
.display-3 { font-size: clamp(20px, 2.8vw, 28px); letter-spacing: 0; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: rgba(232, 246, 250, 0.86);
  max-width: 62ch;
}

.prose { max-width: 72ch; color: rgba(232, 246, 250, 0.9); }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(18px, 2.2vw, 22px); margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--cyan-bright); font-weight: 700; }
.prose a { border-bottom: 1px solid rgba(0, 229, 200, 0.45); }

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover {
  color: var(--cyan-bright);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  --btn-bg: linear-gradient(118deg, #00E5C8 0%, #00B8A3 100%);
  --btn-fg: #04121F;
  --btn-bd: transparent;
}
.btn--primary:hover {
  color: #04121F;
  border-color: transparent;
  background: linear-gradient(118deg, #5BFFE3 0%, #00CDB4 100%);
  box-shadow: 0 14px 32px -18px rgba(0, 229, 200, 0.95);
}

.btn--ghost { --btn-bg: rgba(4, 18, 31, 0.6); }

.btn--tiny {
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   5. 页头：跳过链接 + 居中刊头
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--ink-900); }

.site-header { position: relative; z-index: 60; }

.masthead {
  position: relative;
  background: linear-gradient(180deg, rgba(6, 23, 38, 0.96) 0%, rgba(4, 18, 31, 0.86) 100%);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: min(100% - 40px, var(--wrap-wide));
  margin-inline: auto;
  padding-block: 16px;
}

/* 品牌字标 */
.brand {
  grid-area: 1 / 1;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
}
.brand__mark {
  position: relative;
  padding-left: 15px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.brand__mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(0, 229, 200, 0.85);
}
.brand__cn {
  display: block;
  padding-left: 15px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.brand:hover .brand__cn { color: var(--cyan); }

/* 居中导航 */
.nav { grid-area: 1 / 2; }
.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 1.4vw, 22px);
  list-style: none;
}
.nav__item { display: block; }
.nav__link {
  display: block;
  position: relative;
  padding: 10px 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--cyan-bright); }
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--coral));
}

/* 合作入口 */
.masthead__cta { grid-area: 1 / 3; }

/* 移动导航按钮 */
.nav-toggle {
  grid-area: 1 / 3;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: rgba(4, 18, 31, 0.7);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan-bright); }
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}
.nav-toggle__bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. 常驻快速筛选条
   -------------------------------------------------------------------------- */
.filterbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 33, 54, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px -26px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: padding 0.2s var(--ease), background-color 0.2s var(--ease);
}
.filterbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: min(100% - 32px, var(--wrap-wide));
  margin-inline: auto;
  padding-block: 10px;
  transition: padding 0.2s var(--ease);
}

.filterbar__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.filterbar__brand {
  display: none;
  position: relative;
  align-items: center;
  padding-left: 13px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  white-space: nowrap;
}
.filterbar__brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 229, 200, 0.8);
}

.filterbar__dims {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.facet { position: relative; }
.facet__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(4, 18, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.facet__btn:hover { border-color: var(--cyan); }
.facet__btn[aria-expanded="true"] {
  border-color: var(--cyan);
  background: rgba(0, 229, 200, 0.14);
}
.facet__name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.facet__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--cyan-bright);
}
.facet__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  display: grid;
  gap: 10px;
  min-width: 216px;
  max-width: min(86vw, 320px);
  padding: 12px;
  background: #082031;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 54px -28px rgba(0, 0, 0, 0.95);
}
.facet__panel[hidden] { display: none; }
.facet__hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.facet__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.chip:hover { color: var(--cyan-bright); border-color: var(--cyan); }
.chip[aria-pressed="true"] {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 500;
}

.filterbar__status {
  margin: 0 0 0 auto;
  max-width: 36ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.filterbar__reset { margin-left: 4px; }

.filterbar[data-condensed] .filterbar__inner { padding-block: 6px; }
.filterbar[data-condensed] .filterbar__label { display: none; }
.filterbar[data-condensed] .filterbar__brand { display: inline-flex; }
.filterbar[data-condensed] { background: rgba(8, 27, 45, 0.97); }

/* --------------------------------------------------------------------------
   7. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 110px);
  background: linear-gradient(180deg, #04121F 0%, #061726 55%, #03101B 100%);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(38px, 5vw, 62px);
}
.footer__col { min-width: 0; }
.footer__col--brand { max-width: 46ch; }

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 14px;
}
.footer__tagline {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.footer__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer__list {
  display: grid;
  gap: 9px;
  list-style: none;
  font-size: 14px;
}
.footer__link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer__link:hover {
  color: var(--cyan-bright);
  border-bottom-color: rgba(0, 229, 200, 0.5);
}
.footer__list--plain { color: var(--muted); }
.footer__meta {
  display: inline-block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.footer__icp {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  letter-spacing: 0.03em;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.footer__legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   8. 通用组件：卡片 / 标签 / 统计 / 网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 24px);
  background: linear-gradient(155deg, #0A2136 0%, #071A2B 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 36px;
  height: 3px;
  background: var(--cyan);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 22px 46px -26px rgba(0, 229, 200, 0.7);
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card__title {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--white);
}
.card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 229, 200, 0.1);
  border: 1px solid rgba(0, 229, 200, 0.38);
  border-radius: 2px;
}
.tag--coral {
  color: var(--coral);
  background: rgba(255, 107, 69, 0.12);
  border-color: rgba(255, 107, 69, 0.45);
}
.tag--amber {
  color: var(--amber);
  background: rgba(255, 194, 75, 0.12);
  border-color: rgba(255, 194, 75, 0.45);
}
.tag--paper {
  color: #0A2136;
  background: var(--paper);
  border-color: var(--paper);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1;
  color: var(--white);
}
.stat__value.is-accent { color: var(--coral); }
.stat__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. 时间轴 / 表格 / 图文容器 / 手风琴 / 面包屑
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0, 229, 200, 0.05) 100%);
}
.timeline__item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 28px;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--ink-900);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.timeline__item.is-active::before {
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 200, 0.8);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 33, 54, 0.7) 0%, rgba(7, 26, 43, 0.7) 100%);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.data-table th {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  color: var(--cyan);
  background: rgba(0, 229, 200, 0.08);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.data-table tbody tr:nth-child(even) { background: rgba(10, 33, 54, 0.5); }
.data-table tbody tr:hover { background: rgba(0, 229, 200, 0.06); }
.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #071A2B;
  color: var(--white);
}
.data-table th:first-child { background: #0A2136; }
.data-table .is-key {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--coral);
}

.media { margin: 0; }
.media__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image:
    radial-gradient(120% 90% at 50% -20%, rgba(0, 229, 200, 0.22) 0%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(232, 246, 250, 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(232, 246, 250, 0.05) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #062033 0%, #04121F 100%);
}
.media--tall .media__frame { aspect-ratio: 4 / 5; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s var(--ease);
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q:hover { color: var(--cyan-bright); }
.accordion__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}
.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s var(--ease);
}
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__a {
  padding: 0 4px 22px;
  max-width: 72ch;
  font-size: 15px;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 10px; }
.breadcrumbs__item::after {
  content: "/";
  color: var(--line);
}
.breadcrumbs__item:last-child::after { content: ""; }
.breadcrumbs__link { color: var(--muted); }
.breadcrumbs__link:hover { color: var(--cyan-bright); }
.breadcrumbs__item[aria-current="page"] { color: var(--white); }

/* --------------------------------------------------------------------------
   10. 动效与辅助
   -------------------------------------------------------------------------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

/* --------------------------------------------------------------------------
   11. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding-block: 12px;
  }
  .brand { grid-area: 1 / 1; }
  .masthead__cta { grid-area: 1 / 2; padding: 9px 14px; font-size: 13px; }
  .nav-toggle { display: inline-flex; grid-area: 1 / 3; }

  .nav {
    grid-area: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 10px 20px 20px;
    background: #061726;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
  }
  .nav[data-open] {
    display: block;
    animation: nav-drop 0.22s var(--ease);
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
  }
  .nav__item { border-top: 1px solid var(--line); }
  .nav__item:first-child { border-top: 0; }
  .nav__link {
    padding: 15px 2px;
    font-size: 16px;
    color: var(--white);
  }
  .nav__link::after { left: 2px; right: auto; bottom: 8px; width: 28px; }

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

@media (max-width: 780px) {
  .filterbar__status {
    order: 9;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
    white-space: normal;
  }
  .filterbar__reset { order: 8; margin-left: auto; }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .facet__panel { left: auto; right: 0; max-width: min(92vw, 320px); }
  .media__frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  .brand__cn { font-size: 10px; letter-spacing: 0.2em; }
  .nav-toggle__text { display: none; }
  .masthead__cta { padding: 8px 10px; font-size: 12px; }
}

@media (max-width: 340px) {
  .brand__cn { display: none; }
}

@media print {
  .site-header,
  .site-footer { display: none; }
}

/* --------------------------------------------------------------------------
   12. 动效降级
   -------------------------------------------------------------------------- */
@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;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover { transform: none; }
  .nav[data-open] { animation: none; }
}

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