:root {
  --bg: #11100f;
  --bg-soft: #171614;
  --surface: #1d1b18;
  --surface-raised: #24211d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 122, 26, 0.42);
  --text: #f1eee8;
  --muted: #aaa49a;
  --quiet: #706c65;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.12);
  --header-bg: rgba(17, 16, 15, 0.82);
  --structure-bg: #151412;
  --structure-card: #1a1917;
  --map-bg: #151412;
  --overlay: rgba(0, 0, 0, 0.65);
  --shadow: rgba(0, 0, 0, 0.48);
  --radius: 18px;
  --max: 1480px;
}

[data-theme="aurora"] {
  --bg: #071310;
  --bg-soft: #0b1b17;
  --surface: #10251f;
  --surface-raised: #173129;
  --line: rgba(224, 255, 244, 0.11);
  --line-strong: rgba(41, 211, 145, 0.42);
  --text: #ecf8f3;
  --muted: #9db9ae;
  --quiet: #617f74;
  --accent: #29d391;
  --accent-soft: rgba(41, 211, 145, 0.12);
  --header-bg: rgba(7, 19, 16, 0.84);
  --structure-bg: #091713;
  --structure-card: #0e211b;
  --map-bg: #091713;
  --overlay: rgba(2, 12, 9, 0.72);
  --shadow: rgba(0, 20, 14, 0.52);
}

[data-theme="cobalt"] {
  --bg: #080d18;
  --bg-soft: #0d1525;
  --surface: #121d31;
  --surface-raised: #192844;
  --line: rgba(222, 233, 255, 0.11);
  --line-strong: rgba(76, 141, 255, 0.46);
  --text: #edf3ff;
  --muted: #a1aec5;
  --quiet: #68758c;
  --accent: #4c8dff;
  --accent-soft: rgba(76, 141, 255, 0.13);
  --header-bg: rgba(8, 13, 24, 0.84);
  --structure-bg: #0a1120;
  --structure-card: #101a2d;
  --map-bg: #0a1120;
  --overlay: rgba(3, 8, 18, 0.72);
  --shadow: rgba(0, 10, 30, 0.54);
}

[data-theme="pearl"] {
  --bg: #f1f2ed;
  --bg-soft: #fbfcf8;
  --surface: #ffffff;
  --surface-raised: #e8eae4;
  --line: rgba(20, 29, 37, 0.13);
  --line-strong: rgba(216, 88, 22, 0.45);
  --text: #171c23;
  --muted: #5d6671;
  --quiet: #858e98;
  --accent: #d85816;
  --accent-soft: rgba(216, 88, 22, 0.11);
  --header-bg: rgba(241, 242, 237, 0.88);
  --structure-bg: #e9ebe5;
  --structure-card: #f8f9f5;
  --map-bg: #e9ebe5;
  --overlay: rgba(25, 30, 35, 0.28);
  --shadow: rgba(50, 55, 60, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(255,122,26,.08), transparent 26rem),
    var(--bg);
  font-family: "DIN Alternate", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.brand img, footer img { width: 148px; height: 34px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: var(--muted); font-size: 13px; transition: color .2s ease; }
.site-header nav a:hover { color: var(--text); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.skin-trigger { display: inline-flex; align-items: center; gap: 8px; }
.skin-trigger-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.header-action:hover { border-color: var(--accent); background: var(--accent-soft); }
.header-action:active { transform: translateY(1px); }

main { overflow: clip; }
.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: 64px 0 56px;
}
.hero-copy { align-self: center; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .16em;
}
.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(58px, 6.2vw, 104px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 800;
}
.hero-lead {
  max-width: 28em;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.hero-total {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-total > strong {
  color: var(--accent);
  font-size: 76px;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.hero-total div { display: grid; gap: 5px; }
.hero-total span { font-size: 17px; }
.hero-total small { color: var(--quiet); font-size: 12px; }

.hero-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 38px;
}
.hero-filters label, .project-search { display: grid; gap: 8px; }
.hero-filters label span, .project-search span { color: var(--quiet); font-size: 11px; }
select, input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--bg-soft);
  color: var(--text);
}
select { padding: 0 36px 0 13px; }
input { padding: 0 14px; }
select:focus, input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero-filters button {
  align-self: end;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.hero-filters button:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual { min-width: 0; }
.map-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.map-meta div { display: grid; gap: 5px; }
.map-meta div:last-child { text-align: right; }
.map-meta span { color: var(--quiet); font-size: 11px; }
.map-meta strong { font-size: 14px; }
.map-meta b { color: var(--accent); font-size: 24px; }
.map-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1.24 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,122,26,.08), transparent 45%),
    var(--map-bg);
}
.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.11) .7px, transparent .7px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.china-map { position: absolute; inset: 18px; }
.map-corner {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--quiet);
  font-size: 11px;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  color: var(--quiet);
  font-size: 11px;
}
.map-legend span { display: flex; align-items: center; gap: 7px; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.map-legend i.outline { background: transparent; border: 1px solid var(--muted); }
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
}
.map-legend .text-button { margin-left: auto; }

.metric-rail {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 130px;
  display: grid;
  grid-template-columns: .8fr 1.35fr repeat(4, .8fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric-rail article {
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}
.metric-rail article:first-child { padding-left: 0; }
.metric-rail article:last-child { border-right: 0; }
.metric-rail span { display: block; color: var(--muted); font-size: 12px; }
.metric-rail span i {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--quiet);
  font-size: 9px;
  font-style: normal;
  cursor: help;
}
.metric-rail strong { display: inline-block; margin-top: 13px; font-size: 31px; font-variant-numeric: tabular-nums; }
.metric-rail small { margin-left: 5px; color: var(--quiet); }

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}
.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading h2, .hardware-copy h2, .project-header h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.section-heading p, .hardware-copy > p, .project-header p {
  max-width: 46em;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.feature-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.feature-heading span { color: var(--quiet); font-size: 11px; }
.feature-heading h3 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.025em; }
.feature-heading > strong { color: var(--accent); font-size: 28px; }
.icon-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.systems-section { border-top: 1px solid var(--line); }
.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .75fr);
  gap: 24px;
}
.chart-feature, .system-stat, .structure-primary, .structure-secondary, .trend-feature, .hardware-chart-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.chart-feature { min-height: 610px; padding: 28px; }
.system-chart { height: 370px; margin-top: 14px; }
.system-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.system-ledger article {
  padding: 16px 0 0;
  border-top: 2px solid var(--accent);
}
.system-ledger span, .system-ledger strong, .system-ledger small { display: block; }
.system-ledger span { color: var(--muted); font-size: 11px; }
.system-ledger strong { margin-top: 8px; font-size: 22px; }
.system-ledger small { margin-top: 4px; color: var(--quiet); }
.system-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.system-stat { padding: 28px; }
.system-stat > span { color: var(--muted); font-size: 13px; }
.system-stat > strong { display: block; margin-top: 26px; color: var(--accent); font-size: 36px; }
.system-stat > p { margin: 5px 0 28px; color: var(--quiet); font-size: 11px; }
.system-stat dl { margin: 0; }
.system-stat dl div { display: flex; justify-content: space-between; padding: 11px 0; }
.system-stat dt { color: var(--quiet); }
.system-stat dd { margin: 0; }

.structure-section {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--structure-bg);
}
.structure-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.structure-primary, .structure-secondary { height: 490px; padding: 28px; background: var(--structure-card); }
.structure-primary .chart, .structure-secondary .chart { height: 390px; }

.trend-feature { padding: 28px; }
.trend-chart { height: 390px; margin-top: 14px; }
.meal-layout {
  display: grid;
  grid-template-columns: .7fr 1.8fr;
  gap: 40px;
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.meal-intro h3 { margin: 0; font-size: 27px; }
.meal-intro p { color: var(--muted); line-height: 1.7; }
.meal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.meal-card { padding: 18px; border-left: 1px solid var(--line); }
.meal-card h3 { margin: 0; color: var(--muted); font-size: 13px; }
.meal-card strong { display: block; margin-top: 32px; color: var(--accent); font-size: 22px; }
.meal-card p { margin: 7px 0 0; color: var(--quiet); font-size: 11px; line-height: 1.6; }

.hardware-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.hardware-copy { position: sticky; top: 110px; align-self: start; }
.hardware-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px 0 30px;
}
.hardware-summary strong, .hardware-summary span { display: block; }
.hardware-summary strong { color: var(--accent); font-size: 31px; }
.hardware-summary span { margin-top: 6px; color: var(--quiet); font-size: 10px; line-height: 1.4; }
.hardware-chart-wrap { height: 620px; padding: 24px; }
.hardware-chart { height: 100%; }

.projects-section { border-top: 1px solid var(--line); }
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}
.project-search { width: min(340px, 100%); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.project-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 100px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.project-row:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface); }
.project-row:active { transform: translateY(-1px); }
.project-index { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.project-name { min-width: 0; }
.project-name strong, .project-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-name strong { font-size: 15px; }
.project-name span { margin-top: 8px; color: var(--quiet); font-size: 11px; }
.project-value { text-align: right; }
.project-value strong, .project-value span { display: block; }
.project-value strong { color: var(--accent); font-size: 15px; }
.project-value span { margin-top: 7px; color: var(--quiet); font-size: 10px; }
.project-empty { grid-column: 1 / -1; padding: 70px 24px; color: var(--muted); text-align: center; border: 1px solid var(--line); border-radius: var(--radius); }

footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
}
footer > div { display: flex; align-items: center; gap: 14px; }
footer img { width: 118px; }

.drawer {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  width: min(500px, 94vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 38px;
  border-left: 1px solid var(--line-strong);
  background: var(--bg-soft);
  transform: translateX(104%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease;
}
.drawer.open { transform: translateX(0); opacity: 1; box-shadow: -30px 0 100px var(--shadow); }
.drawer-close, .modal-close {
  float: right;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.drawer-label { display: block; margin-top: 46px; color: var(--accent); font-size: 11px; }
.drawer h2 { margin: 14px 0 0; font-size: 34px; line-height: 1.3; letter-spacing: -.03em; }
.drawer > p { color: var(--muted); }
.drawer-status, .system-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-status span, .system-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.drawer-grid article { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.drawer-grid span, .drawer-grid strong, .drawer-grid small { display: block; }
.drawer-grid span { color: var(--quiet); font-size: 10px; }
.drawer-grid strong { margin-top: 9px; font-size: 19px; }
.drawer-grid small { margin-top: 6px; color: var(--quiet); font-size: 9px; line-height: 1.5; }
.drawer section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.drawer section h3 { margin: 0 0 14px; font-size: 15px; }
.drawer section p { color: var(--muted); font-size: 12px; line-height: 1.9; }

.modal-backdrop { position: fixed; inset: 0; z-index: 60; background: var(--overlay); backdrop-filter: blur(8px); }

.skin-panel {
  position: fixed;
  z-index: 90;
  top: 84px;
  right: max(18px, calc((100vw - var(--max)) / 2));
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100dvh - 102px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-soft) 94%, transparent);
  box-shadow: 0 28px 90px var(--shadow);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(.98);
  transform-origin: top right;
  transition: opacity .22s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
.skin-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.skin-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.skin-panel-head span { color: var(--quiet); font-size: 10px; letter-spacing: .12em; }
.skin-panel-head h2 { margin: 7px 0 0; font-size: 23px; letter-spacing: -.025em; }
.skin-close {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.skin-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.skin-option {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.skin-option:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.skin-option:active { transform: translateY(0); }
.skin-option[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.skin-option > span:last-child { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; }
.skin-option strong { font-size: 12px; }
.skin-option small { color: var(--quiet); font-size: 9px; }
.skin-preview {
  position: relative;
  display: block;
  height: 62px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--preview-bg);
}
.skin-preview::before {
  content: "";
  position: absolute;
  inset: 9px 34px 9px 9px;
  border: 1px solid var(--preview-line);
  border-radius: 6px;
}
.skin-preview i, .skin-preview b { position: absolute; display: block; background: var(--preview-accent); }
.skin-preview i { left: 17px; bottom: 17px; width: 38px; height: 4px; }
.skin-preview b { right: 12px; top: 12px; width: 14px; height: 38px; border-radius: 5px; opacity: .72; }
.preview-ember { --preview-bg: #11100f; --preview-line: #4d4740; --preview-accent: #ff7a1a; }
.preview-aurora { --preview-bg: #071310; --preview-line: #315348; --preview-accent: #29d391; }
.preview-cobalt { --preview-bg: #080d18; --preview-line: #324666; --preview-accent: #4c8dff; }
.preview-pearl { --preview-bg: #f1f2ed; --preview-line: #aeb4b6; --preview-accent: #d85816; }
.custom-accent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.custom-accent span, .custom-accent strong, .custom-accent small { display: block; }
.custom-accent strong { font-size: 12px; }
.custom-accent small { margin-top: 5px; color: var(--quiet); font-size: 9px; }
.custom-accent input {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 3px;
  border-radius: 10px;
  cursor: pointer;
}
.restore-theme {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.restore-theme:hover { border-color: var(--accent); color: var(--accent); }
.skin-note { margin: 14px 0 0; color: var(--quiet); font-size: 9px; text-align: center; }
.quality-modal {
  position: fixed;
  z-index: 75;
  left: 50%;
  top: 50%;
  width: min(900px, 92vw);
  max-height: 84dvh;
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(.98);
  transition: opacity .25s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.quality-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.quality-modal h2 { margin: 4px 80px 26px 0; font-size: 34px; }
.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.source-list article { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.source-list strong, .source-list span, .source-list small { display: block; }
.source-list span { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.source-list small { margin-top: 8px; color: var(--quiet); font-size: 10px; }
.quality-list { margin-top: 18px; }
.quality-list article { padding: 15px 0; border-bottom: 1px solid var(--line); }
.quality-list b { color: var(--accent); font-size: 11px; }
.quality-list p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(900px, 100%); }
  .metric-rail { grid-template-columns: repeat(3, 1fr); }
  .metric-rail article:nth-child(3) { border-right: 0; }
  .system-layout, .hardware-section { grid-template-columns: 1fr; }
  .hardware-copy { position: static; }
  .structure-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 16px; }
  .brand span { display: none; }
  .brand img { width: 118px; }
  .header-action { padding: 8px 12px; }
  .header-actions { gap: 5px; }
  .skin-panel {
    top: 74px;
    right: 14px;
    padding: 20px;
    background: var(--bg-soft);
    backdrop-filter: none;
  }
  .hero, .section, .metric-rail, .projects-section, footer { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 0; padding: 48px 0; gap: 46px; }
  .hero h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-filters { grid-template-columns: 1fr; }
  .hero-filters button { min-height: 44px; }
  .map-shell { aspect-ratio: 1 / 1; }
  .china-map { inset: 6px; }
  .map-meta { gap: 16px; }
  .map-legend { flex-wrap: wrap; }
  .map-legend .text-button { width: 100%; margin-left: 0; text-align: left; }
  .metric-rail { grid-template-columns: 1fr 1fr; margin-bottom: 70px; }
  .metric-rail article { padding: 18px 12px; }
  .metric-rail article:nth-child(2n) { border-right: 0; }
  .metric-rail article:first-child { padding-left: 12px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .hardware-copy h2, .project-header h2 { font-size: 40px; }
  .system-layout { display: block; }
  .system-side { margin-top: 16px; }
  .chart-feature, .system-stat, .structure-primary, .structure-secondary, .trend-feature, .hardware-chart-wrap { border-radius: 14px; }
  .chart-feature { min-height: 570px; padding: 20px; }
  .system-chart { height: 330px; }
  .system-ledger { grid-template-columns: 1fr; }
  .system-ledger article { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .structure-section { padding-left: 14px; padding-right: 14px; }
  .structure-primary, .structure-secondary { height: 430px; padding: 20px; }
  .structure-primary .chart, .structure-secondary .chart { height: 330px; }
  .trend-feature { padding: 20px; }
  .trend-chart { height: 350px; }
  .meal-layout { grid-template-columns: 1fr; padding: 22px; }
  .meal-grid { grid-template-columns: 1fr 1fr; }
  .meal-card { border-left: 0; border-top: 1px solid var(--line); padding: 16px 4px; }
  .hardware-section { gap: 34px; }
  .hardware-summary { gap: 8px; }
  .hardware-chart-wrap { height: 550px; padding: 12px; }
  .project-header { display: block; }
  .project-search { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 34px 1fr; }
  .project-value { grid-column: 2; text-align: left; }
  footer { display: block; }
  footer p { margin-top: 18px; line-height: 1.7; }
  .drawer { padding: 24px; }
  .drawer-grid, .source-list { grid-template-columns: 1fr; }
  .quality-modal { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
