/* ==========================================================================
   时代苍穹 ECHub · 电力—算力中转交易平台
   设计系统 Design System
   ========================================================================== */

:root {
  /* 基础色板 */
  --bg: #F4F7FB;
  --bg-deep: #EDF2F9;
  --panel: #FFFFFF;
  --ink: #0D1A2B;
  --ink-2: #46566E;
  --ink-3: #8494AB;
  --line: #E3E9F2;
  --line-strong: #CFD9E8;

  /* 品牌色：电（蓝）+ 算（青）+ 中转（橙） */
  --brand: #1357F0;
  --brand-soft: #E8EEFE;
  --brand-deep: #0B2E8F;
  --compute: #00A6C0;
  --compute-soft: #E0F6FA;
  --transit: #FF7A1A;
  --transit-soft: #FFF0E3;

  /* 行情色：遵循中国市场惯例，涨红跌绿 */
  --up: #DE2F2F;
  --up-soft: #FDECEC;
  --down: #0BA05F;
  --down-soft: #E4F7ED;
  --green: #12A150;

  /* 阴影 / 圆角 */
  --sh-1: 0 1px 2px rgba(13, 26, 43, .05), 0 1px 3px rgba(13, 26, 43, .04);
  --sh-2: 0 4px 12px rgba(13, 26, 43, .06), 0 2px 4px rgba(13, 26, 43, .04);
  --sh-3: 0 18px 40px -12px rgba(13, 26, 43, .16), 0 4px 12px rgba(13, 26, 43, .05);
  --r-s: 8px;
  --r: 12px;
  --r-l: 18px;
  --r-xl: 26px;

  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: #CFE0FF; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD6E6; border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #A9B8CE; }

/* ==========================================================================
   布局
   ========================================================================== */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

.section { padding: 78px 0; }
.section-sm { padding: 48px 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--compute));
}
.section-head.center .eyebrow::before { display: none; }

h1.title { font-size: clamp(30px, 4vw, 46px); }
h2.title { font-size: clamp(24px, 2.6vw, 33px); }
.sub { color: var(--ink-2); font-size: 16px; margin-top: 14px; line-height: 1.75; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.g-side { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; }
.gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; }
.mt-8 { margin-top: 8px; } .mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-20 { margin-bottom: 20px; }
.grow { flex: 1 1 auto; min-width: 0; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   顶栏 / 导航
   ========================================================================== */

/* 说明：原顶部横幅（.demo-banner）已整体移除。
   合规属性界定现由页脚 .site-footer .f-disclaimer 承担，见文末「页脚」一节。 */

.topline {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--compute));
  color: #DCE7FF; font-size: 12.5px; letter-spacing: .02em;
}
.topline .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topline .row { gap: 20px; }
.topline b { color: #fff; font-weight: 600; }

/* 让注入的包裹节点不产生盒子，保证内部吸顶导航的包含块是 body */
#site-header { display: contents; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--compute) 100%);
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(19, 87, 240, .7);
}
.brand .name { font-size: 18px; }
.brand .name span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); transition: .16s;
}
.nav-links a:hover { background: var(--bg-deep); color: var(--ink); }
.nav-links a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
}
.burger span::before { top: -5px; } .burger span::after { top: 5px; }

.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 24px; border-top: 1px solid var(--line); font-size: 15px; }

/* ==========================================================================
   按钮 / 标签
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .14s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2E7BFF);
  color: #fff; box-shadow: 0 8px 20px -8px rgba(19, 87, 240, .75);
}
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(19, 87, 240, .85); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: #FCFDFF; }
.btn-power { background: var(--transit); color: #fff; box-shadow: 0 8px 20px -9px rgba(255, 122, 26, .9); }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 25px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em;
  background: var(--bg-deep); color: var(--ink-2); white-space: nowrap;
}
.tag-brand { background: var(--brand-soft); color: var(--brand); }
.tag-compute { background: var(--compute-soft); color: #087A91; }
.tag-transit { background: var(--transit-soft); color: #C4560A; }
.tag-green { background: var(--down-soft); color: var(--down); }
.tag-up { background: var(--up-soft); color: var(--up); }
.tag-line { background: #fff; border: 1px solid var(--line-strong); }

.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.dot-live { box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .55); }
  70% { box-shadow: 0 0 0 7px rgba(18, 161, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); }
}

/* ==========================================================================
   卡片
   ========================================================================== */

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--sh-1); padding: 22px; position: relative;
}
.card-pad-0 { padding: 0; overflow: hidden; }
.card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #D3DEF0; }

.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.card-head h3 { font-size: 15.5px; }
.card-head .hint { font-size: 12.5px; color: var(--ink-3); }
.card-body { padding: 20px 22px; }

.icon-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; flex: none; background: var(--brand-soft);
}
.ib-compute { background: var(--compute-soft); }
.ib-transit { background: var(--transit-soft); }
.ib-green { background: var(--down-soft); }

.feature h4 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 14.5px; }

/* KPI */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.kpi .k-label { font-size: 12.5px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .k-val {
  font-family: var(--mono); font-size: 25px; font-weight: 700; letter-spacing: -.02em;
  margin-top: 6px; font-variant-numeric: tabular-nums;
}
.kpi .k-val small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 4px; font-family: var(--sans); }
.kpi .k-meta { font-size: 12.5px; margin-top: 6px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.c-up { color: var(--up); } .c-down { color: var(--down); } .c-flat { color: var(--ink-3); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; padding: 74px 0 66px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(19, 87, 240, .14), transparent 62%),
    radial-gradient(760px 400px at 96% 6%, rgba(0, 166, 192, .16), transparent 60%),
    radial-gradient(600px 360px at 60% 110%, rgba(255, 122, 26, .09), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(19, 87, 240, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(19, 87, 240, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 76%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.14; letter-spacing: -.035em; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 6%, var(--compute) 52%, var(--transit) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 17px; color: var(--ink-2); margin-top: 20px; max-width: 620px; line-height: 1.8; }
.hero .actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--ink-3); }
.hero .trust b { color: var(--ink); font-family: var(--mono); font-size: 15px; }

.hero-visual {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); padding: 20px; position: relative;
}
.hero-visual .panel-title { font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex;
  align-items: center; justify-content: space-between; }

/* 实时行情 ticker */
.ticker-strip {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.ticker-strip::before, .ticker-strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-strip::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.ticker-strip::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.ticker-track { display: flex; gap: 40px; padding: 12px 0; width: max-content; animation: marquee 46s linear infinite; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; }
.tick .t-name { color: var(--ink-2); font-weight: 600; }
.tick .t-val { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.tick .t-chg { font-family: var(--mono); font-size: 12.5px; font-weight: 700; }

/* 中转流程 */
.flow { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 0; align-items: stretch; }
.flow-col { padding: 22px; border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; }
.flow-col.mid { background: linear-gradient(160deg, #0D2A6B, #1357F0 62%, #00A6C0); color: #fff;
  border: none; box-shadow: 0 22px 46px -20px rgba(19, 87, 240, .75); }
.flow-col.mid .f-item { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.18); color: #EAF1FF; }
.flow-col.mid h4 { color: #fff; }
.f-item { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; border-radius: 11px;
  background: var(--bg); border: 1px solid var(--line); margin-top: 10px; font-size: 14px; }
.f-item .fi-ico { font-size: 16px; line-height: 1.5; }
.flow-arrow { display: grid; place-items: center; color: var(--line-strong); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); height: 26px; }
}

/* 表格 */
.table-scroll { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tb th {
  text-align: left; font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  letter-spacing: .04em; padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: #FAFCFE; white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
table.tb td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tb tbody tr:hover { background: #FAFCFF; }
table.tb tbody tr:last-child td { border-bottom: none; }
table.tb .t-right { text-align: right; }
table.tb .t-center { text-align: center; }
table.tb .strong { font-weight: 600; }
table.tb .muted { color: var(--ink-3); font-size: 13px; }

.region-chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.region-chip .rc-ico {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; flex: none;
}

/* 进度条 */
.bar { height: 6px; border-radius: 6px; background: var(--bg-deep); overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--compute)); }
.bar.power > i { background: linear-gradient(90deg, var(--transit), #FFB067); }
.bar.green > i { background: linear-gradient(90deg, var(--green), #4AD295); }

/* 行情列表行 */
.quote-list { display: flex; flex-direction: column; }
.quote-row {
  display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 13.5px; transition: background .15s;
}
.quote-row:hover { background: #FAFCFF; }
.quote-row:last-child { border-bottom: none; }
.quote-row.head { background: #FAFCFE; font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  border-bottom: 1px solid var(--line); }
.quote-row .q-name { font-weight: 600; }
.quote-row .q-sub { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.t-right { text-align: right; }

/* ==========================================================================
   交易页
   ========================================================================== */

.book { font-size: 13.5px; }
.book-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 6px 14px;
  font-family: var(--mono); font-variant-numeric: tabular-nums; position: relative;
  cursor: pointer; transition: background .12s;
}
.book-row:hover { background: #F4F8FF; }
.book-row .depth-bar { position: absolute; top: 0; bottom: 0; right: 0; opacity: .12; pointer-events: none; }
.book-row.ask .depth-bar { background: var(--up); }
.book-row.bid .depth-bar { background: var(--down); }
.book-row .bp { position: relative; z-index: 1; font-weight: 700; }
.book-row .bz, .book-row .bq { position: relative; z-index: 1; text-align: right; color: var(--ink-2); }
.book-mid {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #FAFCFE;
}
.book-mid .last { font-family: var(--mono); font-size: 22px; font-weight: 700; }

.trade-tabs { display: flex; gap: 6px; padding: 4px; background: var(--bg-deep); border-radius: 10px; }
.trade-tabs button {
  flex: 1; height: 34px; border: none; background: transparent; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .16s;
}
.trade-tabs button.active { background: #fff; color: var(--brand); box-shadow: var(--sh-1); }
.trade-tabs button.active.sell { color: var(--down); }

.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; }
.form-row label em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.field {
  height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 13px;
  background: #fff; width: 100%; transition: border-color .16s, box-shadow .16s; font-size: 14.5px;
}
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19, 87, 240, .12); }
.field.mono { font-family: var(--mono); font-weight: 600; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238494AB' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.input-group { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; overflow: hidden; }
.input-group:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19, 87, 240, .12); }
.input-group input { border: none; height: 44px; padding: 0 13px; flex: 1; min-width: 0; background: transparent; }
.input-group input:focus { outline: none; }
.input-group .suffix { padding: 0 13px; font-size: 13px; color: var(--ink-3); background: #F7FAFD;
  align-self: stretch; display: flex; align-items: center; border-left: 1px solid var(--line); }
.stepper { display: flex; gap: 6px; }
.stepper button {
  flex: 1; height: 28px; border: 1px solid var(--line-strong); background: #fff; border-radius: 7px;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
}
.stepper button:hover { border-color: var(--brand); color: var(--brand); }

.mini-summary { background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 10px;
  padding: 12px 14px; font-size: 13px; }
.mini-summary .ms-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); }
.mini-summary .ms-row b { color: var(--ink); font-family: var(--mono); }

/* 深度图 */
.depth-chart { width: 100%; height: 150px; display: block; }

/* ==========================================================================
   地图 / 节点
   ========================================================================== */

#map { width: 100%; height: 560px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-deep); }
.map-shell { position: relative; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.map-overlay {
  position: absolute; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 14px 16px;
}
.map-overlay.tl { top: 16px; left: 16px; width: 236px; }
.map-overlay.bl { bottom: 16px; left: 16px; }
.map-fallback {
  height: 560px; display: grid; place-items: center; text-align: center; padding: 30px;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(19,87,240,.10), transparent 60%),
    radial-gradient(500px 280px at 88% 84%, rgba(0,166,192,.12), transparent 60%),
    #F7FAFD;
}
.legend-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 3px 0; color: var(--ink-2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

.node-list { max-height: 560px; overflow-y: auto; }
.node-item {
  display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .15s; align-items: center;
}
.node-item:hover { background: #F6FAFF; }
.node-item.active { background: var(--brand-soft); }
.node-item .n-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 12px; flex: none;
}
.node-item .n-name { font-weight: 600; font-size: 14px; }
.node-item .n-meta { font-size: 12px; color: var(--ink-3); }

/* ==========================================================================
   控制台
   ========================================================================== */

.side-nav { position: sticky; top: 90px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 10px;
  font-size: 14px; color: var(--ink-2); font-weight: 500; transition: .15s;
}
.side-nav a:hover { background: var(--bg-deep); color: var(--ink); }
.side-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); }
.tl-item.done::before { background: var(--brand); }
.tl-item .tl-t { font-size: 14px; font-weight: 600; }
.tl-item .tl-d { font-size: 12.5px; color: var(--ink-3); }

/* 公告 / 提示条 */
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r);
  background: var(--brand-soft); border: 1px solid #D2E0FF; font-size: 14px; color: #10357F;
}
.notice.warn { background: var(--transit-soft); border-color: #FFD9B8; color: #95410A; }
.notice.ok { background: var(--down-soft); border-color: #BFEBD4; color: #06603A; }

/* ==========================================================================
   CTA / Footer
   ========================================================================== */

.cta-band {
  border-radius: var(--r-xl); padding: 48px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0C2461, #1357F0 58%, #00A6C0); color: #fff;
  box-shadow: 0 28px 60px -26px rgba(19, 87, 240, .8);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 82% 20%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 82% 20%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(23px, 2.6vw, 32px); }
.cta-band p { color: #C9D9FF; margin-top: 12px; max-width: 620px; font-size: 15.5px; }

.site-footer { background: #0B1526; color: #8FA1BC; margin-top: 80px; font-size: 13.5px; }
.site-footer .f-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding: 52px 0 40px; }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .name span { color: #6C7F9C; }
.site-footer h5 { color: #fff; font-size: 13.5px; font-weight: 700; margin: 0 0 14px; letter-spacing: .02em; }
.site-footer a { display: block; padding: 5px 0; color: #8FA1BC; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .f-bot {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #6C7F9C;
}
.site-footer .f-desc { color: #7C8DA8; margin-top: 14px; line-height: 1.7; max-width: 320px; }

/* 页脚法律声明：删去顶部横幅后，这里是唯一的属性界定，需清晰可读 */
.site-footer .f-disclaimer {
  margin-top: 8px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; line-height: 1.85; color: #7C8DA8;
}
.site-footer .f-disclaimer b { color: #C9D6E8; font-weight: 700; margin-right: 8px; }

/* 工具 */
.divider { height: 1px; background: var(--line); margin: 20px 0; border: none; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.skeleton-note { font-size: 12px; color: var(--ink-3); border-top: 1px dashed var(--line-strong);
  margin-top: 16px; padding-top: 12px; }

/* 响应式 */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main, .g-side { grid-template-columns: 1fr; }
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .g-3 { grid-template-columns: 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .wrap, .wrap-wide { padding: 0 18px; }
  #map, .map-fallback { height: 420px; }
  .cta-band { padding: 32px 24px; }
  .site-footer .f-top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 26px; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: 1fr; }
  .quote-row { grid-template-columns: minmax(0,1.2fr) repeat(2, minmax(0,1fr)); }
  .quote-row > :nth-child(4) { display: none; }
}

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