/* =========================================================
   球盟会赛场 · 共享样式 /assets/site.css
   夜场战术板：深墨绿底色 + 荧光青数据线 + 赛道橙行动色
   ========================================================= */

:root {
  --ink: #071B17;
  --ink-2: #0E2A22;
  --ink-3: #123126;
  --cyan: #26F0C8;
  --cyan-soft: #A7FFE9;
  --orange: #FF7A2F;
  --red: #E33B4E;
  --yellow: #FFC857;
  --chalk: #F3F7F2;
  --mute: #B7C9C1;
  --grid: #1E3B33;

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

  --shell: 1180px;
  --pad: clamp(18px, 4vw, 44px);
  --radius-pill: 999px;
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.55);
  --shadow-cyan: 6px 6px 0 rgba(38, 240, 200, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --header-h: 78px;
}

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

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption,
blockquote, dl, dt, dd, hr, fieldset {
  margin: 0;
}

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

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

button { font: inherit; }

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--chalk);
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(38, 240, 200, 0.07), rgba(38, 240, 200, 0) 440px),
    repeating-linear-gradient(90deg, rgba(30, 59, 51, 0.55) 0 1px, transparent 1px 120px);
  background-attachment: fixed, scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--chalk);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 6vw, 60px); line-height: 0.98; }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: clamp(16px, 1.6vw, 19px); }

p { max-width: 68ch; }

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

a:hover { color: var(--cyan-soft); }

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

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

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: var(--grid);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

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

/* ---------- 工具 ---------- */
.visually-hidden {
  position: absolute;
  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;
}

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

.coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.rule {
  height: 0;
  border: 0;
  border-top: 2px dashed var(--grid);
  margin-block: clamp(24px, 4vw, 46px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -140px;
  z-index: 300;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--cyan);
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-hard);
  transition: top 0.18s var(--ease);
}

.skip-link:focus { top: 14px; color: var(--ink); }

/* ---------- 布局容器 ---------- */
.container,
.page-shell {
  width: min(calc(100% - (var(--pad) * 2)), var(--shell));
  margin-inline: auto;
}

.page-shell {
  padding-block: clamp(26px, 5vw, 58px) clamp(40px, 7vw, 90px);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section { position: relative; margin-block: clamp(36px, 6vw, 76px); }
.section--tight { margin-block: clamp(20px, 3vw, 36px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

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

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

/* ---------- 页头：悬浮胶囊 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(10px, 1.6vw, 18px) clamp(10px, 2.4vw, 26px) 0;
}

.header-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 14px rgba(38, 240, 200, 0.6);
  pointer-events: none;
  z-index: 95;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  background: linear-gradient(120deg, rgba(14, 42, 34, 0.95), rgba(7, 27, 23, 0.88));
  border: 2px solid var(--grid);
  border-radius: var(--radius-pill);
  box-shadow:
    0 16px 34px -20px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(167, 255, 233, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.site-header[data-stuck="true"] .header-shell {
  border-color: rgba(38, 240, 200, 0.6);
  box-shadow:
    0 20px 44px -22px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(38, 240, 200, 0.16),
    inset 0 1px 0 rgba(167, 255, 233, 0.22);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: 2px solid var(--cyan);
  border-radius: 9px;
  transform: rotate(-7deg);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.brand-mark i {
  display: block;
  background: var(--cyan);
  border-radius: 1px;
  opacity: 0.85;
}

.brand-mark i:nth-child(2) { background: var(--orange); opacity: 1; }
.brand-mark i:nth-child(3) { opacity: 0.42; }
.brand-mark i:nth-child(4) { background: var(--cyan-soft); opacity: 0.6; }

.brand:hover .brand-mark { transform: rotate(0deg); border-color: var(--cyan-soft); }

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--chalk);
}

.brand-note {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* 导航 */
.nav-shell {
  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;
}

.nav-item { display: flex; }

.nav-link {
  display: inline-block;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--mute);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--cyan-soft);
  background: rgba(38, 240, 200, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  background: var(--cyan);
  box-shadow: 0 0 0 2px rgba(38, 240, 200, 0.24), 3px 3px 0 rgba(0, 0, 0, 0.55);
}

/* 快捷入口 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #1A0A00;
  text-decoration: none;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.header-cta:hover {
  color: #1A0A00;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
}

.header-cta:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6); }

.header-cta--ghost {
  background: transparent;
  border-color: var(--grid);
  color: var(--cyan-soft);
  box-shadow: none;
}

.header-cta--ghost:hover {
  background: rgba(38, 240, 200, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: none;
  transform: none;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
  background: rgba(38, 240, 200, 0.1);
  border: 2px solid var(--cyan);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

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

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

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* 页头响应式 */
@media (max-width: 1120px) {
  .nav-link { padding: 8px 10px; font-size: 13.5px; }
  .header-cta--ghost { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }

  .header-shell { padding: 8px 10px 8px 14px; }

  .nav-shell {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: block;
    padding: 10px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: linear-gradient(160deg, var(--ink-2), var(--ink));
    border: 2px solid var(--cyan);
    border-radius: 24px;
    box-shadow: var(--shadow-hard);
    transition: max-height 0.24s var(--ease), opacity 0.18s var(--ease), visibility 0.18s var(--ease);
  }

  .nav-shell[data-open="true"] {
    max-height: 72vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }

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

  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 14px;
  }

  .nav-link[aria-current="page"] { border-radius: 14px; }
}

@media (max-width: 640px) {
  .header-actions { display: none; }
  .brand-name { font-size: 17px; }
  .brand-note { font-size: 9px; letter-spacing: 0.12em; }
}

@media (max-width: 380px) {
  .brand-mark { width: 28px; height: 28px; }
  .brand-note { display: none; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 2px solid var(--grid);
  background: linear-gradient(180deg, rgba(14, 42, 34, 0.9), #05130F 62%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 220px at 10% 0%, rgba(38, 240, 200, 0.14), transparent 72%),
    radial-gradient(520px 260px at 92% 88%, rgba(255, 122, 47, 0.12), transparent 70%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan), rgba(38, 240, 200, 0));
  opacity: 0.85;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--pad) * 2)), var(--shell));
  margin-inline: auto;
  padding-block: clamp(34px, 6vw, 68px) clamp(20px, 3vw, 32px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 1.9fr) minmax(220px, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

/* 品牌段 */
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.footer-wordmark::after {
  content: "";
  display: block;
  width: 68px;
  height: 6px;
  margin-top: 14px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 15px);
}

.footer-summary {
  margin-top: 16px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.footer-coords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-coord {
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--grid);
  border-radius: var(--radius-pill);
  background: rgba(7, 27, 23, 0.6);
}

/* 栏目段 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk);
  border-bottom: 2px solid var(--grid);
}

.footer-num {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

.footer-links a {
  position: relative;
  display: inline-block;
  padding: 4px 0 4px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.06em;
  width: 7px;
  height: 2px;
  background: var(--grid);
  transition: width 0.16s var(--ease), background 0.16s var(--ease);
}

.footer-links a:hover { color: var(--cyan-soft); }
.footer-links a:hover::before { width: 11px; background: var(--cyan); }

/* 联系段 */
.footer-contact-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

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

.footer-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.75;
}

.footer-v {
  font-size: 14px;
  line-height: 1.6;
  color: var(--chalk);
  word-break: break-word;
}

.footer-note {
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mute);
}

.footer-rule {
  height: 0;
  margin: clamp(26px, 4vw, 42px) 0 clamp(14px, 2vw, 20px);
  border: 0;
  border-top: 2px dashed var(--grid);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}

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

.footer-legal-links a {
  font-size: 12.5px;
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid var(--grid);
  padding-bottom: 1px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-legal-links a:hover { color: var(--cyan); border-color: var(--cyan); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.footer-icp { color: var(--mute); }
.footer-copy { color: var(--mute); }

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: minmax(200px, 1fr) minmax(0, 1.6fr); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; }
  .footer-note { max-width: 60ch; }
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-contact { grid-column: auto; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--chalk);
  background: transparent;
  border: 2px solid var(--grid);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A00;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

.btn--primary:hover {
  color: #1A0A00;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.65);
}

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

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

.btn--cyan:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.65);
}

.btn--cyan:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6); }

.btn--ghost {
  background: rgba(14, 42, 34, 0.6);
  border-color: var(--grid);
  color: var(--cyan-soft);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(38, 240, 200, 0.1);
}

.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { margin-bottom: clamp(18px, 3vw, 32px); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

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

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--grid);
}

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

.breadcrumb a:hover { color: var(--cyan); }

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

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

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(7, 27, 23, 0.65);
  border: 1px solid var(--grid);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tag--cyan { color: var(--cyan); border-color: rgba(38, 240, 200, 0.55); }
.tag--orange { color: var(--orange); border-color: rgba(255, 122, 47, 0.6); }
.tag--red { color: #FF8E9B; border-color: rgba(227, 59, 78, 0.65); }
.tag--yellow { color: var(--yellow); border-color: rgba(255, 200, 87, 0.6); }

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(160deg, rgba(14, 42, 34, 0.86), rgba(7, 27, 23, 0.9));
  border: 2px solid var(--grid);
  border-radius: 20px;
  box-shadow: var(--shadow-hard);
}

.panel--accent {
  border-color: rgba(38, 240, 200, 0.5);
  box-shadow: var(--shadow-cyan);
}

/* ---------- 图片容器（页面阶段填占位） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  aspect-ratio: var(--media-ratio, 16 / 10);
  background:
    repeating-linear-gradient(45deg, rgba(30, 59, 51, 0.55) 0 10px, rgba(14, 42, 34, 0.55) 10px 20px),
    var(--ink-2);
  border: 2px solid var(--grid);
  border-radius: 18px;
  box-shadow: var(--shadow-hard);
}

.media-frame > img,
.media-frame > picture,
.media-frame > video,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 27, 23, 0) 42%, rgba(7, 27, 23, 0.78));
}

.media-frame[data-no-scrim]::after { display: none; }

.media-frame figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

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

/* ---------- 数据位 ---------- */
.stat { display: block; }

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- 动效 ---------- */
html.js-on .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

html.js-on .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 减弱动效 ---------- */
@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;
  }

  html.js-on .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .header-cta:hover,
  .btn:active,
  .header-cta:active {
    transform: none;
  }
}
