/* ============================================================
   火博体育赛场 · 共享站点样式 /assets/site.css
   高原夜战情报站：深蓝底 + 熔岩橙 + 酥油灯金 + 冰川青
   ============================================================ */

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

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

body { margin: 0; }

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

ul[class],
ol[class] { margin: 0; padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

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

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink: #03070D;
  --bg: #081321;
  --bg-2: #0F2136;
  --slate: #1A3048;

  --lava: #FF5A2A;
  --lava-deep: #C93A16;
  --gold: #F5B84B;
  --ice: #63E6DE;
  --ice-deep: #1E7F7B;

  --paper: #F2F6FB;
  --mist: #B7C6D9;

  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono",
    "Cascadia Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;

  --edge: 2px solid var(--ink);
  --hard: 6px 6px 0 rgba(3, 7, 13, 0.9);
  --hard-sm: 3px 3px 0 rgba(3, 7, 13, 0.9);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(99, 230, 222, 0.12), transparent 62%),
    radial-gradient(820px 520px at 4% 0%, rgba(255, 90, 42, 0.10), transparent 58%),
    linear-gradient(rgba(99, 230, 222, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 230, 222, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--paper);
}

p { max-width: 74ch; }

strong { color: var(--gold); font-weight: 700; }

a { text-decoration: none; }

#main-content {
  display: block;
  padding-top: clamp(92px, 11vw, 118px);
  scroll-margin-top: 100px;
}

/* ---------- 4. 焦点可见 ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 5. 布局工具 ---------- */
.wrap {
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(44px, 6.5vw, 88px); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(22px, 3.6vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lava);
  flex: none;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-lead {
  margin: 0;
  color: var(--mist);
  font-size: 16.5px;
  line-height: 1.78;
}

.slant-rule {
  display: block;
  height: 8px;
  width: 100%;
  border: 0;
  background: repeating-linear-gradient(
    100deg,
    var(--lava) 0 24px,
    transparent 24px 34px
  );
  opacity: 0.5;
  transform: skewY(-1.4deg);
}

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -220%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--ice);
  color: #04211F;
  border: var(--edge);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: var(--hard-sm);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: var(--edge);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.btn-primary {
  background: var(--lava);
  color: #0A0F16;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-ghost {
  background: rgba(26, 48, 72, 0.55);
  color: var(--paper);
  border-color: rgba(183, 198, 217, 0.42);
  box-shadow: 4px 4px 0 rgba(3, 7, 13, 0.85);
}

.btn-ghost:hover {
  border-color: var(--ice);
  color: var(--ice);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(3, 7, 13, 0.85);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

/* ---------- 8. 头部：悬浮胶囊导航 ---------- */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.header-shell {
  width: min(var(--maxw), 100%);
  pointer-events: auto;
}

.nav-capsule {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: 7px 10px 7px 12px;
  background: rgba(15, 33, 54, 0.94);
  border: var(--edge);
  border-radius: 999px;
  box-shadow: 5px 5px 0 rgba(3, 7, 13, 0.9);
  transition: padding 0.24s var(--ease), box-shadow 0.24s var(--ease),
    background-color 0.24s var(--ease), border-radius 0.24s var(--ease);
}

.site-header[data-scrolled="true"] .nav-capsule {
  padding-block: 4px;
  background: rgba(8, 19, 33, 0.98);
  box-shadow: 3px 3px 0 rgba(3, 7, 13, 0.95);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: var(--edge);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--lava), var(--lava-deep));
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  color: #0A0F16;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--gold);
  white-space: nowrap;
}

/* 导航 */
.nav-panel {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

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

.nav-list > li {
  counter-increment: nav-idx;
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 11px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mist);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.nav-link::before {
  content: counter(nav-idx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice);
  opacity: 0.72;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--paper);
  background: rgba(255, 90, 42, 0.12);
  border-color: var(--lava);
  box-shadow: 0 2px 0 var(--lava-deep);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  color: #0A0F16;
  background: var(--lava);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-link[aria-current="page"]::before {
  color: #0A0F16;
  opacity: 1;
}

/* 右侧 */
.nav-side {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 11px;
  max-width: none;
  border: 1px dashed rgba(99, 230, 222, 0.36);
  border-radius: 999px;
  background: rgba(99, 230, 222, 0.07);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 3px rgba(99, 230, 222, 0.18);
  animation: statusPulse 2.6s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--slate);
  color: var(--paper);
  border: var(--edge);
  border-radius: 999px;
  box-shadow: var(--hard-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--lava);
  color: var(--lava);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-capsule[data-open="true"] .nav-toggle-bars { background: transparent; }
.nav-capsule[data-open="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-capsule[data-open="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle-text { line-height: 1; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: #03070D;
  border-top: var(--edge);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  z-index: -1;
  background:
    radial-gradient(620px 200px at 12% 0%, rgba(255, 90, 42, 0.26), transparent 72%),
    radial-gradient(560px 200px at 88% 0%, rgba(99, 230, 222, 0.18), transparent 72%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    100deg,
    var(--lava) 0 22px,
    transparent 22px 32px
  );
  opacity: 0.75;
  transform: skewY(-1.2deg);
  transform-origin: left top;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(26px, 4vw, 56px);
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  padding: clamp(52px, 6.5vw, 84px) var(--gutter) clamp(28px, 4vw, 46px);
}

.footer-crest {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0;
}

.footer-index {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 5px 12px;
  max-width: none;
  border: 2px solid rgba(99, 230, 222, 0.34);
  border-radius: 999px;
  background: rgba(99, 230, 222, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--ice);
}

.footer-brandline {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--paper);
}

.footer-summary {
  margin: 0 0 24px;
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--mist);
}

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

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--paper);
}

.footer-title-num {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--gold);
  color: #0A0F16;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -10px;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.footer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--ice-deep);
  transform: rotate(45deg);
  transition: background-color 0.18s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--paper);
  background: rgba(99, 230, 222, 0.08);
  border-left-color: var(--lava);
}

.footer-link:hover::before,
.footer-link:focus-visible::before { background: var(--lava); }

.footer-contact {
  display: grid;
  gap: 13px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.footer-contact li { display: grid; gap: 3px; }

.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--ice);
}

.footer-value {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-note {
  margin: 0;
  max-width: 34ch;
  padding-left: 12px;
  border-left: 2px solid var(--lava);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  width: min(var(--maxw), 100%);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid rgba(183, 198, 217, 0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--mist);
}

.footer-copy { margin: 0; max-width: none; }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.footer-icp {
  margin: 0 0 0 auto;
  max-width: none;
  color: var(--gold);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--mist);
}

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

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

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.breadcrumb [aria-current="page"] { color: var(--gold); }

/* ---------- 11. 基础组件 ---------- */
.index-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 26px;
  padding: 0 8px;
  border: var(--edge);
  border-radius: 4px;
  background: var(--ice);
  color: #04211F;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

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

.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  background: var(--bg-2);
  border: var(--edge);
  box-shadow: 8px 8px 0 rgba(3, 7, 13, 0.85);
}

.panel--slant {
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  padding-bottom: calc(clamp(18px, 2.6vw, 30px) + 22px);
}

.card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--slate);
  border: var(--edge);
  box-shadow: 8px 8px 0 rgba(3, 7, 13, 0.85);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 48px;
  height: 4px;
  background: var(--lava);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(3, 7, 13, 0.9);
}

.card-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.card-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: var(--edge);
  background: rgba(15, 33, 54, 0.72);
  box-shadow: 8px 8px 0 rgba(3, 7, 13, 0.85);
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table caption {
  padding: 14px 16px 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ice);
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(183, 198, 217, 0.16);
}

.data-table thead th {
  background: rgba(3, 7, 13, 0.55);
  border-bottom: var(--edge);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ice);
  white-space: nowrap;
}

.data-table tbody tr:hover { background: rgba(99, 230, 222, 0.07); }
.data-table td.num { font-family: var(--font-mono); color: var(--gold); }

/* 标签页 */
.tabs {
  border: var(--edge);
  background: var(--bg-2);
  box-shadow: 8px 8px 0 rgba(3, 7, 13, 0.85);
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: var(--edge);
  background: rgba(3, 7, 13, 0.42);
  scrollbar-width: thin;
}

.tab {
  position: relative;
  flex: 1 0 auto;
  padding: 14px 18px;
  border-right: 2px solid rgba(3, 7, 13, 0.6);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--mist);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.tab:last-child { border-right: 0; }

.tab:hover { color: var(--paper); background: rgba(99, 230, 222, 0.07); }

.tab[aria-selected="true"] {
  color: #0A0F16;
  background: var(--gold);
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--lava);
}

.tab-panel { padding: clamp(18px, 2.6vw, 30px); }
.tab-panel[hidden] { display: none; }

.tab-panel.is-active {
  animation: tabIn 0.3s var(--ease) both;
}

@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 2px solid rgba(183, 198, 217, 0.28);
  border-radius: 999px;
  background: rgba(26, 48, 72, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

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

.chip[aria-pressed="true"] {
  background: var(--ice);
  border-color: var(--ink);
  color: #04211F;
  box-shadow: 3px 3px 0 var(--ink);
}

/* 图片容器 */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: var(--edge);
  border-radius: 4px;
  background: linear-gradient(150deg, #1A3048 0%, #0F2136 58%, #16283E 100%);
  box-shadow: 8px 8px 0 rgba(3, 7, 13, 0.85);
  isolation: isolate;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(118deg, rgba(99, 230, 222, 0.12), transparent 46%),
    repeating-linear-gradient(135deg, rgba(242, 246, 251, 0.05) 0 1px, transparent 1px 7px);
}

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

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

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

/* 提示块 */
.callout {
  padding: 16px 20px;
  border: var(--edge);
  border-left: 6px solid var(--lava);
  background: rgba(255, 90, 42, 0.09);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--paper);
}

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

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

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-entry { display: none; }

  .nav-capsule {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 22px;
  }

  .nav-panel {
    order: 3;
    flex: 1 0 100%;
    display: none;
    justify-content: stretch;
  }

  .nav-capsule[data-open="true"] .nav-panel { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 0 4px;
  }

  .nav-link {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-side { margin-left: auto; }
  .nav-status { display: none; }
  .brand-tagline { display: none; }

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

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

@media (max-width: 860px) {
  .footer-shell { grid-template-columns: 1fr; }
  .footer-icp { margin-left: 0; }
}

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

  .brand-mark { width: 30px; height: 30px; font-size: 15px; }
  .brand-name { font-size: 14px; }

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

  .data-table { min-width: 460px; font-size: 14px; }
  .tab { padding: 12px 14px; font-size: 12px; }
}

/* ---------- 13. 动效降级 ---------- */
@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 !important;
    transform: none !important;
    transition: none !important;
  }

  .status-dot { animation: none !important; }

  .tab-panel.is-active { animation: none !important; }
}
