/* =========================================================
   乐竞赛场 · 共享样式 /assets/site.css
   赛场墨蓝底 + 数据网格 + 霓虹青绿锚点
   ========================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 变量 ---------- */
:root {
  --ink: #0A1622;
  --ink-deep: #060B12;
  --panel: #14181D;
  --panel-2: #101720;
  --line: #1E3240;
  --teal: #2FE3B4;
  --teal-deep: #109C7C;
  --orange: #FF7B33;
  --rose: #FF4D7E;
  --mist: #EEF4F6;
  --steel: #8C9BA8;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --pill: 999px;

  --shell: 1240px;
  --header-h: 76px;

  --font-display: "Noto Sans SC Condensed", "Source Han Sans HC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 底色与中文排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(920px 640px at 84% -8%, rgba(47, 227, 180, .15), transparent 62%),
    radial-gradient(760px 520px at 2% 24%, rgba(255, 123, 51, .09), transparent 66%),
    repeating-linear-gradient(90deg, rgba(30, 50, 64, .40) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(30, 50, 64, .26) 0 1px, transparent 1px 88px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 900px) {
  body { font-size: 16px; }
}
::selection { background: rgba(47, 227, 180, .3); color: var(--mist); }

/* ---------- 通用焦点 ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--teal);
  color: #06231C;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* =========================================================
   页头
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(6, 11, 18, .78), rgba(6, 11, 18, 0));
  transition: background-color .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.site-header[data-scrolled="true"] {
  background-color: rgba(10, 22, 34, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 24px 48px -40px #000;
  backdrop-filter: blur(14px) saturate(140%);
}
.header-grid {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--mist);
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--teal), var(--teal-deep) 68%, #0B6B55);
  box-shadow: 0 10px 26px -14px rgba(47, 227, 180, .95), inset 0 0 0 1px rgba(238, 244, 246, .18);
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(6, 35, 28, .88);
  transform: rotate(-14deg);
}
.brand__mark::before { top: 12px; }
.brand__mark::after { top: 20px; opacity: .55; }
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: .02em;
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--steel);
}

/* 导航 */
.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  color: var(--steel);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease);
}
.nav-link:hover {
  color: var(--mist);
  border-color: rgba(47, 227, 180, .42);
  background: rgba(47, 227, 180, .06);
  box-shadow: 0 0 0 1px rgba(47, 227, 180, .12), 0 0 20px -8px rgba(47, 227, 180, .8);
}
.nav-link[aria-current="page"] {
  color: var(--teal);
  border-color: rgba(47, 227, 180, .58);
  background: rgba(47, 227, 180, .09);
}

/* 页头右侧 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.status-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(20, 24, 29, .82);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 227, 180, .16);
}
.status-chip[data-tip]::after,
.status-capsule[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(6, 11, 18, .97);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
  z-index: 120;
}
.status-chip[data-tip]:hover::after,
.status-chip[data-tip]:focus-within::after,
.status-capsule[data-tip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(20, 24, 29, .9);
  color: var(--mist);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.nav-toggle:hover { border-color: rgba(47, 227, 180, .5); box-shadow: 0 0 18px -8px rgba(47, 227, 180, .9); }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0A1622 0%, #070E16 72%);
  overflow: hidden;
}
.footer-accent {
  position: absolute;
  right: -6%;
  bottom: -50px;
  width: min(460px, 62%);
  height: 140px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, rgba(47, 227, 180, .16), rgba(255, 123, 51, .11) 62%, transparent);
  transform: rotate(-3.5deg);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(16px, 3vw, 32px) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.brand--footer .brand__name { font-size: 18px; }
.footer-brand__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(238, 244, 246, .9);
}
.footer-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 34ch;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer-col__title {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--steel);
}
.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: inline-block;
  color: var(--steel);
  font-size: 15px;
  text-decoration: none;
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer-link:hover { color: var(--teal); transform: translateX(3px); }
.footer-contact { display: flex; flex-direction: column; }
.footer-contact__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label btn" "value btn";
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30, 50, 64, .6);
}
.footer-contact__label {
  grid-area: label;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--steel);
}
.footer-contact__value {
  grid-area: value;
  font-size: 15px;
  color: var(--mist);
  overflow-wrap: anywhere;
}
.copy-btn {
  grid-area: btn;
  align-self: center;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(20, 24, 29, .8);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.copy-btn:hover { color: var(--teal); border-color: rgba(47, 227, 180, .5); box-shadow: 0 0 16px -8px rgba(47, 227, 180, .9); }
.copy-btn[data-copied="true"] { color: #06231C; background: var(--teal); border-color: var(--teal); }
.footer-address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}
.footer-base {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 32px) 28px;
  border-top: 1px solid rgba(30, 50, 64, .7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-base__meta,
.footer-base__legal {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--steel);
}

/* =========================================================
   布局骨架
   ========================================================= */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 32px);
}
.page-main { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 64px)); }
.page-main--flush { padding-top: 0; }
.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }
.hairline { height: 1px; border: 0; background: var(--line); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .col-3, .col-4, .col-5, .col-7, .col-8, .col-9 { grid-column: span 12; }
}

.stack-sm > * + * { margin-top: 10px; }
.stack-md > * + * { margin-top: clamp(16px, 2vw, 24px); }

/* =========================================================
   文字层级
   ========================================================= */
.display-xl,
.display-lg,
.display-md,
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .98;
}
.display-xl { font-size: clamp(44px, 9vw, 132px); }
.display-lg { font-size: clamp(28px, 4.2vw, 56px); }
.display-md { font-size: clamp(22px, 2.6vw, 34px); }
.section-title { font-size: clamp(26px, 3.4vw, 44px); }
.heading {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.65;
  color: rgba(238, 244, 246, .88);
}
.mono {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .02em;
}
.muted { color: var(--steel); }
.text-teal { color: var(--teal); }
.text-orange { color: var(--orange); }
.text-rose { color: var(--rose); }

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn--primary {
  background: var(--teal);
  color: #06231C;
  box-shadow: 0 16px 34px -20px rgba(47, 227, 180, .95);
}
.btn--primary:hover {
  background: #3BF1C2;
  box-shadow: 0 0 0 1px var(--teal), 0 20px 44px -20px rgba(47, 227, 180, .9);
}
.btn--primary:active { background: var(--teal-deep); color: var(--mist); }
.btn--ghost {
  background: rgba(20, 24, 29, .72);
  border-color: var(--line);
  color: var(--mist);
}
.btn--ghost:hover {
  color: var(--teal);
  border-color: rgba(47, 227, 180, .55);
  box-shadow: 0 0 22px -12px rgba(47, 227, 180, .95);
}
.btn--small { height: 40px; padding: 0 18px; font-size: 14px; }

/* =========================================================
   状态胶囊
   ========================================================= */
.status-capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid currentColor;
  background: rgba(20, 24, 29, .7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
}
.status-capsule--ok { color: var(--teal); }
.status-capsule--warn { color: var(--orange); }
.status-capsule--alert { color: var(--rose); }
.status-capsule--idle { color: var(--steel); }

/* =========================================================
   面板 / 卡片
   ========================================================= */
.panel {
  position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, var(--panel) 0%, var(--panel-2) 100%);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.panel:hover {
  border-color: rgba(47, 227, 180, .42);
  box-shadow: 0 0 0 1px rgba(47, 227, 180, .12), 0 30px 60px -44px rgba(47, 227, 180, .9);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--orange);
}
.panel__status { flex: 0 0 auto; }
.panel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.panel__body { color: rgba(238, 244, 246, .78); }
.panel__body > * + * { margin-top: 12px; }

/* =========================================================
   面包屑 / 结论条
   ========================================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: #2B4052; }
.breadcrumbs__link { color: var(--steel); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--teal); }

.result-bar {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 12px 20px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(13, 30, 43, .93);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mist);
}
.result-bar__label { font-size: 12px; letter-spacing: .12em; color: var(--steel); }
.result-bar__value { color: var(--teal); }
.result-bar__spacer { margin-left: auto; }

/* =========================================================
   时间线（赛道轨道）
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), var(--orange) 55%, rgba(30, 50, 64, .3));
}
.timeline__item { position: relative; padding-bottom: clamp(22px, 3vw, 36px); }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(47, 227, 180, .12);
}
.timeline__item[data-tone="orange"]::before {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 123, 51, .14);
}
.timeline__item[data-tone="rose"]::before {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 126, .16);
}
.timeline__item.is-active::before { animation: node-pulse .8s var(--ease) 1; }
.timeline__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--steel);
}
.timeline__title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 4px;
}
.timeline__body { margin-top: 6px; color: rgba(238, 244, 246, .76); font-size: 16px; }
@keyframes node-pulse {
  from { box-shadow: 0 0 0 0 rgba(47, 227, 180, .44); }
  to { box-shadow: 0 0 0 18px rgba(47, 227, 180, 0); }
}

/* =========================================================
   筛选 / 标签页
   ========================================================= */
.tag-filter,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-filter__btn,
.tabs__btn {
  height: 38px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(20, 24, 29, .78);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.tag-filter__btn:hover,
.tabs__btn:hover { color: var(--mist); border-color: rgba(47, 227, 180, .45); }
.tag-filter__btn[aria-pressed="true"],
.tabs__btn[aria-selected="true"] {
  color: #06231C;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 14px 30px -20px rgba(47, 227, 180, .95);
}
.filter-item { transition: opacity .18s var(--ease), transform .18s var(--ease); }
.filter-item.is-hidden { display: none; }
.filter-item.is-entering { animation: filter-in .18s var(--ease) both; }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: filter-in .18s var(--ease) both; }
@keyframes filter-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   图片容器基础规则（页面阶段放图）
   ========================================================= */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #101A24, #0B1219);
  overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(6, 11, 18, .92), transparent);
}
.media-frame--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(47, 227, 180, .07) 0 10px, transparent 10px 20px);
}

/* =========================================================
   斜向破格块 / 锚点侧栏 / 进场
   ========================================================= */
.slant-block {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 227, 180, .22);
  background: linear-gradient(115deg, rgba(47, 227, 180, .15), rgba(255, 123, 51, .11) 62%, rgba(255, 77, 126, .08));
  transform: rotate(-3.5deg);
}
.slant-block--right { transform: rotate(3.5deg); }

.anchor-nav {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.anchor-nav__link {
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line);
  color: var(--steel);
  font-size: 14px;
  text-decoration: none;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.anchor-nav__link:hover { color: var(--mist); }
.anchor-nav__link.is-active { color: var(--teal); border-left-color: var(--teal); }

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* 滚动进度条（由 JS 注入） */
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(30, 50, 64, .45);
  pointer-events: none;
}
.progress-rail__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transition: width .12s linear;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .status-chip { display: none; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: span 3; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .brand__sub { display: none; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 14px clamp(16px, 4vw, 28px) 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 17, 26, .985);
    box-shadow: 0 40px 60px -40px #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-link {
    height: 48px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border-color: rgba(30, 50, 64, .95);
    background: rgba(20, 24, 29, .72);
    color: var(--mist);
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--contact { grid-column: auto; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .result-bar {
    position: static;
    border-radius: var(--radius-md);
  }
}
@media (max-width: 560px) {
  .header-actions { gap: 8px; }
  .btn--small { height: 38px; padding: 0 14px; font-size: 13px; }
  .brand__name { font-size: 17px; }
  .display-xl { font-size: clamp(38px, 12vw, 64px); }
  .slant-block { transform: rotate(-2deg); }
}

/* =========================================================
   动效降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .filter-item.is-entering,
  .tabs__panel.is-active { animation: none !important; }
  .progress-rail { display: none; }
}
