/* ==========================================================================
   竞技宝主站 · 共享样式 /assets/site.css
   坐标网格 + 信号灯：深墨蓝底色、荧光青定位、赛道橙行动
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

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

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

summary { cursor: pointer; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink-900: #0A1020;
  --charcoal-850: #141A24;
  --graphite-700: #26313F;
  --panel-600: #1B2432;
  --signal-cyan: #25F0D4;
  --track-orange: #FF6A2B;
  --alert-yellow: #FFD23F;
  --volt-violet: #8A6BFF;
  --status-green: #2ED47A;
  --slate-200: #C9D4E3;
  --white-000: #FFFFFF;
  --paper-050: #F2F5FA;

  --muted-400: #8B9BB4;
  --muted-500: #7C8CA6;

  --rail-w: 96px;
  --shell-pad: clamp(16px, 4vw, 40px);
  --content-max: 1280px;

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

  --font-head: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 180ms;
  --dur-base: 260ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--slate-200);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(rgba(38, 49, 63, .42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 49, 63, .42) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  min-height: 100vh;
  padding-left: var(--rail-w);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--white-000);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5.2vw, 58px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
h4 { font-size: clamp(16px, 1.6vw, 18px); }

p { max-width: 68ch; }

a { transition: color var(--dur-fast) var(--ease); }

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

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

.mono,
.coord-card__index,
.eyebrow,
.breadcrumb,
.footer-contact__k,
.media-frame__label {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .04em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  color: #A9B8CE;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--signal-cyan), rgba(37, 240, 212, 0));
}

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

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

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 108px);
}

.section--panel {
  background: var(--charcoal-850);
  border-block: 1px solid var(--graphite-700);
}

.section--paper {
  background: var(--paper-050);
  color: #33415C;
}

.section--paper :is(h1, h2, h3, h4) { color: var(--ink-900); }
.section--paper .eyebrow { color: #0E8F7E; }
.section--paper .eyebrow::before { background: linear-gradient(90deg, #0E8F7E, rgba(14, 143, 126, 0)); }

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

.grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.grid--auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.stack > * + * { margin-top: var(--stack-gap, 16px); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--signal-cyan); color: var(--ink-900); }
.btn--primary:hover { background: #4ff7df; }

.btn--action {
  background: var(--track-orange);
  color: #1A0800;
  box-shadow: 0 10px 26px -14px rgba(255, 106, 43, .95);
}
.btn--action:hover { background: #ff8148; }

.btn--ghost {
  background: transparent;
  border-color: var(--graphite-700);
  color: var(--slate-200);
}
.btn--ghost:hover {
  border-color: var(--signal-cyan);
  color: var(--white-000);
}

/* ---------- 6. 状态标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  background: rgba(37, 240, 212, .10);
  border: 1px solid rgba(37, 240, 212, .30);
  color: var(--signal-cyan);
}

.chip--orange {
  background: rgba(255, 106, 43, .12);
  border-color: rgba(255, 106, 43, .34);
  color: var(--track-orange);
}

.chip--yellow {
  background: rgba(255, 210, 63, .12);
  border-color: rgba(255, 210, 63, .32);
  color: var(--alert-yellow);
}

.chip--violet {
  background: rgba(138, 107, 255, .14);
  border-color: rgba(138, 107, 255, .34);
  color: var(--volt-violet);
}

/* ---------- 7. 信号灯 ---------- */
.signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-400);
}

.signal__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-400);
  animation: signal-breathe 2.4s ease-in-out infinite;
}

.signal--cyan .signal__dot {
  background: var(--signal-cyan);
  box-shadow: 0 0 0 3px rgba(37, 240, 212, .16);
}

.signal--green .signal__dot {
  background: var(--status-green);
  box-shadow: 0 0 0 3px rgba(46, 212, 122, .16);
}

.signal--yellow .signal__dot {
  background: var(--alert-yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, .16);
}

@keyframes signal-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.78); }
}

/* ---------- 8. 跳至内容 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--signal-cyan);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus { top: 14px; }

/* ---------- 9. 侧边品牌轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 0 26px;
  background: var(--charcoal-850);
  border-right: 1px solid var(--graphite-700);
  overflow: hidden;
}

.rail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(38, 49, 63, .85) 0 1px,
    transparent 1px 44px
  );
  opacity: .8;
}

.rail__brand {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--white-000);
}

.rail__season {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--signal-cyan);
}

.rail__gauge {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 40px;
  width: 2px;
  margin-block: 8px;
  border-radius: 2px;
  background: var(--graphite-700);
  overflow: hidden;
}

.rail__gauge-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--signal-cyan), var(--volt-violet) 58%, var(--track-orange));
}

.rail__coord {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted-500);
}

/* ---------- 10. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 16, 32, .97), rgba(10, 16, 32, .91));
  border-bottom: 1px solid var(--graphite-700);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-base) var(--ease);
}

.site-header.is-condensed {
  box-shadow: 0 22px 46px -34px rgba(0, 0, 0, .95);
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - var(--shell-pad) * 2), var(--content-max));
  margin-inline: auto;
  padding-block: 10px;
  border-bottom: 1px solid rgba(38, 49, 63, .7);
  transition: padding var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}

.site-header.is-condensed .statusbar {
  padding-block: 2px;
  opacity: .62;
}

.statusbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  min-width: 0;
}

.statusbar__logo {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white-000);
  white-space: nowrap;
}

.statusbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-500);
  white-space: nowrap;
}

.statusbar__tag::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--graphite-700);
}

.statusbar__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(calc(100% - var(--shell-pad) * 2), var(--content-max));
  margin-inline: auto;
  padding-block: 12px;
  transition: padding var(--dur-base) var(--ease);
}

.site-header.is-condensed .navbar { padding-block: 6px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--graphite-700);
  background: var(--panel-600);
  color: var(--white-000);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--signal-cyan);
}

.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { content: ""; position: absolute; top: -5px; }
.nav-toggle__bars::after { content: ""; position: absolute; top: 5px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-200);
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.nav-list a:hover {
  background: var(--panel-600);
  border-color: var(--graphite-700);
  color: var(--white-000);
}

.nav-list a[aria-current="page"] {
  background: var(--signal-cyan);
  color: var(--ink-900);
  font-weight: 700;
}

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--track-orange);
  color: #1A0800;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 26px -16px rgba(255, 106, 43, .95);
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.nav-cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 600;
}

.nav-cta:hover { background: #ff8148; transform: translateY(-2px); }

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--charcoal-850);
  border-top: 1px solid var(--graphite-700);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--signal-cyan) 0 22px,
    transparent 22px 40px,
    var(--track-orange) 40px 62px,
    transparent 62px 82px
  );
  opacity: .75;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  width: min(calc(100% - var(--shell-pad) * 2), var(--content-max));
  margin-inline: auto;
  padding-block: clamp(44px, 6vw, 72px);
}

.footer-brand__logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white-000);
  max-width: none;
}

.footer-brand__tag {
  margin-top: 8px;
  font-size: 14px;
  color: var(--signal-cyan);
  max-width: none;
}

.footer-brand__note {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-400);
  max-width: 40ch;
}

.footer-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-500);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14.5px;
  color: var(--slate-200);
}

.footer-col a:hover { color: var(--signal-cyan); }

.footer-contact {
  gap: 12px !important;
}

.footer-contact li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-200);
  word-break: break-word;
}

.footer-contact__k {
  display: inline-block;
  margin-right: 10px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--track-orange);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: min(calc(100% - var(--shell-pad) * 2), var(--content-max));
  margin-inline: auto;
  padding-block: 18px 26px;
  border-top: 1px solid var(--graphite-700);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted-500);
}

.footer-legal p { max-width: none; }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-block: 20px 4px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted-500);
}

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

.breadcrumb li::after {
  content: "/";
  margin-inline: 8px;
  color: var(--graphite-700);
}

.breadcrumb li:last-child::after { content: ""; }

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

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

/* ---------- 13. 坐标卡 ---------- */
.coord-card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--graphite-700);
  background: var(--panel-600);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.coord-card::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(37, 240, 212, .55);
}

.coord-card::after {
  content: "";
  position: absolute;
  top: 21.5px;
  right: 21.5px;
  width: 1px;
  height: 1px;
  background: var(--signal-cyan);
  box-shadow: 0 0 0 2px var(--signal-cyan);
  border-radius: 50%;
}

.coord-card:hover {
  border-color: rgba(37, 240, 212, .45);
  transform: translateY(-3px);
}

.coord-card__index {
  display: inline-block;
  font-size: 12px;
  color: var(--signal-cyan);
  letter-spacing: .14em;
}

.coord-card__title {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white-000);
}

.coord-card__meta {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-400);
}

/* ---------- 14. 路径步骤 ---------- */
.steps {
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--graphite-700);
  background: var(--panel-600);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, var(--track-orange), rgba(255, 106, 43, 0));
}

.step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 43, .42);
  background: rgba(255, 106, 43, .08);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--track-orange);
}

.step__body { min-width: 0; }

.step__body h3 { font-size: 17px; }

.step__body p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-400);
}

/* ---------- 15. 标签页 ---------- */
.tabs { display: grid; gap: 20px; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  width: fit-content;
  max-width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid var(--graphite-700);
  background: var(--panel-600);
}

.tab {
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-400);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.tab:hover { color: var(--white-000); }

.tab[aria-selected="true"] {
  background: var(--signal-cyan);
  color: var(--ink-900);
}

.tab-panel { animation: panel-in var(--dur-base) var(--ease) both; }

.tab-panel[hidden] { display: none; }

@keyframes panel-in {
  from { opacity: 0; transform: translate3d(-12px, 12px, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- 16. 折叠块 ---------- */
.collapse {
  border: 1px solid var(--graphite-700);
  border-radius: var(--radius-md);
  background: var(--panel-600);
  overflow: hidden;
}

.collapse + .collapse { margin-top: 10px; }

.collapse summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white-000);
  list-style: none;
}

.collapse summary::-webkit-details-marker { display: none; }

.collapse summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--signal-cyan);
}

.collapse[open] summary::after { content: "–"; }

.collapse__body {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-400);
}

.collapse__body p { max-width: 62ch; }

/* ---------- 17. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid var(--graphite-700);
  background: var(--charcoal-850);
  aspect-ratio: 16 / 10;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 16, 32, 0) 52%, rgba(10, 16, 32, .78) 100%),
    repeating-linear-gradient(90deg, rgba(37, 240, 212, .09) 0 1px, transparent 1px 56px);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37, 240, 212, .32);
  background: rgba(10, 16, 32, .74);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--signal-cyan);
}

/* ---------- 18. 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(-12px, 12px, 0);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

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

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .statusbar__meta { gap: 12px; }
  .signal { font-size: 12px; }
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; }

  body { background-size: 44px 44px; }

  .rail { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px var(--shell-pad) 18px;
    border-top: 1px solid var(--graphite-700);
    border-bottom: 1px solid var(--graphite-700);
    background: var(--charcoal-850);
    box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .9);
  }

  .nav-list[data-open] { display: flex; }

  .nav-list a { width: 100%; }

  .statusbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .statusbar__meta { flex-wrap: wrap; gap: 8px 16px; }

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

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

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

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

  .statusbar__tag { display: none; }

  .navbar { gap: 6px; }

  .nav-cta {
    padding: 0 14px;
    font-size: 13.5px;
  }

  .nav-cta::after { content: ""; }

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

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

  .tab-list { width: 100%; }

  .tab { flex: 1 1 auto; padding: 0 12px; }

  .footer-legal { font-size: 11.5px; }
}

/* ---------- 20. 减弱动效 ---------- */
@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 [data-reveal],
  .js [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
  }

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

  .btn:hover,
  .coord-card:hover,
  .nav-cta:hover { transform: none; }
}
