/* ==========================================================================
   TokenRate 工作台 · 2026-09 视觉翻新版
   设计语言：石墨深色工作台 + 翡翠绿主色 + 天蓝辅助
   ========================================================================== */

:root {
  /* 色板 */
  --bg: #0b1017;
  --bg-2: #0d141d;
  --surface: #121a25;
  --surface-2: #16202d;
  --surface-3: #1b2836;
  --text: #e9f1f8;
  --muted: #93a5b8;
  --faint: #6b7f93;
  --line: rgba(148, 180, 210, 0.13);
  --line-strong: rgba(148, 180, 210, 0.25);

  --accent: #34d399;
  --accent-deep: #0ea472;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --sky: #38bdf8;
  --sky-soft: rgba(56, 189, 248, 0.12);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);
  --red: #fb7185;
  --red-soft: rgba(251, 113, 133, 0.12);
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(2, 8, 16, 0.45);
  --shadow-lg: 0 20px 56px rgba(2, 8, 16, 0.55);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --font-sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --maxw: 1320px;
  --nav-h: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(52, 211, 153, 0.07), transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, rgba(56, 189, 248, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* 锚点定位预留粘性导航高度 */
section[id], div[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

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

::selection { background: rgba(52, 211, 153, 0.3); }

/* 通用数字等宽显示 */
td, .metric-grid strong, .result-card strong, .bar-row b, .edge-metrics strong {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   顶部导航：品牌行 + 可横滑胶囊导航
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 23, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--maxw);
  min-height: 62px;
  margin: 0 auto;
  padding: 10px 28px 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 19px;
  color: #06281c;
  background: linear-gradient(135deg, var(--accent) 0%, #2dd4bf 55%, var(--sky) 130%);
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.35);
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.top-meta {
  color: var(--faint);
  font-size: 12.5px;
  white-space: nowrap;
}

.top-action {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #06281c;
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.top-action:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(52, 211, 153, 0.45);
}

/* 横向滚动导航 */
.nav {
  display: flex;
  gap: 4px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--text);
  text-decoration: none;
  background: var(--surface-2);
}
.nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(52, 211, 153, 0.35);
  font-weight: 600;
}

/* ==========================================================================
   布局骨架
   ========================================================================== */

main {
  display: block;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 28px 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.section-head.tight { margin-bottom: 18px; }

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.section-head p {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 14px;
}

.update-note {
  color: var(--faint);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.3);
  white-space: nowrap;
}
.data-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

/* ==========================================================================
   Hero 区
   ========================================================================== */

.edge-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 28px 8px;
}

.edge-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.edge-dot-grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.edge-dot-grid span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-3);
  transition: background 0.2s ease;
}
.edge-dot-grid:hover span { background: var(--accent); }

.edge-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 4px 6px 4px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.edge-search:focus-within {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.edge-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.edge-search input::placeholder { color: var(--faint); }
.edge-search a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #06281c;
  font-size: 15px;
  background: var(--accent);
  flex-shrink: 0;
}
.edge-search a:hover { text-decoration: none; filter: brightness(1.1); }

.edge-weather {
  margin-left: auto;
  color: var(--faint);
  font-size: 13px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.edge-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.edge-shortcuts a {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.15s ease;
}
.edge-shortcuts a:hover {
  text-decoration: none;
  color: var(--accent);
  border-color: rgba(52, 211, 153, 0.4);
  background: var(--accent-soft);
}

.edge-news-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.edge-main-card,
.edge-side-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edge-main-card:hover,
.edge-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.edge-main-card {
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.edge-main-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

.edge-side-card { display: grid; grid-template-rows: 1fr auto; }
.edge-side-card img { width: 100%; height: 150px; object-fit: cover; }
.edge-side-card > div {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.edge-main-card > div { padding: 26px 28px; align-self: center; }

.edge-main-card span,
.edge-side-card span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.edge-main-card h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 31px);
  line-height: 1.35;
}

.edge-main-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.edge-side-card strong { display: block; font-size: 15.5px; margin-bottom: 6px; line-height: 1.5; }
.edge-side-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* 趋势雷达 */
.edge-briefing {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.edge-briefing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.edge-briefing-head h2 { margin: 0; font-size: 19px; }
.edge-briefing-head span { color: var(--faint); font-size: 12.5px; }

.edge-briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.edge-briefing-grid article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.edge-briefing-grid article:hover { border-color: rgba(52, 211, 153, 0.35); transform: translateY(-2px); }

.edge-briefing-grid img {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
}

.edge-briefing-grid span {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--sky);
}
.edge-briefing-grid strong { display: block; font-size: 14px; line-height: 1.5; margin: 3px 0 4px; }
.edge-briefing-grid p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* 统计条 + 成本样例 */
.edge-metrics {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.edge-metrics > div {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.edge-metrics span { display: block; font-size: 12px; color: var(--faint); letter-spacing: 0.5px; margin-bottom: 6px; }
.edge-metrics strong { display: block; font-size: 20px; line-height: 1.35; }
.edge-metrics p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }

.edge-cost-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.06), transparent 40%),
    var(--surface);
}

.edge-cost-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.edge-cost-head span { display: block; font-size: 12.5px; color: var(--accent); letter-spacing: 0.5px; }
.edge-cost-head strong { display: block; font-size: 17px; margin: 4px 0; }
.edge-cost-head p { margin: 0; color: var(--muted); font-size: 12.5px; max-width: 720px; }

.cost-bars { display: grid; gap: 10px; }

.bar-row {
  display: grid;
  grid-template-columns: 200px 1fr 110px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.bar-row span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-row div {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.bar-row i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #2dd4bf);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}
.bar-row b {
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* ==========================================================================
   主题功能卡片带（front-deck）
   ========================================================================== */

.front-deck {
  max-width: var(--maxw);
  margin: 26px auto 0;
  padding: 0 28px;
}

.front-deck-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.deck-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.deck-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--deck-tone, var(--accent));
  opacity: 0.85;
}
.deck-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.deck-card span {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--deck-tone, var(--accent));
  margin-bottom: 8px;
}
.deck-card strong { display: block; font-size: 14.5px; line-height: 1.5; margin-bottom: 6px; }
.deck-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.deck-card.policy  { --deck-tone: var(--sky); }
.deck-card.ai      { --deck-tone: var(--violet); }
.deck-card.video   { --deck-tone: var(--red); }
.deck-card.token   { --deck-tone: var(--accent); }
.deck-card.gov     { --deck-tone: #8395b0; }
.deck-card.pv      { --deck-tone: var(--amber); }
.deck-card.energy  { --deck-tone: #2dd4bf; }
.deck-card.risk    { --deck-tone: var(--red); }

/* ==========================================================================
   指标卡与色调卡
   ========================================================================== */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-grid article {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.metric-grid article:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.metric-grid span { display: block; font-size: 12px; color: var(--faint); letter-spacing: 0.5px; margin-bottom: 8px; }
.metric-grid strong { display: block; font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
.metric-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.feature-mosaic .tone-cyan   { border-top: 3px solid var(--sky); }
.feature-mosaic .tone-violet { border-top: 3px solid var(--violet); }
.feature-mosaic .tone-amber  { border-top: 3px solid var(--amber); }
.feature-mosaic .tone-green  { border-top: 3px solid var(--accent); }

/* ==========================================================================
   政策新闻
   ========================================================================== */

.policy-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.policy-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.policy-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.policy-card.is-high { border-color: rgba(251, 113, 133, 0.4); background: linear-gradient(160deg, rgba(251, 113, 133, 0.05), transparent 45%), var(--surface); }

.policy-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.policy-meta span {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--muted);
  background: var(--surface-3);
}
.policy-card.is-high .policy-meta span:first-child { color: var(--red); background: var(--red-soft); }

.policy-card h3 { margin: 0; font-size: 15.5px; line-height: 1.5; }
.policy-card > p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }

.policy-impact {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.22);
  font-size: 12.5px;
}
.policy-impact strong { display: block; color: var(--accent); font-size: 11.5px; letter-spacing: 0.5px; margin-bottom: 3px; }

.policy-card > a { font-size: 12.5px; }

/* ==========================================================================
   筛选器 / 表单控件
   ========================================================================== */

.filters,
.router-filters,
.compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.filters label,
.router-filters label,
.compare-toolbar label,
.calc-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filters label > span,
.router-filters label > span,
.compare-toolbar label > span,
.calc-grid label > span {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.3px;
}

input[type="search"],
input[type="text"],
input[type="number"],
input[type="password"],
select {
  min-width: 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
select { cursor: pointer; }

.filters input[type="search"] { width: 220px; }
.router-filters input[type="search"], .compare-toolbar input[type="search"] { width: 200px; }

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ==========================================================================
   表格体系
   ========================================================================== */

.table-wrap,
.api-table-wrap,
.pv-table-scroll,
.compare-table-wrap,
.vision-table-wrap,
.example-table {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: auto;
}

.table-wrap table,
.api-table-wrap table,
.pv-table-scroll table,
.compare-table-wrap table,
.vision-table-wrap table,
.example-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.12s ease; }
tbody tr:hover { background: rgba(52, 211, 153, 0.035); }

td strong { display: block; font-size: 13.5px; }
td small { display: block; margin-top: 3px; color: var(--faint); font-size: 11.5px; line-height: 1.5; }

td a { font-size: 12.5px; white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.25);
  white-space: nowrap;
}

/* ==========================================================================
   业务卡片（澜启 / 变现阶梯通用）
   ========================================================================== */

.business-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.business-cards article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.business-cards article:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.business-cards h3 {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  line-height: 1.4;
}

.business-cards p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }

.business-cards strong {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.25);
  align-self: flex-start;
}

/* ==========================================================================
   报表面板（quote-panels）
   ========================================================================== */

.quote-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.quote-panels article {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.quote-panels h3 { margin: 0 0 12px; font-size: 15.5px; color: var(--text); }
.quote-panels ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.quote-panels li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.quote-panels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.8;
}

/* ==========================================================================
   LanceRouter 模型目录
   ========================================================================== */

.router-summary {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 13px;
}

.router-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.router-model-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.router-model-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.router-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.router-region {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--sky);
  background: var(--sky-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.router-model-card h3 { margin: 6px 0 2px; font-size: 16px; }
.router-card-head p { margin: 0; color: var(--faint); font-size: 12.5px; }

.router-model-card dl {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 12.5px;
}
.router-model-card dt { color: var(--faint); }
.router-model-card dd { margin: 0; color: var(--muted); line-height: 1.6; }

.router-source {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12.5px;
}

.compare-summary {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 13px;
}

/* 澜启快照 */
.lanqi-live-panel {
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.lanqi-live-panel h3 { margin: 0 0 6px; font-size: 15.5px; }
.lanqi-live-panel > div > p { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }

.lanqi-live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.lanqi-live-grid article {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.lanqi-live-grid span { font-size: 11.5px; color: var(--faint); }
.lanqi-live-grid strong { display: block; margin: 4px 0; font-size: 13.5px; }
.lanqi-live-grid p { margin: 0; color: var(--muted); font-size: 12px; }

/* ==========================================================================
   计算器
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
  align-items: start;
}

.calculator {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.calc-grid label { min-width: 0; }

.calc-grid input[type="number"] { width: 100%; }
.calc-grid select { width: 100%; }
.calc-grid label:has(input[type="range"]) { grid-column: span 2; }
.calc-grid label strong { color: var(--accent); font-size: 15px; }

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
}
.check input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary {
  color: #06281c;
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
}
.button.secondary {
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
}

.result-card {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background:
    linear-gradient(160deg, rgba(52, 211, 153, 0.1), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.result-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--faint);
  margin-bottom: 8px;
}

.result-card > strong {
  display: block;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  color: var(--accent);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.result-lines { display: grid; gap: 0; margin-bottom: 16px; }

.result-lines p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.result-lines p:last-child { border-bottom: 0; }
.result-lines span { color: var(--muted); }
.result-lines b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.small-note { margin: 0; color: var(--faint); font-size: 12px; line-height: 1.65; }

/* ==========================================================================
   知识库 / Token 专题
   ========================================================================== */

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.knowledge-grid article {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.knowledge-grid h3 { margin: 0 0 8px; font-size: 15px; }
.knowledge-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.token-basics-grid,
.token-unit-grid,
.token-learning-grid,
.mainstream-model-grid,
.api-platform-grid,
.api-landing-grid,
.api-roadmap,
.monetize-grid,
.gongdadi-brief,
.gongdadi-metrics,
.vision-money-grid,
.script-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.token-basics-grid,
.token-unit-grid,
.api-platform-grid,
.monetize-grid,
.gongdadi-metrics,
.vision-money-grid { grid-template-columns: repeat(3, 1fr); }

.token-learning-grid,
.mainstream-model-grid,
.api-landing-grid,
.api-roadmap,
.gongdadi-brief { grid-template-columns: repeat(4, 1fr); }

.script-grid { grid-template-columns: repeat(4, 1fr); }

.token-basics-grid article,
.token-unit-grid article,
.token-learning-grid article,
.mainstream-model-grid article,
.api-platform-grid article,
.api-landing-grid article,
.api-roadmap article,
.monetize-grid article,
.gongdadi-brief article,
.gongdadi-metrics article,
.vision-money-grid article,
.script-grid article {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.token-basics-grid article:hover,
.token-unit-grid article:hover,
.token-learning-grid article:hover,
.mainstream-model-grid article:hover,
.monetize-grid article:hover,
.gongdadi-brief article:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.token-basics-grid span,
.token-unit-grid span,
.mainstream-model-grid span,
.api-platform-grid span,
.api-roadmap span,
.monetize-grid span,
.gongdadi-brief span,
.gongdadi-metrics span,
.vision-money-grid span {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.token-basics-grid strong,
.token-unit-grid strong,
.mainstream-model-grid strong { display: block; font-size: 14.5px; line-height: 1.55; margin-bottom: 8px; }

.token-basics-grid p,
.token-unit-grid p,
.mainstream-model-grid p,
.api-platform-grid p,
.api-roadmap p,
.monetize-grid p,
.gongdadi-brief p,
.gongdadi-metrics p,
.vision-money-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.token-basics-grid strong,
.token-unit-grid strong { color: var(--sky); }

.token-learning-grid h3,
.mainstream-model-grid h3 { margin: 0 0 8px; font-size: 15px; }
.token-learning-grid p,
.mainstream-model-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* 学习手册价格表块 */
.token-price-examples,
.media-token-guide {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.token-price-examples > div:first-child,
.media-token-guide > div:first-child { padding-top: 4px; }
.token-price-examples h3,
.media-token-guide h3 { margin: 0 0 8px; font-size: 16.5px; line-height: 1.4; }
.token-price-examples p,
.media-token-guide p { margin: 0; color: var(--muted); font-size: 13px; }

/* 公式面板 */
.token-formula {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.token-formula article {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(56, 189, 248, 0.06), transparent 50%),
    var(--surface);
}
.token-formula span { display: block; font-size: 12px; color: var(--sky); letter-spacing: 0.6px; margin-bottom: 8px; }
.token-formula strong { display: block; font-size: 14px; line-height: 1.6; margin-bottom: 8px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.token-formula p { margin: 0; color: var(--muted); font-size: 12.5px; }

/* API 平台表 & 风险提示 */
.api-landing-grid article { display: flex; flex-direction: column; gap: 8px; }
.api-landing-grid h3 { margin: 0; font-size: 15.5px; }
.api-landing-grid p { flex: 1; }
.api-landing-grid strong {
  font-size: 13px;
  color: var(--amber);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.api-risk-note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: var(--amber-soft);
  font-size: 13.5px;
}
.api-risk-note strong { color: var(--amber); white-space: nowrap; }
.api-risk-note span { color: var(--muted); }

/* ==========================================================================
   光伏 / 新能源报价
   ========================================================================== */

.pv-quote-hero,
.energy-quote-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.08), transparent 45%),
    var(--surface);
}

.pv-quote-hero span,
.energy-quote-hero span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 10px;
}

.pv-quote-hero h2,
.energy-quote-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.4;
}

.pv-quote-hero p,
.energy-quote-hero p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 720px; }

.pv-quote-date,
.energy-quote-hero > strong {
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--amber);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}
.pv-quote-date span { display: block; margin: 4px 0 0; color: var(--muted); font-size: 11.5px; font-weight: 400; letter-spacing: 0; }

.pv-market-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.pv-market-strip article {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  border-top: 3px solid var(--amber);
  transition: transform 0.18s ease;
}
.pv-market-strip article:hover { transform: translateY(-3px); }
.pv-market-strip span { display: block; font-size: 12px; color: var(--faint); margin-bottom: 6px; }
.pv-market-strip strong { display: block; font-size: 19px; color: var(--amber); margin-bottom: 4px; }
.pv-market-strip p { margin: 0; color: var(--muted); font-size: 12.5px; }

.quote-image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.quote-image-row figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.quote-image-row img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.quote-image-row figure:hover img { transform: scale(1.04); }
.quote-image-row figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(8, 13, 20, 0.72);
  backdrop-filter: blur(6px);
}

.pv-quote-panel,
.energy-quote-panel {
  margin-bottom: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.pv-quote-panel > h3,
.energy-quote-panel > h3 {
  margin: 0 0 16px;
  font-size: 16.5px;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  line-height: 1.4;
}

.pv-panel-title { margin-bottom: 16px; }
.pv-panel-title h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  line-height: 1.4;
}
.pv-panel-title p { margin: 0; color: var(--muted); font-size: 13px; }

.subtable-title { margin: 22px 0 14px; }
.subtable-title h4 { margin: 0 0 4px; font-size: 15px; }
.subtable-title p { margin: 0; color: var(--muted); font-size: 12.5px; }

.energy-warning {
  margin: 14px 0 4px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: var(--amber-soft);
}
.energy-warning strong { color: var(--amber); margin-right: 8px; }
.energy-warning p { display: inline; margin: 0; color: var(--muted); font-size: 13px; }

/* 品牌行色标 */
.pv-detail-table .brand-longi   > td:first-child { border-left: 3px solid var(--red); }
.pv-detail-table .brand-jinko   > td:first-child { border-left: 3px solid var(--sky); }
.pv-detail-table .brand-trina   > td:first-child { border-left: 3px solid var(--accent); }
.pv-detail-table .brand-ja      > td:first-child { border-left: 3px solid var(--violet); }
.pv-detail-table .brand-tongwei > td:first-child { border-left: 3px solid var(--amber); }

/* ==========================================================================
   平台网格（政企平台 / 数据源监控）
   ========================================================================== */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.platform-grid article,
.admin-list article {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.platform-grid article:hover,
.admin-list article:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.platform-grid article > div:first-child,
.admin-list article > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.platform-grid h3,
.admin-list h3 { margin: 0; font-size: 15.5px; }
.platform-grid a,
.admin-list a { font-size: 12.5px; white-space: nowrap; }

.platform-grid article > p,
.admin-list article > p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

.platform-grid dl,
.admin-list dl {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
}
.platform-grid dt,
.admin-list dt {
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: 0.4px;
}
.platform-grid dd,
.admin-list dd { margin: 0; color: var(--muted); line-height: 1.6; }

.admin-list strong { color: var(--accent); font-size: 13px; }

/* ==========================================================================
   视觉 AI 专题
   ========================================================================== */

.gongdadi-plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.gongdadi-plan article {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
}
.gongdadi-plan article::before {
  content: attr(data-phase);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--surface-3);
  letter-spacing: 1px;
}
.gongdadi-plan h3 { margin: 0 0 12px; font-size: 15.5px; color: var(--accent); }
.gongdadi-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.gongdadi-plan li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.gongdadi-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.vision-company-panel {
  margin-bottom: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* ==========================================================================
   变现路线 playbook
   ========================================================================== */

.playbook .section-head { border-left-color: var(--accent); }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.timeline article {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(52, 211, 153, 0.07), transparent 50%),
    var(--surface);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.timeline article:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, 0.4); }

.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sky));
}

.timeline span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.timeline h3 { margin: 0 0 8px; font-size: 16px; }
.timeline p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* 变现阶梯：公开入口 → 体检 → 接入 → 托管，逐级突出价格 */
.playbook .business-cards { grid-template-columns: repeat(4, 1fr); }

.playbook .business-cards article { padding-top: 24px; }

.playbook .business-cards article:nth-child(1) { border-top: 3px solid #8395b0; }
.playbook .business-cards article:nth-child(2) { border-top: 3px solid var(--sky); }
.playbook .business-cards article:nth-child(3) { border-top: 3px solid var(--amber); }
.playbook .business-cards article:nth-child(4) { border-top: 3px solid var(--accent); }

.playbook .business-cards strong { font-size: 14px; }

/* ==========================================================================
   页脚 & 回到顶部
   ========================================================================== */

.footer {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 30px 28px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer p { margin: 0; color: var(--faint); font-size: 13px; max-width: 760px; }
.footer a { font-size: 13px; white-space: nowrap; }

.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  background: rgba(18, 26, 37, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   后台登录页（admin.html 复用）
   ========================================================================== */

.admin-hero {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  text-align: center;
}

.status-line {
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-hero h1 { margin: 10px 0; font-size: 28px; }
.admin-hero p { color: var(--muted); }

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   旧版兼容（brochure 等页面可能引用）
   ========================================================================== */

.hero { padding: 48px 28px; max-width: var(--maxw); margin: 0 auto; }
.hero-copy h1 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 38px); }
.hero-panel, .hero-command, .command-panel, .module-card, .panel-head,
.pv-cost-breakdown, .pv-module-cards, .pv-part-grid, .pv-price-table,
.pv-summary-grid, .pv-table-wrap, .hero-metrics, .front-deck-head {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
  .edge-news-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .edge-main-card { grid-row: auto; grid-template-columns: 1fr; }
  .edge-main-card img { min-height: 200px; max-height: 260px; }

  .edge-briefing-grid { grid-template-columns: repeat(2, 1fr); }
  .edge-metrics { grid-template-columns: repeat(2, 1fr); }
  .front-deck-track { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .router-model-grid { grid-template-columns: repeat(2, 1fr); }
  .lanqi-live-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .result-card { position: static; }
  .token-price-examples, .media-token-guide { grid-template-columns: 1fr; }
  .token-formula { grid-template-columns: 1fr; }
  .policy-news-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .gongdadi-plan { grid-template-columns: 1fr; }
  .quote-panels { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .playbook .business-cards { grid-template-columns: repeat(2, 1fr); }
  .token-basics-grid, .token-unit-grid,
  .api-platform-grid, .monetize-grid,
  .gongdadi-metrics, .vision-money-grid { grid-template-columns: repeat(2, 1fr); }
  .token-learning-grid, .mainstream-model-grid,
  .api-landing-grid, .api-roadmap, .gongdadi-brief, .script-grid { grid-template-columns: repeat(2, 1fr); }
  .business-cards { grid-template-columns: 1fr; }
  .top-meta { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 118px; }

  .topbar-inner { padding: 10px 16px 6px; }
  .brand small { display: none; }
  .top-action { padding: 8px 14px; font-size: 12.5px; }

  .section { padding: 40px 16px 14px; }
  .edge-hero { padding: 22px 16px 6px; }
  .front-deck { padding: 0 16px; }

  .edge-hero-top { flex-wrap: wrap; }
  .edge-search { order: 3; max-width: none; flex-basis: 100%; }
  .edge-weather { margin-left: 0; }

  .edge-shortcuts a { font-size: 12px; padding: 6px 12px; }

  .edge-briefing-grid { grid-template-columns: 1fr; }
  .edge-briefing-grid article { grid-template-columns: 72px 1fr; }
  .edge-briefing-grid img { width: 72px; height: 72px; }

  .edge-metrics { grid-template-columns: 1fr; }
  .front-deck-track { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid label:has(input[type="range"]) { grid-column: auto; }
  .router-model-grid { grid-template-columns: 1fr; }
  .lanqi-live-grid { grid-template-columns: 1fr; }
  .policy-news-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .quote-image-row { grid-template-columns: 1fr; }
  .quote-image-row img { height: 150px; }
  .pv-market-strip { grid-template-columns: repeat(2, 1fr); }
  .token-basics-grid, .token-unit-grid, .token-learning-grid,
  .mainstream-model-grid, .api-platform-grid, .api-landing-grid,
  .api-roadmap, .monetize-grid, .gongdadi-brief, .gongdadi-metrics,
  .vision-money-grid, .script-grid { grid-template-columns: 1fr; }
  .playbook .business-cards { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr 90px; font-size: 12px; }

  .section-head { padding-left: 12px; }
  .update-note, .data-pill { white-space: normal; }

  .footer { padding: 24px 16px 90px; flex-direction: column; align-items: flex-start; }
  .back-top { right: 16px; bottom: 16px; }
}

/* 动效可关闭 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
