:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --surface-strong: #eceff3;
  --ink: #111418;
  --ink-soft: #2d333b;
  --muted: #5f6772;
  --quiet: #7c8591;
  --line: rgba(17, 20, 24, .08);
  --line-strong: rgba(17, 20, 24, .14);
  --blue: #2f6bff;
  --blue-soft: #edf3ff;
  --green: #1f9d72;
  --green-soft: #e9f7f2;
  --warm: #e66a4e;
  --warm-soft: #fff0ec;
  --yellow: #e2ad35;
  --display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Monaco, "Cascadia Mono", "Cascadia Code", Consolas, monospace;
  --header-h: 74px;
  --content-max: 1200px;
  --canvas-max: 1400px;
  --shadow: 0 24px 70px rgba(17, 24, 39, .14), 0 3px 12px rgba(17, 24, 39, .07);
  --ide-frame: #eceef1;
  --ide-top: #f2f2f4;
  --ide-rail: #eceef1;
  --ide-side: #f6f6f7;
  --ide-main: #ffffff;
  --ide-agent: #f7f7f8;
  --ide-status: #f3f5f8;
  --ide-line: #dadde2;
  --ide-line-strong: #c9cdd3;
  --ide-ink: #1f2328;
  --ide-soft: #3f4751;
  --ide-muted: #5d646d;
  --ide-quiet: #737b85;
  --ide-active: #e7edf8;
  --syntax-key: #7548c8;
  --syntax-string: #0b7f63;
  --syntax-type: #1769aa;
  --syntax-value: #b34d34;
  --syntax-comment: #6c7480;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #080b0e;
  --surface: #0e1318;
  --surface-soft: #121820;
  --surface-strong: #1a222b;
  --ink: #f4f7fa;
  --ink-soft: #d9e0e7;
  --muted: #a0aab5;
  --quiet: #7e8995;
  --line: rgba(235, 242, 248, .08);
  --line-strong: rgba(235, 242, 248, .14);
  --blue: #78a2ff;
  --blue-soft: #152441;
  --green: #56c89d;
  --green-soft: #132a24;
  --warm: #f18a71;
  --warm-soft: #321d1a;
  --yellow: #e9bf5e;
  --shadow: 0 28px 88px rgba(0, 0, 0, .44), 0 3px 14px rgba(0, 0, 0, .28);
  --ide-frame: #0c1218;
  --ide-top: #13202b;
  --ide-rail: #101820;
  --ide-side: #151d25;
  --ide-main: #071a29;
  --ide-agent: #111a20;
  --ide-status: #101820;
  --ide-line: #30404c;
  --ide-line-strong: #3b4c59;
  --ide-ink: #e8eef4;
  --ide-soft: #c2ccd5;
  --ide-muted: #a0acb7;
  --ide-quiet: #8493a0;
  --ide-active: #17314c;
  --syntax-key: #c9a8ff;
  --syntax-string: #71d6b4;
  --syntax-type: #83c7ff;
  --syntax-value: #ff9d84;
  --syntax-comment: #8493a0;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; background: var(--page); }
html[data-lang="zh"] {
  --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
html[data-lang="ja"] {
  --body: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif;
  --display: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { color: #ffffff; background: #2f6bff; }
.page { min-height: 100vh; background: var(--page); }
.icon { width: 17px; height: 17px; stroke-width: 1.8; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.site-header { position: fixed; top: 14px; right: 0; left: 0; z-index: 50; height: var(--header-h); padding: 0 22px; pointer-events: none; }
.header-inner {
  display: grid;
  width: min(var(--canvas-max), 100%);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 10px 0 15px;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 28px rgba(17, 24, 39, .07);
  backdrop-filter: blur(18px) saturate(150%);
  pointer-events: auto;
}
:root[data-theme="dark"] .header-inner { background: rgba(14, 19, 24, .86); box-shadow: 0 10px 32px rgba(0, 0, 0, .24); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand-word { font-family: var(--display); font-size: 18px; font-weight: 700; }
.brand-tag { margin-left: 2px; color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.main-nav { display: flex; padding: 4px; align-items: center; gap: 3px; border-radius: 8px; background: var(--surface-soft); }
.main-nav a {
  position: relative;
  min-width: 68px;
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 5px rgba(17, 24, 39, .07); }
.main-nav a[aria-current="page"]::after { position: absolute; right: 7px; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); content: ""; }
.header-actions { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 8px; }
.public-signal { display: inline-flex; margin-right: 3px; align-items: center; gap: 7px; color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.public-signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 114, .10); }
.language-picker { position: relative; }
.language-trigger {
  display: grid;
  min-width: 76px;
  height: 36px;
  padding: 0 9px;
  grid-template-columns: 17px 1fr 14px;
  place-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: var(--surface-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.language-trigger .icon { width: 15px; height: 15px; }
.language-trigger .language-chevron { width: 13px; height: 13px; transition: transform .2s ease; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 4;
  display: grid;
  width: 176px;
  padding: 6px;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(17, 24, 39, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
:root[data-theme="dark"] .language-panel { box-shadow: 0 18px 48px rgba(0, 0, 0, .42); }
.language-picker.is-open .language-panel { opacity: 1; visibility: visible; transform: none; }
.language-panel button {
  display: grid;
  min-height: 40px;
  padding: 0 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  text-align: left;
}
.language-panel button:hover, .language-panel button[aria-selected="true"] { color: var(--ink); background: var(--surface-soft); }
.language-panel small { color: var(--quiet); font-family: var(--mono); font-size: 9px; }
.console-action, .primary-action {
  display: inline-flex;
  min-height: 38px;
  padding: 9px 13px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.console-action { border-color: rgba(47, 107, 255, .16); color: var(--blue); background: var(--blue-soft); }
.primary-action { color: #ffffff; background: #2f6bff; box-shadow: 0 7px 18px rgba(47, 107, 255, .18); }
:root[data-theme="dark"] .primary-action { color: #07111d; background: #8eb0ff; box-shadow: none; }
.console-action:hover { transform: translateY(-1px); border-color: rgba(47, 107, 255, .34); background: var(--surface); }
.primary-action:hover { transform: translateY(-1px); background: #245de3; color: #ffffff; }
.console-action .icon, .primary-action .icon { width: 15px; height: 15px; }
.icon-button, .tool-button { display: inline-grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 6px; color: var(--muted); background: transparent; }
.icon-button:hover, .tool-button:hover { color: var(--ink); background: var(--surface-soft); }
.menu-button { display: none; }
.mobile-nav { display: none; }

.hero, section[id], .canvas-wrap { scroll-margin-top: calc(var(--header-h) + 22px); }
.hero { padding: calc(var(--header-h) + 34px) 28px 0; }
.hero-frame {
  display: flex;
  width: min(1120px, 100%);
  min-height: 470px;
  margin: 0 auto;
  padding: 46px 0 60px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.hero-copy, .hero-side { display: flex; min-width: 0; align-items: center; flex-direction: column; }
.hero-kicker { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.hero-kicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 5px rgba(230, 106, 78, .10); }
.hero-kicker span:last-child { color: var(--muted); }
.hero h1 { width: 100%; margin: 30px 0 0; font-family: var(--display); font-size: 112px; font-weight: 700; line-height: .91; text-align: center; text-wrap: balance; }
.hero-title-line { display: block; width: 100%; color: var(--ink); text-align: center; }
html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 92px; line-height: 1.06; }
.hero-subtitle { margin: 24px 0 0; color: var(--ink-soft); font-size: 20px; font-weight: 500; line-height: 1.55; }
.hero-side { width: min(680px, 100%); }
.hero-lead { max-width: 720px; margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; margin-top: 26px; align-items: center; justify-content: center; gap: 16px; }
.hero-actions .primary-action { min-height: 44px; padding: 11px 16px; }
.quiet-action { display: inline-flex; min-height: 42px; padding: 10px 5px; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.quiet-action:hover { color: var(--blue); }

.canvas-wrap { width: min(var(--canvas-max), calc(100vw - 96px)); margin: 0 auto; }
.canvas-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ide-line-strong);
  border-radius: 8px;
  background: var(--ide-frame);
  box-shadow: var(--shadow);
  transform: none;
}
.canvas-shell.is-generating { box-shadow: 0 28px 80px rgba(17, 24, 39, .17), 0 4px 14px rgba(17, 24, 39, .08); }
.spectrum-trace { position: absolute; top: 0; right: 0; left: 0; z-index: 4; height: 2px; overflow: hidden; opacity: 0; transition: opacity .2s ease; }
.spectrum-trace::before { position: absolute; inset: 0; background: linear-gradient(90deg, #2f6bff, #1f9d72 48%, #e2ad35 74%, #e66a4e); content: ""; }
.spectrum-trace i { position: absolute; top: 0; left: 0; width: 28%; height: 2px; background: rgba(255, 255, 255, .78); }
.canvas-shell.is-generating .spectrum-trace { opacity: 1; }
.spectrum-trace i.is-running { animation: trace-run 2.4s ease-in-out infinite; }
.canvas-chrome { display: flex; min-height: 52px; padding: 0 18px; align-items: center; gap: 17px; color: var(--ide-muted); background: var(--ide-top); font-family: var(--mono); font-size: 11px; }
.window-dots { display: flex; align-items: center; gap: 8px; }
.window-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.canvas-title { display: inline-flex; min-width: 0; align-items: center; gap: 8px; color: var(--ide-soft); }
.canvas-title img { width: 20px; height: 20px; object-fit: contain; }
.canvas-title strong { overflow: hidden; color: var(--ide-ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.canvas-title > span:first-of-type { color: var(--ide-quiet); }
.canvas-mode { display: flex; margin-left: auto; align-items: center; gap: 18px; }
.canvas-mode span { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.canvas-mode span i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.canvas-mode b { color: var(--ide-muted); font-weight: 500; }
.canvas-body { display: grid; min-height: 760px; grid-template-columns: 52px 208px minmax(0, 1fr) 356px; background: var(--ide-frame); }

.activity-bar { display: flex; min-width: 0; padding: 8px 0; align-items: center; flex-direction: column; border-right: 1px solid var(--ide-line); background: var(--ide-rail); }
.activity-button { position: relative; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 6px; color: var(--ide-quiet); background: transparent; }
.activity-button:hover { color: var(--ide-ink); background: var(--ide-active); }
.activity-button.is-active { color: var(--ide-ink); }
.activity-button.is-active::before { position: absolute; top: 9px; bottom: 9px; left: -4px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); content: ""; }
.activity-button .icon { width: 20px; height: 20px; }
.activity-spacer { flex: 1; }

.explorer { position: relative; min-width: 0; padding: 10px 9px 42px; border-right: 1px solid var(--ide-line); color: var(--ide-muted); background: var(--ide-side); }
.panel-label { display: flex; min-height: 32px; padding: 0 6px; align-items: center; justify-content: space-between; color: var(--ide-muted); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.panel-label .tool-button { width: 28px; height: 28px; color: var(--ide-muted); }
.project-root { display: flex; min-height: 34px; padding: 0 6px; align-items: center; gap: 7px; color: var(--ide-ink); font-family: var(--mono); font-size: 11px; }
.project-root .icon { width: 14px; height: 14px; }
.project-root strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; }
.dirty-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--warm); }
.file-group { margin-top: 11px; }
.group-label { display: block; padding: 0 10px 5px; color: var(--ide-quiet); font-family: var(--mono); font-size: 11px; }
.file-item { display: grid; width: 100%; min-height: 34px; padding: 0 8px; grid-template-columns: 17px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 0; border-radius: 5px; color: var(--ide-muted); background: transparent; text-align: left; }
.file-item:hover, .file-item.is-active { color: var(--ide-ink); background: var(--ide-active); }
.file-item .icon { width: 15px; height: 15px; color: var(--blue); }
.file-item[data-file="route.spec.ts"] .icon { color: var(--green); }
.file-item span { overflow: hidden; font-family: var(--mono); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.file-item b { color: var(--warm); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.muted-group { opacity: .72; }
.explorer-foot { position: absolute; right: 10px; bottom: 11px; left: 10px; display: flex; align-items: center; justify-content: space-between; color: var(--ide-quiet); font-family: var(--mono); font-size: 11px; }
.explorer-foot span { display: inline-flex; align-items: center; gap: 5px; }
.explorer-foot .icon { width: 13px; height: 13px; }

.editor { display: grid; min-width: 0; min-height: 0; grid-template-rows: 44px 38px minmax(360px, 1fr) 220px; color: var(--ide-ink); background: var(--ide-main); }
.editor-tabs { display: flex; min-width: 0; align-items: stretch; background: var(--ide-top); }
.editor-tab { display: inline-flex; min-width: 145px; padding: 0 13px; align-items: center; gap: 8px; border: 0; border-right: 1px solid var(--ide-line); color: var(--ide-muted); background: transparent; font-family: var(--mono); font-size: 12px; }
.editor-tab.is-active { color: var(--ide-ink); background: var(--ide-main); }
.editor-tab .icon { width: 15px; height: 15px; color: var(--blue); }
.editor-tab[data-file="route.spec.ts"] .icon { color: var(--green); }
.editor-tab span { margin-left: auto; color: var(--warm); }
.tab-space { flex: 1; }
.editor-tabs > .tool-button { width: 38px; height: 38px; margin: 3px 6px; color: var(--ide-muted); }
.editor-crumb { display: flex; min-width: 0; padding: 0 17px; align-items: center; gap: 7px; color: var(--ide-muted); background: var(--ide-main); font-family: var(--mono); font-size: 11px; }
.editor-crumb .icon { width: 13px; height: 13px; }
.editor-crumb strong { color: var(--ide-soft); font-weight: 500; }
.crumb-space { flex: 1; }
.editor-crumb > span:last-child { color: var(--blue); font-weight: 600; }
.editor-code { display: grid; min-width: 0; min-height: 0; overflow: auto; grid-template-columns: 58px minmax(max-content, 1fr); background: var(--ide-main); scrollbar-color: var(--ide-line-strong) transparent; scrollbar-width: thin; }
.line-numbers { min-width: 0; padding: 18px 12px 28px 0; color: var(--ide-quiet); background: var(--ide-main); font-family: var(--mono); font-size: 12px; line-height: 22px; text-align: right; user-select: none; }
.line-numbers span { display: block; height: 22px; }
.code-output {
  min-width: max-content;
  margin: 0;
  padding: 18px 28px 28px 16px;
  color: var(--ide-ink);
  background: var(--ide-main);
  font-family: var(--mono);
  font-size: 14px;
  font-synthesis: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
  line-height: 22px;
  tab-size: 2;
  white-space: pre;
}
.code-line { display: block; min-height: 22px; }
.code-line.is-active { background: var(--ide-active); box-shadow: -16px 0 0 var(--ide-active), 28px 0 0 var(--ide-active); }
.inline-caret { display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -4px; background: var(--blue); animation: cursor-blink .9s steps(1, end) infinite; }
.syntax-key { color: var(--syntax-key); }
.syntax-string { color: var(--syntax-string); }
.syntax-type { color: var(--syntax-type); }
.syntax-value { color: var(--syntax-value); }
.syntax-comment { color: var(--syntax-comment); font-style: italic; }

.terminal { min-width: 0; min-height: 0; border-top: 1px solid var(--ide-line); background: var(--ide-main); }
.terminal-bar { display: flex; min-height: 42px; padding: 0 16px; align-items: center; justify-content: space-between; gap: 18px; color: var(--ide-muted); background: var(--ide-main); font-family: var(--mono); font-size: 11px; }
.terminal-tabs { display: flex; align-items: stretch; gap: 3px; }
.terminal-tab { position: relative; min-height: 34px; padding: 0 10px; border: 0; color: var(--ide-muted); background: transparent; font-family: var(--mono); font-size: 11px; }
.terminal-tab:hover { color: var(--ide-ink); }
.terminal-tab.is-active { color: var(--ide-ink); }
.terminal-tab.is-active::after { position: absolute; right: 10px; bottom: 2px; left: 10px; height: 2px; border-radius: 2px; background: var(--blue); content: ""; }
.terminal-bar > span { color: var(--green); font-weight: 600; }
.terminal-bar > span[data-state="planning"], .terminal-bar > span[data-state="editing"], .terminal-bar > span[data-state="running"] { color: var(--blue); }
.terminal-output { min-height: 165px; margin: 0; padding: 13px 18px 20px; overflow: auto; color: var(--ide-soft); font-family: var(--mono); font-size: 12px; font-synthesis: none; font-variant-ligatures: none; line-height: 20px; white-space: pre-wrap; }
.terminal-line { display: block; min-height: 20px; opacity: 0; transform: translateY(3px); animation: terminal-in .18s ease forwards; }

.agent { display: grid; min-width: 0; min-height: 0; grid-template-rows: 74px 48px minmax(0, 1fr) auto 62px; border-left: 1px solid var(--ide-line); color: var(--ide-ink); background: var(--ide-agent); }
.agent > * { min-width: 0; }
.agent-head { display: flex; padding: 0 17px; align-items: center; justify-content: space-between; gap: 12px; }
.agent-head > div { min-width: 0; }
.agent-head .panel-label { min-height: auto; padding: 0; color: var(--ide-quiet); font-size: 11px; }
.agent-head strong { display: block; overflow: hidden; margin-top: 6px; color: var(--ide-ink); font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.agent-state { display: inline-flex; padding: 6px 8px; align-items: center; gap: 6px; border-radius: 5px; color: var(--green); background: var(--green-soft); font-family: var(--mono); font-size: 11px; font-weight: 600; white-space: nowrap; }
.agent-state[data-phase="planning"], .agent-state[data-phase="editing"] { color: var(--blue); background: var(--blue-soft); }
.agent-state[data-phase="testing"] { color: var(--yellow); background: var(--warm-soft); }
.agent-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.canvas-shell.is-generating .agent-state i { animation: signal-pulse 1.4s ease-in-out infinite; }
.agent-model { display: flex; padding: 0 17px; align-items: center; justify-content: space-between; color: var(--ide-muted); background: var(--ide-active); font-family: var(--mono); font-size: 11px; }
.agent-model > span { display: inline-flex; align-items: center; gap: 7px; }
.agent-model .icon { width: 14px; height: 14px; color: var(--blue); }
.agent-model button { display: inline-flex; padding: 6px 0; align-items: center; gap: 5px; border: 0; color: var(--ide-ink); background: transparent; font-family: var(--mono); font-size: 11px; }
.agent-thread { min-height: 0; padding: 18px 17px; overflow: auto; scrollbar-color: var(--ide-line-strong) transparent; scrollbar-width: thin; }
.message { margin-bottom: 19px; }
.message > span { display: block; margin-bottom: 7px; color: var(--ide-quiet); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.message p { margin: 0; color: var(--ide-soft); font-size: 13px; line-height: 1.6; }
.message-user { padding: 12px 13px; border-radius: 6px; background: var(--ide-active); }
.message-user > span { color: var(--blue); }
.agent-plan { display: grid; gap: 7px; }
.agent-plan > div { display: grid; min-height: 35px; padding: 0 9px; grid-template-columns: 14px minmax(0, 1fr); align-items: center; gap: 8px; border-radius: 5px; color: var(--ide-muted); font-size: 12px; transition: color .16s ease, background .16s ease; }
.agent-plan > div:has(i.is-active) { color: var(--ide-ink); background: var(--ide-active); }
.agent-plan i { display: inline-block; width: 8px; height: 8px; border: 1px solid var(--ide-quiet); border-radius: 50%; }
.agent-plan i.is-active { border-color: var(--blue); background: var(--blue); animation: signal-pulse 1.2s ease-in-out infinite; }
.agent-plan i.is-done { border-color: var(--green); background: var(--green); transform: scale(1); animation: plan-done .18s ease; }
.agent-compose { margin: 0 14px 14px; padding: 11px 12px 10px; border: 1px solid var(--ide-line-strong); border-radius: 7px; background: var(--ide-main); box-shadow: 0 2px 8px rgba(17, 24, 39, .04); }
.agent-compose:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, .10); }
.agent-compose label { display: block; color: var(--ide-quiet); font-family: var(--mono); font-size: 11px; }
.agent-compose textarea { width: 100%; min-height: 58px; margin-top: 6px; padding: 0; resize: none; border: 0; outline: 0; color: var(--ide-ink); background: transparent; font-size: 13px; line-height: 1.55; }
.compose-actions { display: flex; margin-top: 8px; align-items: center; justify-content: space-between; gap: 10px; color: var(--ide-muted); font-family: var(--mono); font-size: 11px; }
.compose-actions > span { display: inline-flex; align-items: center; gap: 6px; }
.compose-actions .icon { width: 14px; height: 14px; }
.run-agent { display: inline-flex; min-height: 32px; padding: 0 10px; align-items: center; gap: 7px; border: 0; border-radius: 5px; color: #ffffff; background: #2f6bff; font-size: 11px; font-weight: 600; }
.run-agent:hover { background: #2459dc; }
.run-agent:disabled { cursor: wait; opacity: .55; }
.change-summary { display: flex; padding: 0 17px; align-items: center; justify-content: space-between; gap: 12px; color: var(--ide-muted); background: var(--ide-status); font-family: var(--mono); font-size: 11px; }
.change-summary div { display: inline-flex; align-items: center; gap: 8px; }
.change-summary b { color: var(--green); font-weight: 600; }
.change-summary code { overflow: hidden; color: var(--ide-muted); font-family: inherit; text-overflow: ellipsis; white-space: nowrap; }

.canvas-status { display: flex; min-height: 44px; padding: 0 14px; align-items: center; justify-content: space-between; gap: 15px; color: var(--ide-muted); background: var(--ide-status); font-family: var(--mono); font-size: 11px; }
.build-state, .endpoint { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
.build-state .icon { width: 15px; height: 15px; color: var(--green); }
.canvas-shell.is-generating .build-state .icon { color: var(--blue); }
.build-state strong { color: var(--ide-ink); font-weight: 600; }
.build-state small, .endpoint small { color: var(--ide-quiet); font-size: 11px; }
.endpoint code { overflow: hidden; color: var(--ide-soft); font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.endpoint code span { color: var(--blue); }
.endpoint button { display: inline-grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 5px; color: var(--ide-muted); background: transparent; }
.endpoint button:hover { color: var(--ide-ink); background: var(--ide-active); }
.endpoint button .icon { width: 14px; height: 14px; }
.canvas-caption { display: flex; min-height: 40px; padding: 12px 5px 0; align-items: center; justify-content: space-between; color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.canvas-caption span:last-child { display: inline-flex; align-items: center; gap: 7px; }
.canvas-caption span:last-child i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.section { width: min(var(--content-max), calc(100% - 64px)); margin: 0 auto; padding: 96px 0; }
.section-meta { display: flex; align-items: center; gap: 10px; color: var(--quiet); font-family: var(--mono); font-size: 11px; }
.section-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.section-meta span:last-child { margin-left: auto; }
.section h2 { margin: 0; font-family: var(--display); font-size: 64px; font-weight: 700; line-height: 1.03; text-wrap: balance; }
html[data-lang="zh"] .section h2, html[data-lang="ja"] .section h2 { font-size: 56px; line-height: 1.14; }

/* Scene atlas: the one expressive moment below the live coding canvas. */
.scenes { width: min(1500px, calc(100% - 80px)); padding: 132px 0 126px; }
.scenes-layout { display: grid; grid-template-columns: minmax(330px, 1fr) minmax(0, 2.15fr); align-items: center; gap: 54px; }
.scenes-copy { min-width: 0; }
.scenes-copy .section-meta span:last-child { margin-left: 0; }
.scenes-copy h2 { max-width: 460px; margin-top: 28px; font-size: 62px; line-height: 1.06; }
html[data-lang="zh"] .scenes-copy h2, html[data-lang="ja"] .scenes-copy h2 { font-size: 54px; line-height: 1.16; }
.scenes-copy > p { max-width: 440px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.78; }
.scene-tabs { display: grid; margin-top: 42px; gap: 3px; }
.scene-tab {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 72px;
  padding: 10px 5px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.scene-tab:hover { color: var(--ink); transform: translateX(3px); }
.scene-tab.is-active { color: var(--ink); background: var(--surface-soft); }
.scene-tab-icon { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--quiet); background: var(--surface); }
.scene-tab.is-active .scene-tab-icon { border-color: rgba(47, 107, 255, .22); color: var(--blue); background: var(--blue-soft); }
.scene-tab-icon .icon { width: 16px; height: 16px; }
.scene-tab strong { display: block; color: currentColor; font-size: 15px; font-weight: 650; }
.scene-tab small { display: block; margin-top: 4px; color: var(--quiet); font-size: 12px; line-height: 1.45; }
.scene-progress { position: absolute; right: 9px; bottom: 6px; left: 56px; height: 2px; overflow: hidden; background: transparent; }
.scene-progress b { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.scene-tab.is-active.is-timing .scene-progress b { animation: scene-progress 4.5s linear both; }

.scene-workbench {
  --scene-frame: #e7e9ed;
  --scene-top: #f1f2f4;
  --scene-side: #f6f7f9;
  --scene-main: #ffffff;
  --scene-soft: #f3f5f7;
  --scene-line: #dde1e6;
  --scene-ink: #20252b;
  --scene-muted: #626a74;
  --scene-quiet: #8a929b;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--scene-line);
  border-radius: 8px;
  color: var(--scene-ink);
  background: var(--scene-frame);
  box-shadow: 0 30px 88px rgba(17, 24, 39, .15), 0 4px 16px rgba(17, 24, 39, .06);
}
:root[data-theme="dark"] .scene-workbench {
  --scene-frame: #0d141b;
  --scene-top: #151e27;
  --scene-side: #111820;
  --scene-main: #0b1218;
  --scene-soft: #141e27;
  --scene-line: #2c3944;
  --scene-ink: #e8eef4;
  --scene-muted: #a2adb7;
  --scene-quiet: #758390;
  box-shadow: 0 34px 96px rgba(0, 0, 0, .42), 0 4px 18px rgba(0, 0, 0, .24);
}
.scene-chrome { display: grid; min-height: 46px; padding: 0 15px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; color: var(--scene-muted); background: var(--scene-top); font-family: var(--mono); font-size: 10px; }
.scene-chrome .window-dots { justify-self: start; }
.scene-chrome > strong { color: var(--scene-ink); font-weight: 600; }
.scene-chrome > span { display: inline-flex; justify-self: end; align-items: center; gap: 7px; }
.scene-chrome > span > i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.scene-app { display: grid; min-height: 660px; grid-template-columns: 154px minmax(0, 1fr); }
.scene-sidebar { position: relative; display: flex; min-width: 0; padding: 16px 11px 13px; border-right: 1px solid var(--scene-line); background: var(--scene-side); flex-direction: column; }
.scene-sidebar-brand { display: flex; margin: 0 7px 17px; align-items: center; gap: 8px; }
.scene-sidebar-brand img { width: 23px; height: 23px; object-fit: contain; }
.scene-sidebar-brand strong { font-family: var(--display); font-size: 13px; }
.scene-sidebar button { display: flex; width: 100%; min-height: 37px; padding: 0 9px; align-items: center; gap: 9px; border: 0; border-radius: 5px; color: var(--scene-muted); background: transparent; font-size: 11px; text-align: left; }
.scene-sidebar button:hover, .scene-sidebar button.is-active { color: var(--scene-ink); background: var(--scene-soft); }
.scene-sidebar button .icon { width: 14px; height: 14px; }
.scene-sidebar-label { margin: 22px 9px 8px; color: var(--scene-quiet); font-size: 9px; }
.scene-current { display: flex; min-height: 38px; padding: 0 9px; align-items: center; gap: 9px; border-radius: 5px; color: var(--scene-ink); background: var(--scene-soft); font-size: 11px; }
.scene-current .icon { width: 14px; height: 14px; color: var(--blue); }
.scene-sidebar-foot { display: flex; min-height: 38px; margin-top: auto; padding: 0 9px; align-items: center; gap: 9px; color: var(--scene-muted); font-size: 11px; }
.scene-sidebar-foot .icon { width: 15px; height: 15px; }
.scene-main { display: grid; min-width: 0; background: var(--scene-main); grid-template-rows: 48px minmax(0, 1fr) 83px; }
.scene-toolbar { display: flex; padding: 0 16px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--scene-line); }
.scene-toolbar > strong { font-size: 12px; font-weight: 650; }
.scene-toolbar > span { display: inline-flex; align-items: center; gap: 7px; color: var(--scene-quiet); font-size: 10px; }
.scene-toolbar .icon { width: 14px; height: 14px; color: var(--green); }
.scene-panels { position: relative; min-height: 529px; overflow: hidden; }
.scene-panel { position: absolute; inset: 0; display: flex; min-width: 0; padding: 28px 30px 24px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s ease, transform .55s cubic-bezier(.16, .78, .2, 1), visibility .45s ease; flex-direction: column; }
.scene-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.scene-prompt { align-self: flex-end; width: min(500px, 76%); padding: 13px 15px; border-radius: 7px; color: var(--scene-ink); background: var(--scene-soft); }
.scene-prompt > span, .stream-answer > span { display: block; margin-bottom: 5px; color: var(--scene-quiet); font-size: 9px; font-weight: 600; }
.scene-prompt p, .stream-answer p { margin: 0; font-size: 12px; line-height: 1.65; }
.scene-result-head { display: flex; margin: 25px 0 12px; align-items: center; justify-content: space-between; gap: 12px; color: var(--scene-quiet); font-size: 10px; }
.scene-result-head > span { display: inline-flex; align-items: center; gap: 7px; color: var(--scene-muted); }
.scene-result-head .icon { width: 14px; height: 14px; color: var(--blue); }
.scene-result-head code { font-family: var(--mono); font-size: 9px; }
.generated-grid { display: grid; min-height: 284px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.generated-grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 6px; background: var(--scene-soft); }
.generated-grid figure::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: inherit; content: ""; pointer-events: none; }
.generated-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, .78, .2, 1); }
.generated-grid figure:hover img { transform: scale(1.035); }

.edit-context { display: flex; margin: 20px 0 12px; align-items: center; gap: 9px; color: var(--scene-quiet); font-size: 9px; }
.edit-context img { width: 44px; height: 34px; object-fit: cover; border: 1px solid var(--scene-line); border-radius: 4px; }
.edit-context .icon { width: 13px; height: 13px; }
.edit-result { display: grid; min-height: 316px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.edit-result > div { position: relative; min-width: 0; overflow: hidden; border-radius: 6px; background: var(--scene-soft); }
.edit-result span { position: absolute; top: 9px; left: 9px; z-index: 1; padding: 4px 7px; border-radius: 4px; color: #ffffff; background: rgba(20, 25, 31, .68); backdrop-filter: blur(8px); font-size: 9px; }
.edit-result img { width: 100%; height: 100%; object-fit: cover; }

.code-scene-grid { display: grid; min-height: 349px; margin-top: 22px; grid-template-columns: minmax(0, 1.55fr) minmax(220px, .8fr); border: 1px solid var(--scene-line); border-radius: 6px; overflow: hidden; }
.code-scene-editor { min-width: 0; background: var(--scene-main); }
.code-scene-editor > div { display: flex; min-height: 39px; padding: 0 14px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--scene-line); color: var(--scene-muted); font-family: var(--mono); font-size: 10px; }
.code-scene-editor > div b { color: var(--green); font-weight: 500; }
.code-scene-editor pre { margin: 0; padding: 20px; overflow: auto; color: var(--scene-ink); font-family: var(--mono); font-size: 11px; line-height: 1.9; white-space: pre; }
.code-scene-agent { padding: 18px; border-left: 1px solid var(--scene-line); background: var(--scene-soft); }
.code-scene-agent > span { display: flex; align-items: center; gap: 8px; color: var(--scene-muted); font-size: 10px; }
.code-scene-agent > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: signal-pulse 1.8s ease-in-out infinite; }
.code-scene-agent ol { display: grid; margin: 24px 0; padding: 0; gap: 15px; list-style: none; counter-reset: agent-step; }
.code-scene-agent li { position: relative; padding-left: 25px; color: var(--scene-quiet); font-size: 11px; counter-increment: agent-step; }
.code-scene-agent li::before { position: absolute; top: -2px; left: 0; display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid var(--scene-line); border-radius: 50%; content: counter(agent-step); font-family: var(--mono); font-size: 8px; }
.code-scene-agent li.is-done, .code-scene-agent li.is-active { color: var(--scene-ink); }
.code-scene-agent li.is-done::before { border-color: var(--green); color: var(--green); }
.code-scene-agent li.is-active::before { border-color: var(--blue); color: var(--blue); }
.code-scene-agent pre { margin: 0; padding: 12px; border-radius: 5px; color: var(--green); background: var(--scene-main); font-family: var(--mono); font-size: 9px; line-height: 1.7; }

.stream-stage { display: grid; min-height: 350px; margin-top: 22px; padding: 22px; align-content: start; gap: 18px; border: 1px solid var(--scene-line); border-radius: 6px; background: var(--scene-soft); }
.stream-request { display: flex; min-height: 44px; padding: 0 13px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 5px; background: var(--scene-main); font-family: var(--mono); font-size: 10px; }
.stream-request > span { display: inline-flex; align-items: center; gap: 8px; }
.stream-request .icon { width: 14px; height: 14px; color: var(--green); }
.stream-request code { color: var(--blue); }
.stream-answer { position: relative; max-width: 570px; padding: 21px 23px; border-radius: 6px; background: var(--scene-main); box-shadow: 0 8px 28px rgba(17, 24, 39, .05); }
.stream-answer p { font-size: 14px; line-height: 1.8; }
.stream-caret { display: inline-block; width: 2px; height: 15px; margin-left: 4px; vertical-align: -3px; background: var(--blue); animation: cursor-blink 1s steps(1) infinite; }
.stream-events { display: flex; align-items: center; gap: 7px; overflow: hidden; }
.stream-events span { min-width: max-content; padding: 6px 8px; border: 1px solid var(--scene-line); border-radius: 4px; color: var(--scene-quiet); background: var(--scene-main); font-family: var(--mono); font-size: 8px; }

.scene-composer { display: grid; min-width: 0; margin: 0 17px 14px; padding: 12px 13px 9px; grid-template-rows: 1fr auto; border: 1px solid var(--scene-line); border-radius: 7px; color: var(--scene-quiet); background: var(--scene-main); box-shadow: 0 7px 22px rgba(17, 24, 39, .07); font-size: 11px; }
:root[data-theme="dark"] .scene-composer { box-shadow: 0 7px 24px rgba(0, 0, 0, .24); }
.scene-composer > div { display: flex; align-items: center; justify-content: space-between; }
.scene-composer button { display: inline-grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--scene-muted); background: transparent; }
.scene-composer button:last-child { color: #ffffff; background: #2f6bff; }
.scene-composer button .icon { width: 14px; height: 14px; }
.scene-composer > div > span { display: inline-flex; gap: 5px; }
.scene-composer > div > span i { width: 4px; height: 4px; border-radius: 50%; background: var(--scene-line); }
.scene-composer > div > span i:first-child { background: var(--blue); }

/* A single, legible path replaces the previous stack of UI cards. */
.access { padding-top: 132px; padding-bottom: 142px; }
.access-intro { display: grid; margin-top: 30px; grid-template-columns: minmax(0, 7fr) minmax(330px, 5fr); align-items: end; gap: 72px; }
.access-intro h2 { max-width: 700px; font-size: 68px; line-height: 1.03; }
html[data-lang="zh"] .access-intro h2, html[data-lang="ja"] .access-intro h2 { font-size: 58px; line-height: 1.14; }
.access-intro > div { max-width: 470px; justify-self: end; }
.access-intro p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.78; }
.access-intro .primary-action { margin-top: 27px; }
.access-path { display: grid; margin: 78px 0 0; padding: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); list-style: none; }
.access-path > li { position: relative; display: grid; min-width: 0; min-height: 196px; padding: 31px 22px 14px 0; grid-template-rows: 26px 44px auto 1fr; align-content: start; }
.access-path > li::before { position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong); content: ""; }
.access-path > li:not(:last-child)::after { position: absolute; top: 28px; right: 18px; color: var(--quiet); content: "→"; font-family: var(--mono); font-size: 13px; }
.access-path > li > span { color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.access-path > li > .icon { width: 21px; height: 21px; color: var(--blue); }
.access-path > li:nth-child(2) > .icon { color: var(--warm); }
.access-path > li:nth-child(5) > .icon { color: var(--green); }
.access-path strong { margin-top: 3px; color: var(--ink); font-family: var(--display); font-size: 16px; font-weight: 650; }
.access-path small { max-width: 180px; margin-top: 8px; color: var(--muted); font-family: var(--body); font-size: 12px; font-weight: 400; line-height: 1.55; }
.endpoint-step small { display: flex; min-width: 0; align-items: center; gap: 4px; }
.endpoint-step code { overflow: hidden; color: var(--blue); font-family: var(--mono); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-step button { display: inline-grid; width: 27px; height: 27px; padding: 0; flex: 0 0 27px; place-items: center; border: 0; border-radius: 5px; color: var(--blue); background: var(--blue-soft); }
.endpoint-step button .icon { width: 13px; height: 13px; }

/* Public and private destinations are deliberately separated in a dark information band. */
.signal { color: #f2f5f7; background: #11171d; }
:root[data-theme="dark"] .signal { background: #0d1217; }
.signal-inner { display: grid; padding-top: 112px; padding-bottom: 112px; grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr); align-items: start; gap: 90px; }
.signal .section-meta { color: #84909b; }
.signal .section-meta i { background: #78a2ff; }
.signal .section-meta span:last-child { display: none; }
.signal-copy h2 { max-width: 520px; margin: 30px 0 0; color: #f4f7fa; font-size: 58px; line-height: 1.08; }
.signal-copy h2 > span { display: block; }
html[data-lang="zh"] .signal-copy h2, html[data-lang="ja"] .signal-copy h2 { font-size: 50px; line-height: 1.18; }
.signal-copy > p { max-width: 470px; margin: 25px 0 0; color: #9ca8b3; font-size: 15px; line-height: 1.8; }
.signal .signal-links { display: grid; margin: 0; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(238, 244, 249, .13); }
.signal .signal-links a {
  display: grid;
  min-height: 104px;
  padding: 18px 3px;
  grid-template-columns: 34px minmax(0, 1fr) auto 22px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(238, 244, 249, .13);
  border-radius: 0;
  color: #f2f5f7;
  background: transparent;
  box-shadow: none;
  transition: background .2s ease, padding .2s ease;
}
.signal .signal-links a:hover { padding-right: 9px; padding-left: 9px; border-color: rgba(238, 244, 249, .13); background: rgba(255, 255, 255, .035); box-shadow: none; transform: none; }
.signal .signal-links a > .icon:first-child { width: 19px; height: 19px; color: #ff8b6d; }
.signal .signal-links a:nth-child(2) > .icon:first-child { color: #78a2ff; }
.signal .signal-links a:nth-child(3) > .icon:first-child { color: #62cba2; }
.signal .signal-links a:nth-child(4) > .icon:first-child { color: #e7c363; }
.signal .signal-links a > span { grid-column: auto; align-self: center; }
.signal .signal-links strong { color: #f2f5f7; font-size: 15px; font-weight: 600; }
.signal .signal-links small { margin-top: 5px; color: #8f9ba6; font-size: 12px; }
.signal .signal-links b { color: #9ca8b3; background: rgba(255, 255, 255, .06); font-size: 9px; }
.signal .signal-links a > .icon:last-child { width: 15px; height: 15px; color: #7d8994; }

.site-footer { display: grid; width: min(var(--content-max), calc(100% - 64px)); min-height: 94px; margin: 0 auto; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-size: 16px; text-decoration: none; }
.footer-brand img { width: 26px; height: 26px; object-fit: contain; }
.footer-brand strong { font-weight: 700; }
.site-footer > span { text-align: center; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; max-width: min(390px, calc(100vw - 44px)); padding: 12px 14px; align-items: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; font-size: 13px; }
.toast.is-visible { opacity: 1; transform: none; }
.toast .icon { color: var(--green); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, .78, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes cursor-blink { 0%, 46% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes trace-run { 0% { transform: translateX(-100%); } 50% { transform: translateX(360%); } 100% { transform: translateX(-100%); } }
@keyframes signal-pulse { 0%, 100% { opacity: .48; box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); } 50% { opacity: 1; box-shadow: 0 0 0 5px rgba(47, 107, 255, .12); } }
@keyframes plan-done { from { opacity: .35; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
@keyframes terminal-in { to { opacity: 1; transform: none; } }
@keyframes scene-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1220px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .brand-tag, .public-signal { display: none; }
  .hero h1 { font-size: 104px; }
  html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 86px; }
  .canvas-body { grid-template-columns: 48px 180px minmax(0, 1fr) 326px; }
}

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-button { display: inline-grid; }
  .mobile-nav { position: fixed; top: calc(var(--header-h) + 9px); right: 22px; left: 22px; z-index: 49; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); pointer-events: auto; }
  .menu-open .mobile-nav { display: grid; }
  .mobile-language-row { display: flex; min-height: 52px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
  .mobile-nav a { display: flex; min-height: 48px; padding: 10px 2px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--ink); }
  .hero-frame { min-height: 450px; }
  .hero h1 { font-size: 88px; }
  html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 72px; }
  .canvas-wrap { width: calc(100vw - 56px); }
  .canvas-body { grid-template-columns: 48px minmax(0, 1fr) 326px; }
  .explorer { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .site-header { top: 8px; padding: 0 10px; }
  .header-inner { min-height: 52px; padding: 0 7px 0 11px; }
  .brand img { width: 28px; height: 28px; }
  .brand-word { font-size: 16px; }
  .header-actions > .language-switch { display: none; }
  .console-action { min-height: 34px; padding: 7px 9px; font-size: 11px; }
  .icon-button { width: 34px; height: 34px; }
  .mobile-nav { top: 70px; right: 10px; left: 10px; }
  .hero { padding: calc(var(--header-h) + 24px) 14px 0; }
  .hero-frame { min-height: 410px; padding: 35px 0 48px; }
  .hero-kicker { font-size: 10px; }
  .hero h1 { margin-top: 23px; font-size: 56px; line-height: .96; }
  html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 48px; line-height: 1.12; }
  .hero-subtitle { margin-top: 19px; font-size: 17px; }
  .hero-lead { max-width: 520px; margin-top: 10px; font-size: 14px; }
  .hero-actions { width: 100%; margin-top: 22px; flex-direction: column; gap: 8px; }
  .hero-actions .primary-action { width: 100%; }
  .quiet-action { justify-content: center; }
  .canvas-wrap { width: calc(100vw - 30px); max-width: none; }
  .canvas-chrome { min-height: 48px; padding: 0 11px; gap: 10px; }
  .window-dots { gap: 6px; }
  .window-dots i { width: 10px; height: 10px; }
  .canvas-title { font-size: 10px; }
  .canvas-title img { width: 18px; height: 18px; }
  .canvas-title strong { max-width: 110px; }
  .canvas-mode b { display: none; }
  .canvas-mode span { font-size: 10px; }
  .canvas-body { display: flex; min-height: 0; flex-direction: column; }
  .activity-bar, .explorer { display: none; }
  .agent { order: 1; min-height: 510px; border-bottom: 1px solid var(--ide-line); border-left: 0; }
  .agent-head { padding: 0 14px; }
  .agent-model { padding: 0 14px; }
  .agent-thread { padding: 16px 14px; }
  .agent-compose { margin: 0 11px 12px; }
  .change-summary { padding: 0 14px; }
  .editor { order: 2; min-height: 682px; grid-template-rows: 44px 38px minmax(360px, 1fr) 200px; }
  .editor-tabs { overflow-x: auto; scrollbar-width: none; }
  .editor-tabs::-webkit-scrollbar { display: none; }
  .editor-tab { min-width: max-content; }
  .editor-crumb { padding: 0 12px; }
  .editor-code { grid-template-columns: 42px minmax(max-content, 1fr); }
  .line-numbers { padding: 16px 8px 24px 0; font-size: 11px; line-height: 18px; }
  .line-numbers span { height: 18px; }
  .code-output { padding: 16px 16px 24px 10px; font-size: 11px; line-height: 18px; }
  .code-line { min-height: 18px; }
  .code-line.is-active { box-shadow: -10px 0 0 var(--ide-active), 16px 0 0 var(--ide-active); }
  .inline-caret { height: 15px; vertical-align: -3px; }
  .terminal-bar { padding: 0 10px; }
  .terminal-tabs { gap: 0; }
  .terminal-tab { padding: 0 8px; font-size: 10px; }
  .terminal-bar > span { display: none; }
  .terminal-output { padding: 12px; font-size: 10px; line-height: 18px; }
  .canvas-status { padding: 0 10px; font-size: 10px; }
  .build-state small, .endpoint small { display: none; }
  .endpoint code { max-width: 142px; font-size: 10px; }
  .canvas-caption { display: none; }
  .section { width: calc(100% - 32px); padding: 84px 0; }
  .section-meta { font-size: 10px; }
  .section-meta span:last-child { display: none; }
  .section h2, html[data-lang="zh"] .section h2, html[data-lang="ja"] .section h2 { font-size: 40px; line-height: 1.12; }
  .site-footer { display: block; width: calc(100% - 32px); padding: 26px 0 24px; line-height: 1.7; }
  .site-footer > span { display: block; margin-top: 14px; text-align: left; }
  .site-footer nav { margin-top: 12px; gap: 14px; }
}

@media (max-width: 350px) {
  .console-action { width: 34px; padding: 0; font-size: 0; }
  .console-action .icon { display: block; }
  .hero { padding-right: 10px; padding-left: 10px; }
  .hero h1 { font-size: 48px; }
  html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 42px; }
  .canvas-wrap { width: calc(100vw - 25px); }
  .canvas-title strong { max-width: 84px; }
  .endpoint code { max-width: 112px; }
  .section { width: calc(100% - 24px); }
}

@media (max-width: 1220px) {
  .scenes { width: calc(100% - 56px); }
  .scenes-layout { grid-template-columns: minmax(300px, .9fr) minmax(0, 2fr); gap: 38px; }
  .scenes-copy h2 { font-size: 54px; }
  html[data-lang="zh"] .scenes-copy h2, html[data-lang="ja"] .scenes-copy h2 { font-size: 48px; }
  .scene-app { grid-template-columns: 136px minmax(0, 1fr); }
  .scene-panel { padding-right: 22px; padding-left: 22px; }
  .access-intro { gap: 50px; }
  .access-path > li { padding-right: 14px; }
}

@media (max-width: 1020px) {
  .scenes { width: calc(100% - 56px); }
  .scenes-layout { grid-template-columns: 1fr; gap: 46px; }
  .scenes-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 34px 48px; }
  .scenes-copy .section-meta { grid-column: 1 / -1; }
  .scenes-copy h2 { max-width: 620px; margin: 0; }
  .scenes-copy > p { max-width: 470px; margin: 0; align-self: end; }
  .scene-tabs { grid-column: 1 / -1; margin-top: 4px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .scene-tab { min-height: 94px; padding: 11px; grid-template-columns: 32px minmax(0, 1fr); }
  .scene-tab-icon { width: 30px; height: 30px; }
  .scene-tab small { display: none; }
  .scene-progress { left: 11px; }
  .access-intro { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .access-intro > div { max-width: 570px; justify-self: start; }
  .access-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 0; border-top: 0; }
  .access-path > li { border-top: 1px solid var(--line-strong); }
  .access-path > li:nth-child(3)::after { display: none; }
  .signal-inner { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: 56px; }
}

@media (max-width: 760px) {
  .console-action { display: none; }
  .language-trigger { min-width: 54px; padding: 0 7px; grid-template-columns: 15px 1fr; }
  .language-trigger .language-chevron { display: none; }
  .language-panel { right: -48px; }
  .hero-frame { min-height: 430px; }
  .hero h1, html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { width: 100%; font-size: 47px; line-height: 1.08; }
  .hero-subtitle { max-width: 330px; font-size: 16px; }
  .hero-lead { max-width: 344px; font-size: 14px; }

  .scenes { width: calc(100% - 30px); padding: 96px 0 92px; }
  .scenes-layout { gap: 36px; }
  .scenes-copy { display: block; }
  .scenes-copy h2, html[data-lang="zh"] .scenes-copy h2, html[data-lang="ja"] .scenes-copy h2 { margin-top: 24px; font-size: 39px; line-height: 1.14; }
  .scenes-copy > p { margin-top: 19px; font-size: 15px; }
  .scene-tabs { margin-top: 31px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-tab { min-height: 77px; padding: 9px; grid-template-columns: 29px minmax(0, 1fr); gap: 9px; }
  .scene-tab-icon { width: 28px; height: 28px; }
  .scene-tab strong { font-size: 13px; }
  .scene-chrome { padding: 0 11px; grid-template-columns: 1fr auto; }
  .scene-chrome > strong { justify-self: end; }
  .scene-chrome > span { display: none; }
  .scene-app { min-height: 730px; grid-template-columns: 1fr; }
  .scene-sidebar { display: none; }
  .scene-main { grid-template-rows: 45px minmax(0, 1fr) 78px; }
  .scene-toolbar { padding: 0 12px; }
  .scene-toolbar > span { font-size: 9px; }
  .scene-panels { min-height: 607px; }
  .scene-panel { padding: 18px 15px; }
  .scene-prompt { width: 100%; padding: 11px 12px; }
  .scene-prompt p { font-size: 11px; }
  .scene-result-head { margin-top: 19px; }
  .scene-result-head code { display: none; }
  .generated-grid { min-height: 414px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .edit-context { margin-top: 16px; }
  .edit-result { min-height: 430px; }
  .code-scene-grid { min-height: 443px; grid-template-columns: 1fr; grid-template-rows: minmax(245px, 1fr) auto; }
  .code-scene-editor pre { padding: 15px; font-size: 9px; line-height: 1.85; }
  .code-scene-agent { padding: 14px; border-top: 1px solid var(--scene-line); border-left: 0; }
  .code-scene-agent ol { margin: 15px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .code-scene-agent li { padding: 23px 4px 0 0; font-size: 9px; }
  .code-scene-agent li::before { top: 0; }
  .stream-stage { min-height: 446px; padding: 14px; }
  .stream-request { align-items: flex-start; justify-content: center; flex-direction: column; }
  .stream-answer { padding: 18px; }
  .stream-answer p { font-size: 13px; }
  .stream-events { align-items: flex-start; flex-direction: column; }
  .scene-composer { margin-right: 10px; margin-left: 10px; }

  .access { padding-top: 96px; padding-bottom: 106px; }
  .access-intro { margin-top: 24px; gap: 24px; }
  .access-intro h2, html[data-lang="zh"] .access-intro h2, html[data-lang="ja"] .access-intro h2 { font-size: 40px; line-height: 1.14; }
  .access-intro p { font-size: 15px; }
  .access-path { margin-top: 54px; grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line-strong); }
  .access-path > li { min-height: 128px; padding: 20px 12px 20px 31px; grid-template-columns: 31px minmax(0, 1fr); grid-template-rows: 22px auto auto; border-top: 0; }
  .access-path > li::before { top: 25px; left: -4px; }
  .access-path > li:not(:last-child)::after { top: auto; right: auto; bottom: 9px; left: 40px; content: "↓"; }
  .access-path > li > span { grid-column: 1; grid-row: 1; }
  .access-path > li > .icon { grid-column: 1; grid-row: 2 / span 2; margin-top: 3px; }
  .access-path strong { grid-column: 2; grid-row: 2; margin-top: 0; }
  .access-path small { grid-column: 2; grid-row: 3; max-width: none; }

  .signal-inner { display: block; padding-top: 88px; padding-bottom: 88px; }
  .signal-copy h2, html[data-lang="zh"] .signal-copy h2, html[data-lang="ja"] .signal-copy h2 { margin-top: 25px; font-size: 39px; line-height: 1.16; }
  .signal-copy > p { margin-top: 20px; font-size: 14px; }
  .signal .signal-links { margin-top: 48px; }
  .signal .signal-links a { min-height: 96px; grid-template-columns: 29px minmax(0, 1fr) 20px; gap: 10px; }
  .signal .signal-links b { display: none; }
}

@media (max-width: 350px) {
  .brand-word { font-size: 15px; }
  .header-actions { gap: 3px; }
  .language-trigger { min-width: 45px; }
  .hero h1, html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 42px; }
  .scene-toolbar > span { display: none; }
  .scene-panel { padding-right: 12px; padding-left: 12px; }
  .edit-result { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .scene-panels { min-height: 654px; }
  .scene-app { min-height: 777px; }
}

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

:root {
  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f7;
  --surface-strong: #e2e9f1;
  --ink: #12171d;
  --ink-soft: #2e3945;
  --muted: #5f6c79;
  --quiet: #84909c;
  --line: rgba(25, 45, 66, .10);
  --line-strong: rgba(25, 45, 66, .16);
  --blue: #2f6bff;
  --blue-soft: #e7efff;
  --green: #188b69;
  --green-soft: #e4f4ee;
  --warm: #df694d;
  --warm-soft: #fff0eb;
  --yellow: #c99018;
  --hero-band: #e8f0f8;
  --shadow: 0 28px 74px rgba(36, 59, 84, .14), 0 5px 18px rgba(36, 59, 84, .08);
  --signal-bg: #e8f0f7;
  --signal-ink: #172532;
  --signal-muted: #566676;
  --signal-quiet: #718393;
  --signal-line: rgba(31, 57, 79, .16);
  --ide-frame: #dfe6ee;
  --ide-top: #f0f3f7;
  --ide-rail: #e7edf3;
  --ide-side: #f6f8fa;
  --ide-main: #ffffff;
  --ide-agent: #f7f9fb;
  --ide-status: #edf2f7;
  --ide-line: #d7dfe8;
  --ide-line-strong: #c6d0db;
  --ide-ink: #1d2731;
  --ide-soft: #3b4855;
  --ide-muted: #617080;
  --ide-quiet: #81909e;
  --ide-active: #e7effa;
}

:root[data-theme="dark"] {
  --page: #0c1218;
  --surface: #121a22;
  --surface-soft: #17222c;
  --surface-strong: #202c37;
  --ink: #f0f4f7;
  --ink-soft: #d7e0e7;
  --muted: #a2afbb;
  --quiet: #7f8d9a;
  --line: rgba(226, 237, 246, .10);
  --line-strong: rgba(226, 237, 246, .17);
  --blue: #86aaff;
  --blue-soft: #1a3155;
  --green: #5acaa2;
  --green-soft: #163328;
  --warm: #f28a70;
  --warm-soft: #35221e;
  --yellow: #e5bb5c;
  --hero-band: #111b25;
  --shadow: 0 34px 96px rgba(0, 0, 0, .42), 0 5px 18px rgba(0, 0, 0, .25);
  --signal-bg: #111c26;
  --signal-ink: #f0f4f7;
  --signal-muted: #a4b1bc;
  --signal-quiet: #82919e;
  --signal-line: rgba(226, 237, 246, .15);
  --ide-frame: #0b131b;
  --ide-top: #15212c;
  --ide-rail: #101a23;
  --ide-side: #151f28;
  --ide-main: #09151f;
  --ide-agent: #101b24;
  --ide-status: #111d27;
  --ide-line: #2c3b47;
  --ide-line-strong: #40515f;
  --ide-ink: #e8eff4;
  --ide-soft: #c2ced8;
  --ide-muted: #9eacb8;
  --ide-quiet: #7f8f9c;
  --ide-active: #18334d;
}

body, .page { background: var(--page); }
.hero { position: relative; padding-top: calc(var(--header-h) + 42px); }
.hero-frame { width: min(1180px, calc(100% - 48px)); min-height: 300px; padding: 56px 0 30px; }
.hero h1 { margin-top: 25px; font-size: 98px; letter-spacing: -.02em; }
html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 82px; letter-spacing: 0; }
.hero-subtitle { margin-top: 22px; color: var(--ink-soft); font-size: 19px; }
.hero-workspace {
  display: grid;
  width: min(1400px, calc(100% - 72px));
  margin: 0 auto;
  padding: 20px;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 2fr);
  align-items: stretch;
  gap: 22px;
  border: 1px solid rgba(50, 78, 106, .12);
  border-radius: 19px;
  background: var(--hero-band);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 18px 50px rgba(34, 63, 91, .08);
}
:root[data-theme="dark"] .hero-workspace { border-color: rgba(205, 225, 240, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 28px 70px rgba(0, 0, 0, .24); }
.hero-side { min-width: 0; padding: 25px 21px 25px 15px; align-items: stretch; justify-content: flex-start; border-right: 1px solid rgba(44, 72, 99, .14); text-align: left; }
:root[data-theme="dark"] .hero-side { border-right-color: rgba(213, 229, 241, .12); }
.hero-side-meta { display: flex; align-items: center; justify-content: space-between; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: .02em; text-transform: uppercase; }
.hero-side-meta span:first-child { color: var(--blue); font-weight: 700; }
.hero-lead { max-width: 310px; margin: 22px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.hero-actions {
  display: grid;
  width: 100%;
  max-width: 218px;
  margin-top: 25px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 8px;
}
.hero-actions .primary-action,
.hero-actions .quiet-action {
  display: grid;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  grid-template-columns: 16px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
.hero-actions .primary-action > span,
.hero-actions .quiet-action > span { min-width: 0; text-align: left; }
.hero-actions .quiet-action {
  border: 1px solid rgba(47, 107, 255, .16);
  color: var(--ink);
  background: color-mix(in srgb, var(--blue-soft) 62%, var(--surface));
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.hero-actions .quiet-action:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 107, 255, .32);
  color: var(--blue);
  background: var(--surface);
}
:root[data-theme="dark"] .hero-actions .quiet-action {
  border-color: rgba(142, 176, 255, .18);
  background: color-mix(in srgb, var(--blue-soft) 50%, var(--surface));
}
.hero-actions .quiet-action .icon { width: 15px; height: 15px; }
.hero-route { display: grid; margin-top: 28px; border-top: 1px solid rgba(44, 72, 99, .14); }
:root[data-theme="dark"] .hero-route { border-top-color: rgba(213, 229, 241, .12); }
.hero-route-item { display: grid; min-width: 0; padding: 11px 0; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 9px; border-bottom: 1px solid rgba(44, 72, 99, .10); }
:root[data-theme="dark"] .hero-route-item { border-bottom-color: rgba(213, 229, 241, .10); }
.hero-route-item > .icon { width: 16px; height: 16px; color: var(--blue); }
.hero-route-item:nth-child(2) > .icon { color: var(--warm); }
.hero-route-item:nth-child(3) > .icon { color: var(--green); }
.hero-route-item strong, .hero-route-item small { display: block; }
.hero-route-item strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.hero-route-item small { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.hero-route-item code { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.hero-route-note { margin: 16px 0 0; color: var(--quiet); font-family: var(--mono); font-size: 9px; line-height: 1.55; }
.canvas-wrap { width: auto; min-width: 0; margin: 0; padding: 0; }
.canvas-shell { border-radius: 13px; box-shadow: 0 24px 60px rgba(30, 54, 76, .16), 0 3px 10px rgba(30, 54, 76, .08); }
:root[data-theme="dark"] .canvas-shell { box-shadow: 0 32px 82px rgba(0, 0, 0, .42), 0 3px 12px rgba(0, 0, 0, .25); }
.canvas-chrome { min-height: 55px; padding-right: 16px; padding-left: 16px; gap: 13px; }
.canvas-menu { display: inline-flex; align-items: center; gap: 13px; color: var(--ide-muted); font-size: 10px; }
.canvas-menu span { padding: 5px 3px; border-radius: 4px; }
.canvas-menu span:first-child { color: var(--ide-ink); background: var(--ide-active); }
.canvas-body { min-height: 690px; grid-template-columns: 48px 198px minmax(0, 1fr) 332px; }
.editor { grid-template-rows: 44px 38px minmax(340px, 1fr) 196px; }
.code-output { font-size: 13px; line-height: 21px; }
.line-numbers { font-size: 11px; line-height: 21px; }
.line-numbers span { height: 21px; }
.terminal-output { font-size: 11px; line-height: 19px; }
.agent { grid-template-rows: 72px 46px minmax(0, 1fr) auto 58px; }
.agent-compose { margin-right: 13px; margin-left: 13px; }
.canvas-status { min-height: 42px; }
.canvas-caption { padding-top: 10px; }

.scenes { position: relative; width: min(1400px, calc(100% - 72px)); padding-top: 145px; padding-bottom: 138px; }
.scenes-layout { grid-template-columns: minmax(265px, .72fr) minmax(0, 2.1fr); gap: 48px; }
.scenes-copy h2 { max-width: 430px; margin-top: 25px; font-size: 58px; }
html[data-lang="zh"] .scenes-copy h2, html[data-lang="ja"] .scenes-copy h2 { font-size: 50px; }
.scenes-copy > p { max-width: 360px; margin-top: 21px; font-size: 15px; line-height: 1.82; }
.scene-stage { min-width: 0; }
.scene-tabs { display: grid; margin-top: 0; padding: 5px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.scene-tab { min-height: 67px; padding: 8px 9px; grid-template-columns: 29px minmax(0, 1fr); gap: 9px; border-radius: 8px; }
.scene-tab:hover { transform: none; background: rgba(255, 255, 255, .52); }
:root[data-theme="dark"] .scene-tab:hover { background: rgba(255, 255, 255, .05); }
.scene-tab.is-active { background: var(--surface); box-shadow: 0 4px 13px rgba(28, 53, 78, .10); }
:root[data-theme="dark"] .scene-tab.is-active { box-shadow: 0 5px 16px rgba(0, 0, 0, .24); }
.scene-tab-icon { width: 29px; height: 29px; border: 0; border-radius: 7px; background: transparent; }
.scene-tab.is-active .scene-tab-icon { background: var(--blue-soft); }
.scene-tab strong { font-size: 12px; }
.scene-tab small { margin-top: 3px; font-size: 9px; line-height: 1.3; }
.scene-progress { right: 8px; bottom: 4px; left: 8px; height: 2px; border-radius: 2px; background: var(--line); }
.scene-progress b { border-radius: inherit; }
.scene-stage-tools { display: flex; min-height: 34px; margin: 8px 2px 11px; align-items: center; justify-content: space-between; gap: 12px; color: var(--quiet); font-family: var(--mono); font-size: 9px; }
.scene-stage-tools > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-workbench { border-radius: 13px; box-shadow: 0 27px 72px rgba(31, 55, 78, .13), 0 4px 13px rgba(31, 55, 78, .07); }
:root[data-theme="dark"] .scene-workbench { box-shadow: 0 32px 86px rgba(0, 0, 0, .38), 0 4px 16px rgba(0, 0, 0, .22); }
.scene-chrome { min-height: 48px; }
.scene-main { grid-template-rows: 50px minmax(0, 1fr) 86px; }
.scene-toolbar { padding-right: 18px; padding-left: 18px; }
.scene-panels { min-height: 548px; }
.scene-panel { padding: 29px 31px 25px; }
.scene-prompt { border: 1px solid var(--scene-line); background: color-mix(in srgb, var(--scene-soft) 78%, var(--scene-main)); box-shadow: 0 5px 18px rgba(35, 56, 75, .04); }
.generated-grid { min-height: 300px; gap: 8px; }
.generated-grid figure { border-radius: 8px; box-shadow: 0 5px 18px rgba(31, 50, 68, .08); }
.generated-grid figure::before { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; height: 38%; background: linear-gradient(180deg, transparent, rgba(12, 20, 28, .62)); content: ""; pointer-events: none; }
.generated-grid figcaption { position: absolute; right: 9px; bottom: 8px; left: 9px; z-index: 2; overflow: hidden; color: #fff; font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.edit-result > div { box-shadow: 0 5px 18px rgba(31, 50, 68, .08); }
.edit-result .is-edited { filter: saturate(.84) hue-rotate(12deg) brightness(1.04) contrast(1.02); }
.scene-composer { min-height: 61px; margin-right: 18px; margin-left: 18px; border-radius: 9px; box-shadow: 0 8px 24px rgba(30, 53, 73, .09); }

.access { position: relative; padding-top: 145px; padding-bottom: 148px; }
.access::before { position: absolute; right: 0; left: 0; top: 0; height: 1px; background: var(--line); content: ""; }
.access-intro h2 { font-size: 64px; }
html[data-lang="zh"] .access-intro h2, html[data-lang="ja"] .access-intro h2 { font-size: 54px; }
.access-path { margin-top: 70px; }

.signal { color: var(--signal-ink); background: var(--signal-bg); }
:root[data-theme="dark"] .signal { background: var(--signal-bg); }
.signal-inner { padding-top: 114px; padding-bottom: 114px; }
.signal .section-meta { color: var(--signal-muted); }
.signal-copy h2 { color: var(--signal-ink); }
.signal-copy > p { color: var(--signal-muted); }
.signal .signal-links { border-top-color: var(--signal-line); }
.signal .signal-links a { color: var(--signal-ink); border-bottom-color: var(--signal-line); }
.signal .signal-links a:hover { background: rgba(255, 255, 255, .34); border-color: var(--signal-line); }
:root[data-theme="dark"] .signal .signal-links a:hover { background: rgba(255, 255, 255, .045); }
.signal .signal-links strong { color: var(--signal-ink); }
.signal .signal-links small { color: var(--signal-muted); }
.signal .signal-links b { color: var(--signal-muted); background: rgba(26, 54, 75, .08); }
:root[data-theme="dark"] .signal .signal-links b { background: rgba(255, 255, 255, .06); }
.signal .signal-links a > .icon:last-child { color: var(--signal-quiet); }
.site-footer { background: var(--page); }

@media (max-width: 1180px) {
  .hero-workspace { width: calc(100% - 48px); grid-template-columns: minmax(235px, .62fr) minmax(0, 1.8fr); gap: 16px; padding: 15px; }
  .hero-side { padding-right: 14px; }
  .canvas-body { grid-template-columns: 46px 170px minmax(0, 1fr) 300px; }
  .canvas-menu { display: none; }
  .scenes { width: calc(100% - 48px); }
  .scenes-layout { grid-template-columns: minmax(240px, .65fr) minmax(0, 1.95fr); gap: 32px; }
}

@media (max-width: 980px) {
  .hero-frame { width: calc(100% - 40px); padding-top: 58px; }
  .hero h1 { font-size: 84px; }
  html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { font-size: 70px; }
  .hero-workspace { grid-template-columns: 1fr; }
  .hero-side { padding: 20px 17px 17px; border-right: 0; border-bottom: 1px solid rgba(44, 72, 99, .14); }
  :root[data-theme="dark"] .hero-side { border-bottom-color: rgba(213, 229, 241, .12); }
  .hero-lead { max-width: 620px; }
  .hero-route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 0; }
  .hero-route-item { padding: 9px 0; grid-template-columns: 20px minmax(0, 1fr); border-top: 1px solid rgba(44, 72, 99, .10); border-bottom: 0; }
  .hero-route-note { margin-top: 9px; }
  .canvas-body { grid-template-columns: 46px minmax(0, 1fr) 300px; }
  .explorer { display: none; }
  .scenes-layout { grid-template-columns: 1fr; gap: 38px; }
  .scenes-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr); gap: 24px 38px; }
  .scenes-copy .section-meta { grid-column: 1 / -1; }
  .scenes-copy h2 { margin-top: 0; }
  .scenes-copy > p { align-self: end; margin-top: 0; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 19px); }
  .hero-frame { width: calc(100% - 30px); min-height: 315px; padding: 43px 0 30px; }
  .hero h1, html[data-lang="zh"] .hero h1, html[data-lang="ja"] .hero h1 { margin-top: 20px; font-size: 48px; line-height: 1.08; }
  .hero-subtitle { max-width: 330px; margin-top: 18px; font-size: 16px; }
  .hero-workspace { width: calc(100% - 20px); padding: 9px; border-radius: 14px; gap: 9px; }
  .hero-side { padding: 17px 12px 13px; }
  .hero-side-meta { font-size: 9px; }
  .hero-lead { margin-top: 14px; font-size: 14px; line-height: 1.68; }
  .hero-actions { margin-top: 17px; flex-wrap: wrap; gap: 9px 14px; }
  .hero-actions .primary-action,
  .hero-actions .quiet-action { min-height: 44px; }
  .hero-route { margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .hero-route-item { min-height: 58px; align-items: start; padding-top: 10px; }
  .hero-route-item strong { font-size: 11px; }
  .hero-route-item small { overflow: visible; font-size: 9px; line-height: 1.35; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .hero-route-note { font-size: 8px; }
  .canvas-shell { border-radius: 10px; }
  .canvas-body { grid-template-columns: 1fr; }
  .canvas-chrome { min-height: 49px; }
  .agent { order: 1; min-height: 520px; border-left: 0; border-bottom: 1px solid var(--ide-line); }
  .editor { order: 2; min-height: 650px; }
  .scene-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-tab { min-height: 64px; }
  .scene-tab small { display: none; }
  .scenes-copy { display: block; }
  .scenes-copy .section-meta { display: flex; }
  .scenes-copy h2, html[data-lang="zh"] .scenes-copy h2, html[data-lang="ja"] .scenes-copy h2 { max-width: 100%; margin-top: 23px; font-size: 39px; line-height: 1.14; }
  .scenes-copy > p { max-width: 100%; margin-top: 18px; font-size: 15px; }
  .scene-stage-tools { margin-top: 7px; }
  .scene-workbench { border-radius: 10px; }
  .scene-app { min-height: 730px; }
  .scene-panels { min-height: 607px; }
  .scene-panel { padding: 18px 15px; }
  .generated-grid { min-height: 414px; }
  .access, .scenes { width: calc(100% - 30px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-workspace, .canvas-shell, .scene-workbench { scroll-behavior: auto; }
}

.hero-workspace {
  grid-template-columns: minmax(220px, .48fr) minmax(0, 2.25fr);
  gap: 18px;
}
.hero-side { padding-right: 17px; }
.hero-lead { max-width: 270px; }
.canvas-body { grid-template-columns: 46px 176px minmax(0, 1fr) 300px; }
.editor { grid-template-rows: 44px 38px minmax(340px, 1fr) 196px; }
.code-output { font-size: 13.5px; }

.scenes-layout { align-items: start; grid-template-columns: minmax(260px, .72fr) minmax(0, 2.1fr); gap: 38px; }
.scenes-copy { align-self: start; }
.scenes-copy h2 { max-width: 450px; }
.scene-ledger {
  display: grid;
  max-width: 360px;
  margin-top: 30px;
  padding: 15px 16px 14px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 76%, var(--surface-soft));
  box-shadow: 0 12px 30px rgba(37, 61, 84, .06);
}
:root[data-theme="dark"] .scene-ledger { background: color-mix(in srgb, var(--surface) 82%, var(--surface-soft)); box-shadow: 0 14px 32px rgba(0, 0, 0, .18); }
.scene-ledger-head, .scene-ledger-row, .scene-ledger-note { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; }
.scene-ledger-head { padding-bottom: 11px; color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.scene-ledger-head code { color: var(--blue); font-size: 9px; font-weight: 500; }
.scene-ledger-row { min-height: 31px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; }
.scene-ledger-row > :last-child { overflow: hidden; color: var(--muted); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.scene-ledger-row code { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.scene-ledger-note { justify-content: flex-start; margin-top: 12px; color: var(--quiet); font-size: 10px; line-height: 1.5; }
.scene-ledger-note .icon { width: 14px; height: 14px; flex: 0 0 auto; color: var(--blue); }
.scene-stage-tools { min-height: 32px; margin-top: 9px; margin-bottom: 11px; }
.scene-auto-status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-family: var(--mono); font-size: 9px; }
.scene-auto-status .icon { width: 13px; height: 13px; animation: scene-spin 2.8s linear infinite; }
.scene-tabs { padding: 4px; border-color: color-mix(in srgb, var(--line-strong) 70%, transparent); box-shadow: 0 8px 24px rgba(39, 61, 82, .05); }
.scene-tab { min-height: 70px; border: 1px solid transparent; }
.scene-tab:hover { border-color: color-mix(in srgb, var(--blue) 15%, transparent); background: color-mix(in srgb, var(--surface) 70%, var(--surface-soft)); }
.scene-tab.is-active { border-color: color-mix(in srgb, var(--blue) 22%, var(--line)); box-shadow: 0 7px 18px rgba(36, 66, 102, .12), inset 0 1px 0 rgba(255,255,255,.65); }
:root[data-theme="dark"] .scene-tab.is-active { box-shadow: 0 9px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.05); }
.scene-tab.is-active .scene-tab-icon { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 9%, transparent); }
.scene-chrome { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
.scene-chrome-path { display: flex; min-width: 0; align-items: center; gap: 6px; overflow: hidden; color: var(--scene-muted); font-family: var(--mono); font-size: 9px; }
.scene-chrome-path span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-chrome-path span:first-child { color: var(--scene-ink); font-weight: 650; }
.scene-chrome-path .icon { width: 11px; height: 11px; flex: 0 0 auto; color: var(--scene-quiet); }
.scene-chrome > strong { justify-self: center; white-space: nowrap; }
.scene-chrome > span { min-width: 0; }
.generated-grid { min-height: 330px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.generated-grid figure { min-height: 0; }
.generated-grid figure:hover { box-shadow: 0 9px 25px rgba(31, 50, 68, .14); }

.access-intro > div { max-width: 500px; }
.access-endpoint { display: flex; min-height: 46px; margin-top: 21px; padding: 0 10px 0 13px; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--quiet); background: color-mix(in srgb, var(--surface) 75%, var(--surface-soft)); font-family: var(--mono); font-size: 9px; }
.access-endpoint span { white-space: nowrap; }
.access-endpoint code { min-width: 0; overflow: hidden; flex: 1; color: var(--blue); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.access-endpoint button { display: inline-grid; width: 28px; height: 28px; padding: 0; flex: 0 0 28px; place-items: center; border: 0; border-radius: 6px; color: var(--blue); background: var(--blue-soft); }
.access-endpoint button:hover { color: var(--ink); background: var(--surface-strong); }
.access-path { margin-top: 58px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; border-top: 0; }
.access-path > li { min-height: 188px; padding: 20px 17px 17px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 80%, var(--surface-soft)); box-shadow: 0 8px 24px rgba(36, 59, 84, .045); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.access-path > li::before { top: 16px; right: 16px; left: auto; width: 7px; height: 7px; background: var(--surface); }
.access-path > li:not(:last-child)::after { top: 88px; right: -12px; z-index: 2; color: var(--quiet); font-size: 12px; }
.access-path > li:nth-child(2), .access-path > li:nth-child(4) { transform: translateY(28px); }
.access-path > li.endpoint-step { transform: translateY(-10px); border-color: color-mix(in srgb, var(--blue) 34%, var(--line)); background: color-mix(in srgb, var(--blue-soft) 72%, var(--surface)); box-shadow: 0 14px 30px rgba(47, 107, 255, .10); }
.access-path > li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); box-shadow: 0 14px 30px rgba(36, 59, 84, .10); }
.access-path > li:nth-child(2):hover, .access-path > li:nth-child(4):hover { transform: translateY(22px); }
.access-path > li.endpoint-step:hover { transform: translateY(-16px); }
.access-path strong { margin-top: 9px; }

.signal-model-preview { max-width: 470px; margin-top: 31px; padding-top: 19px; border-top: 1px solid var(--signal-line); }
.signal-model-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--signal-ink); font-family: var(--mono); font-size: 10px; }
.signal-model-preview-head > span { font-weight: 700; }
.signal-model-preview-head b { display: inline-flex; align-items: center; gap: 5px; color: var(--signal-muted); font-size: 9px; font-weight: 500; }
.signal-model-preview-head .icon { width: 12px; height: 12px; color: var(--warm); }
.signal-family-list { display: flex; flex-wrap: wrap; margin-top: 15px; gap: 7px; }
.signal-family-list span { padding: 6px 9px; border: 1px solid var(--signal-line); border-radius: 5px; color: var(--signal-ink); background: color-mix(in srgb, var(--signal-bg) 65%, transparent); font-family: var(--mono); font-size: 9px; }
.signal-health-list { display: grid; margin-top: 14px; gap: 5px; }
.signal-health-list > div { display: flex; min-height: 28px; padding: 0 8px; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--signal-line); border-radius: 5px; color: var(--signal-ink); background: color-mix(in srgb, var(--signal-bg) 42%, transparent); font-family: var(--mono); font-size: 9px; }
.signal-health-list > div > span { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
.signal-health-list .icon { width: 12px; height: 12px; color: var(--blue); }
.signal-health-list > div:nth-child(2) .icon { color: var(--warm); }
.signal-health-list > div:nth-child(3) .icon { color: var(--green); }
.signal-health-list b { color: var(--signal-muted); font-size: 8px; font-weight: 500; white-space: nowrap; }
.signal-model-preview > p { margin: 14px 0 0; color: var(--signal-muted); font-size: 11px; line-height: 1.65; }

.site-footer { width: min(var(--content-max), calc(100% - 64px)); min-height: 0; padding: 44px 0 31px; grid-template-columns: minmax(190px, 1.55fr) repeat(4, minmax(105px, 1fr)); grid-template-rows: auto auto; align-items: start; gap: 34px 28px; }
.footer-brand-block { display: grid; align-content: start; gap: 13px; }
.footer-brand-block > span { color: var(--quiet); font-family: var(--mono); font-size: 10px; line-height: 1.55; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column strong { margin-bottom: 4px; color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.footer-column a { color: var(--muted); font-family: var(--body); font-size: 11px; text-decoration: none; }
.footer-column a:hover { color: var(--blue); }
.footer-end { display: flex; grid-column: 1 / -1; padding-top: 19px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-family: var(--mono); font-size: 9px; }
.footer-end a { color: var(--muted); text-decoration: none; }
.footer-end a:hover { color: var(--ink); }

@keyframes scene-spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .hero-workspace { grid-template-columns: minmax(205px, .46fr) minmax(0, 2.05fr); gap: 15px; }
  .canvas-body { grid-template-columns: 44px 158px minmax(0, 1fr) 286px; }
  .scenes-layout { grid-template-columns: minmax(240px, .68fr) minmax(0, 1.95fr); gap: 30px; }
  .scene-ledger { max-width: 320px; }
}

@media (max-width: 980px) {
  .hero-workspace { grid-template-columns: 1fr; }
  .hero-side { padding-right: 17px; }
  .canvas-body { grid-template-columns: 46px minmax(0, 1fr) 300px; }
  .scenes-layout { grid-template-columns: 1fr; gap: 34px; }
  .scenes-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 24px 34px; }
  .scenes-copy .section-meta { grid-column: 1 / -1; }
  .scene-ledger { max-width: none; margin-top: 0; }
  .scene-tabs { grid-column: 1 / -1; }
  .access-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .access-path > li:nth-child(2), .access-path > li:nth-child(4), .access-path > li.endpoint-step { transform: none; }
  .access-path > li:hover, .access-path > li:nth-child(2):hover, .access-path > li:nth-child(4):hover, .access-path > li.endpoint-step:hover { transform: translateY(-4px); }
  .access-path > li:not(:last-child)::after { display: none; }
  .site-footer { grid-template-columns: minmax(170px, 1.4fr) repeat(4, minmax(90px, 1fr)); gap: 28px 18px; }
}

@media (max-width: 760px) {
  .hero-workspace { width: calc(100% - 20px); }
  .hero-side { padding-right: 12px; }
  .canvas-body { grid-template-columns: 1fr; }
  .scenes-copy { display: block; }
  .scene-ledger { margin-top: 24px; }
  .scene-tabs { grid-column: auto; }
  .scene-chrome { grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; }
  .scene-chrome-path { display: none; }
  .scene-chrome > strong { justify-self: start; }
  .scene-chrome > span { justify-self: end; }
  .scene-auto-status { font-size: 8px; }
  .generated-grid { min-height: 390px; }
  .access-endpoint { margin-top: 18px; }
  .access-path { grid-template-columns: 1fr; border-left: 1px solid var(--line-strong); }
  .access-path > li, .access-path > li.endpoint-step { min-height: 128px; padding: 20px 12px 20px 31px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  .access-path > li::before { top: 25px; right: auto; left: -4px; }
  .access-path > li:not(:last-child)::after { top: auto; right: auto; bottom: 9px; left: 40px; display: block; content: "↓"; }
  .access-path > li.endpoint-step { border-left: 3px solid var(--blue); background: var(--blue-soft); }
  .access-path > li:hover, .access-path > li:nth-child(2):hover, .access-path > li:nth-child(4):hover, .access-path > li.endpoint-step:hover { transform: none; box-shadow: none; }
  .signal-model-preview { margin-top: 26px; }
  .site-footer { display: grid; width: calc(100% - 32px); padding: 34px 0 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 20px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-end { grid-column: 1 / -1; align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (max-width: 350px) {
  .scene-chrome > span { display: none; }
  .scene-chrome { grid-template-columns: auto minmax(0, 1fr); }
  .scene-chrome > strong { justify-self: end; }
  .scene-ledger-row { font-size: 10px; }
  .signal-family-list { gap: 5px; }
  .signal-family-list span { padding: 5px 7px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-auto-status .icon { animation: none; }
}

:root {
  --signal-bg: #eaf1f6;
  --signal-panel: #f9fbfc;
  --signal-panel-soft: #f1f6f8;
  --signal-ink: #162633;
  --signal-muted: #607281;
  --signal-quiet: #8293a1;
  --signal-line: rgba(31, 57, 79, .15);
}

:root[data-theme="dark"] {
  --signal-bg: #111d27;
  --signal-panel: #172630;
  --signal-panel-soft: #1b2d38;
  --signal-ink: #edf4f7;
  --signal-muted: #a6b6c0;
  --signal-quiet: #8496a3;
  --signal-line: rgba(226, 237, 246, .15);
}

.hero-frame { min-height: 450px; padding-top: 46px; padding-bottom: 48px; }
.hero-kicker { gap: 13px; color: var(--blue); font-size: 11px; font-weight: 650; }
.hero-kicker > span:first-child, .hero-kicker > span:last-child { color: var(--quiet); font-size: 15px; font-weight: 400; }
.hero-brand-lockup { display: inline-flex; margin-top: 25px; align-items: center; gap: 9px; color: var(--ink); font-family: var(--mono); font-size: 17px; font-weight: 700; }
.hero-brand-lockup img { width: 27px; height: 27px; object-fit: contain; }
.hero h1 { display: flex; width: min(1060px, 100%); margin-top: 22px; align-items: center; flex-direction: column; gap: 2px; }
.hero-title-line { width: auto; }
.hero-title-prelude { color: var(--ink-soft); font-size: 44px; font-weight: 650; line-height: 1.04; }
.hero-title-main { color: var(--ink); font-size: 104px; font-weight: 750; line-height: .94; }
.hero-subtitle { margin-top: 24px; color: var(--muted); font-size: 18px; font-weight: 500; }
html[data-lang="en"] .hero-title-prelude { font-size: 39px; }
html[data-lang="en"] .hero-title-main { max-width: 960px; }
html[data-lang="ja"] .hero-title-prelude { font-size: 42px; }
html[data-lang="ja"] .hero-title-main { font-size: 82px; }

.signal { color: var(--signal-ink); background: var(--signal-bg); }
.signal-inner { display: block; width: min(1320px, calc(100% - 64px)); padding-top: 118px; padding-bottom: 116px; }
.signal-intro { max-width: 840px; }
.signal-intro .section-meta { color: var(--signal-muted); }
.signal-intro .section-meta i { background: var(--blue); }
.signal-intro .section-meta span:last-child { display: inline; margin-left: auto; }
.signal-intro h2 { max-width: 780px; margin: 27px 0 0; color: var(--signal-ink); font-size: 68px; line-height: 1.03; }
.signal-intro h2 > span { display: block; }
html[data-lang="zh"] .signal-intro h2, html[data-lang="ja"] .signal-intro h2 { font-size: 58px; line-height: 1.14; }
.signal-intro > p { max-width: 700px; margin: 22px 0 0; color: var(--signal-muted); font-size: 16px; line-height: 1.78; }
.signal-dashboard { display: grid; margin-top: 54px; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; }
.signal-panel { min-width: 0; padding: 28px; border: 1px solid var(--signal-line); border-radius: 16px; background: var(--signal-panel); box-shadow: 0 18px 40px rgba(36, 59, 84, .07), inset 0 1px 0 rgba(255, 255, 255, .68); }
:root[data-theme="dark"] .signal-panel { box-shadow: 0 22px 48px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04); }
.signal-panel-head { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 18px; }
.signal-panel-head > div { min-width: 0; }
.signal-panel-eyebrow { display: block; color: var(--signal-quiet); font-family: var(--mono); font-size: 9px; font-weight: 700; }
.signal-panel h3 { margin: 9px 0 0; color: var(--signal-ink); font-family: var(--display); font-size: 23px; font-weight: 700; }
.signal-panel-badge { display: inline-flex; min-width: max-content; padding: 6px 8px; align-items: center; gap: 5px; border: 1px solid rgba(31, 157, 114, .22); border-radius: 5px; color: var(--green); background: var(--green-soft); font-family: var(--mono); font-size: 9px; }
.signal-panel-badge .icon { width: 12px; height: 12px; }
.signal-panel-badge-warm { border-color: rgba(223, 105, 77, .25); color: var(--warm); background: var(--warm-soft); }
.signal-panel-copy { max-width: 530px; margin: 18px 0 0; color: var(--signal-muted); font-size: 13px; line-height: 1.7; }
.provider-grid { display: grid; margin-top: 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.provider-card { display: grid; min-width: 0; min-height: 64px; padding: 10px; grid-template-columns: 32px minmax(0, 1fr) 14px; align-items: center; gap: 9px; border: 1px solid var(--signal-line); border-radius: 9px; color: var(--signal-ink); background: var(--signal-panel-soft); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.provider-card:hover { border-color: color-mix(in srgb, var(--blue) 42%, var(--signal-line)); background: var(--signal-panel); transform: translateY(-2px); }
.provider-card > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.provider-card strong { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.provider-card small { overflow: hidden; color: var(--signal-muted); font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.provider-card > .icon { width: 13px; height: 13px; color: var(--signal-quiet); }
.provider-mark, .channel-mark { display: inline-grid; place-items: center; border-radius: 9px; color: #ffffff; font-family: var(--display); font-size: 15px; font-weight: 800; }
.provider-mark { width: 32px; height: 32px; }
.provider-mark .icon { width: 17px; height: 17px; stroke-width: 2.1; }
.provider-mark-openai, .channel-mark-openai { background: #222b34; }
.provider-mark-anthropic, .channel-mark-anthropic { background: #d68129; }
.provider-mark-google, .channel-mark-google { background: #4b7cf3; }
.provider-mark-xai, .channel-mark-xai { background: #161d24; }
.provider-mark-moonshot { color: #25344d; background: #cfe1ff; }
.provider-mark-deepseek, .channel-mark-deepseek { background: #4b66dc; }
.signal-panel-note { display: flex; margin: 21px 0 0; align-items: flex-start; gap: 7px; color: var(--signal-quiet); font-size: 10px; line-height: 1.6; }
.signal-panel-note .icon { width: 13px; height: 13px; flex: 0 0 auto; color: var(--blue); }
.health-chart { margin-top: 24px; padding: 16px 15px 12px; border: 1px solid var(--signal-line); border-radius: 10px; background: var(--signal-panel-soft); }
.health-chart-grid { display: flex; height: 86px; padding: 0 2px; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--signal-line); }
.health-chart-grid i { display: block; width: 5px; height: 62%; border-radius: 3px 3px 1px 1px; background: var(--green); opacity: .92; }
.health-chart-grid i:nth-child(2n) { height: 78%; }
.health-chart-grid i:nth-child(3n) { height: 88%; }
.health-chart-grid i:nth-child(5n) { height: 70%; }
.health-chart-grid i:nth-child(7n) { height: 94%; }
.health-chart-grid i:nth-child(11n) { height: 54%; }
.health-chart-grid i.is-alert { height: 18%; background: var(--warm); }
.health-chart-axis { display: flex; margin-top: 8px; align-items: center; justify-content: space-between; color: var(--signal-quiet); font-family: var(--mono); font-size: 9px; }
.channel-list { display: grid; margin-top: 16px; gap: 5px; }
.channel-row { display: grid; min-width: 0; min-height: 37px; padding: 0 9px; grid-template-columns: 24px minmax(0, 1fr) 74px auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--signal-line); color: var(--signal-ink); }
.channel-row:last-child { border-bottom: 0; }
.channel-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.channel-mark .icon { width: 12px; height: 12px; stroke-width: 2.1; }
.channel-row strong { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.channel-spark { display: flex; height: 18px; align-items: flex-end; justify-content: flex-end; gap: 2px; }
.channel-spark i { display: block; width: 3px; height: 65%; border-radius: 2px; background: var(--green); opacity: .75; }
.channel-spark i:nth-child(2n) { height: 88%; }
.channel-spark i:nth-child(3n) { height: 52%; }
.channel-row b { color: var(--signal-quiet); font-family: var(--mono); font-size: 8px; font-weight: 500; white-space: nowrap; }
.signal .signal-links { display: grid; margin-top: 20px; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-top: 0; }
.signal .signal-links a { min-height: 88px; padding: 14px 14px; grid-template-columns: 22px minmax(0, 1fr) 15px; grid-template-rows: auto auto; gap: 4px 9px; border: 1px solid var(--signal-line); border-radius: 10px; color: var(--signal-ink); background: color-mix(in srgb, var(--signal-panel) 58%, transparent); }
.signal .signal-links a:hover { padding: 14px; border-color: color-mix(in srgb, var(--blue) 36%, var(--signal-line)); background: var(--signal-panel); transform: translateY(-2px); }
.signal .signal-links a > .icon:first-child { grid-row: 1 / span 2; width: 17px; height: 17px; color: var(--blue); }
.signal .signal-links a:nth-child(2) > .icon:first-child { color: #8a72e8; }
.signal .signal-links a:nth-child(3) > .icon:first-child { color: var(--green); }
.signal .signal-links a:nth-child(4) > .icon:first-child { color: var(--yellow); }
.signal .signal-links a > span { grid-column: 2; }
.signal .signal-links strong { color: var(--signal-ink); font-size: 12px; font-weight: 650; }
.signal .signal-links small { margin-top: 3px; color: var(--signal-muted); font-size: 10px; line-height: 1.45; }
.signal .signal-links b { display: none; }
.signal .signal-links a > .icon:last-child { grid-column: 3; grid-row: 1; width: 13px; height: 13px; color: var(--signal-quiet); }

.scene-panels { background: color-mix(in srgb, var(--scene-soft) 48%, var(--scene-main)); }
.scene-panel { padding: 30px 32px 27px; }
.generated-grid { min-height: 360px; padding: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; border: 1px solid var(--scene-line); border-radius: 11px; background: var(--scene-soft); box-shadow: 0 15px 34px rgba(28, 47, 66, .08), inset 0 1px 0 rgba(255, 255, 255, .75); }
:root[data-theme="dark"] .generated-grid { box-shadow: 0 18px 36px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04); }
.generated-grid figure { border-radius: 8px; box-shadow: 0 5px 15px rgba(25, 45, 66, .08); }
.generated-grid figure:nth-child(3) img, .generated-grid figure:nth-child(4) img { padding: 8px; object-fit: contain; background: var(--scene-soft); }
.generated-grid figure:hover { box-shadow: 0 12px 28px rgba(25, 45, 66, .16); }

.access { background: var(--page); }
.access-intro { align-items: start; }
.access-intro h2 { max-width: 740px; }
.access-path { position: relative; margin-top: 78px; padding-top: 23px; border-top: 1px solid var(--line-strong); }
.access-path > li { min-height: 178px; border-radius: 13px; }
.access-path > li::before { box-shadow: 0 0 0 5px var(--page), 0 0 0 6px var(--line-strong); }
.access-path > li.endpoint-step::before { background: var(--blue); box-shadow: 0 0 0 5px var(--page), 0 0 0 6px rgba(47, 107, 255, .3); }
.site-footer { width: min(1320px, calc(100% - 64px)); padding-top: 52px; padding-bottom: 34px; }
.footer-brand-block { position: relative; }
.footer-brand-block::before { position: absolute; top: -18px; left: 0; width: 34px; height: 2px; background: var(--blue); content: ""; }

@media (max-width: 1180px) {
  .hero-title-main { font-size: 86px; }
  html[data-lang="ja"] .hero-title-main { font-size: 70px; }
  .signal-inner { width: calc(100% - 48px); }
  .signal-panel { padding: 24px; }
  .signal-dashboard { gap: 14px; }
}

@media (max-width: 980px) {
  .hero-title-main { font-size: 76px; }
  html[data-lang="en"] .hero-title-main { max-width: 700px; }
  .signal-dashboard { grid-template-columns: 1fr; }
  .signal-intro { max-width: 700px; }
  .signal .signal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-path { margin-top: 58px; }
}

@media (max-width: 760px) {
  .hero-frame { min-height: 395px; padding-top: 38px; padding-bottom: 34px; }
  .hero-kicker { font-size: 9px; }
  .hero-kicker > span:first-child, .hero-kicker > span:last-child { font-size: 12px; }
  .hero-brand-lockup { margin-top: 20px; font-size: 14px; }
  .hero-brand-lockup img { width: 23px; height: 23px; }
  .hero h1 { margin-top: 19px; gap: 4px; }
  .hero-title-prelude, html[data-lang="en"] .hero-title-prelude, html[data-lang="ja"] .hero-title-prelude { font-size: 30px; }
  .hero-title-main, html[data-lang="ja"] .hero-title-main { font-size: 49px; line-height: 1.02; }
  html[data-lang="en"] .hero-title-main { max-width: 350px; font-size: 47px; }
  .hero-subtitle { max-width: 340px; margin-top: 18px; font-size: 15px; line-height: 1.55; }
  .signal-inner { width: calc(100% - 30px); padding-top: 82px; padding-bottom: 80px; }
  .signal-intro h2, html[data-lang="zh"] .signal-intro h2, html[data-lang="ja"] .signal-intro h2 { margin-top: 22px; font-size: 41px; line-height: 1.16; }
  .signal-intro > p { margin-top: 18px; font-size: 14px; line-height: 1.72; }
  .signal-dashboard { margin-top: 32px; }
  .signal-panel { padding: 19px 16px 18px; border-radius: 13px; }
  .signal-panel h3 { font-size: 20px; }
  .signal-panel-badge { padding: 5px 6px; font-size: 8px; }
  .signal-panel-copy { margin-top: 14px; font-size: 12px; }
  .provider-grid { gap: 6px; }
  .provider-card { min-height: 59px; padding: 8px; grid-template-columns: 29px minmax(0, 1fr) 12px; gap: 7px; }
  .provider-mark { width: 29px; height: 29px; }
  .provider-card strong { font-size: 11px; }
  .provider-card small { font-size: 8px; }
  .health-chart { margin-top: 18px; padding: 12px 10px 9px; }
  .health-chart-grid { height: 68px; gap: 3px; }
  .health-chart-grid i { width: 4px; }
  .channel-row { grid-template-columns: 23px minmax(0, 1fr) 48px auto; gap: 6px; padding: 0 5px; }
  .channel-row strong { font-size: 10px; }
  .channel-spark { width: 48px; }
  .signal .signal-links { grid-template-columns: 1fr; }
  .signal .signal-links a { min-height: 68px; }
  .scene-panel { padding: 22px 17px 21px; }
  .generated-grid { min-height: 390px; padding: 9px; gap: 9px; }
  .generated-grid figure:nth-child(3) img, .generated-grid figure:nth-child(4) img { padding: 5px; }
  .access-path { margin-top: 50px; }
  .site-footer { width: calc(100% - 32px); padding-top: 43px; }
}

@media (max-width: 350px) {
  .hero-title-main, html[data-lang="en"] .hero-title-main, html[data-lang="ja"] .hero-title-main { font-size: 42px; }
  .provider-card { grid-template-columns: 26px minmax(0, 1fr) 10px; }
  .provider-mark { width: 26px; height: 26px; font-size: 13px; }
  .channel-spark { display: none; }
  .channel-row { grid-template-columns: 23px minmax(0, 1fr) auto; }
}

:root {
  --page: #f7f9fc;
  --surface-soft: #f0f4f8;
  --surface-strong: #e7edf3;
  --line: rgba(23, 42, 61, .09);
  --line-strong: rgba(23, 42, 61, .15);
  --signal-bg: #e9f0f5;
  --signal-panel: #fbfcfd;
  --signal-panel-soft: #f2f6f8;
  --signal-band: #e4edf3;
  --footer-bg: #f4f7fa;
  --header-glass: rgba(255, 255, 255, .66);
  --header-line: rgba(255, 255, 255, .82);
  --header-shadow: 0 18px 52px rgba(37, 55, 75, .11), 0 2px 8px rgba(37, 55, 75, .05);
  --stage-plinth: #e7edf3;
}

:root[data-theme="dark"] {
  --page: #10161c;
  --surface: #171f27;
  --surface-soft: #1b252e;
  --surface-strong: #23303a;
  --line: rgba(228, 237, 245, .09);
  --line-strong: rgba(228, 237, 245, .16);
  --signal-bg: #16232c;
  --signal-panel: #1b2a34;
  --signal-panel-soft: #202f39;
  --signal-band: #131f28;
  --footer-bg: #0d141a;
  --header-glass: rgba(20, 27, 34, .67);
  --header-line: rgba(236, 244, 250, .12);
  --header-shadow: 0 20px 58px rgba(0, 0, 0, .30), 0 2px 8px rgba(0, 0, 0, .22);
  --stage-plinth: #18232c;
}

.page { background: var(--page); }
.hero { background: #ffffff; }
:root[data-theme="dark"] .hero { background: #10161c; }

.site-header { top: 12px; height: 72px; padding-right: 24px; padding-left: 24px; }
.header-inner {
  position: relative;
  width: min(1440px, 100%);
  min-height: 64px;
  padding-right: 12px;
  padding-left: 18px;
  overflow: visible;
  border-color: var(--header-line);
  border-radius: 14px;
  background: var(--header-glass);
  box-shadow: var(--header-shadow), inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1px 0 rgba(94, 112, 132, .08);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}
:root[data-theme="dark"] .header-inner {
  background: var(--header-glass);
  box-shadow: var(--header-shadow), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .03);
}
.main-nav {
  padding: 5px;
  border: 1px solid rgba(73, 93, 114, .08);
  border-radius: 10px;
  background: rgba(229, 236, 243, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
:root[data-theme="dark"] .main-nav { border-color: rgba(255, 255, 255, .05); background: rgba(36, 48, 59, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.main-nav a { min-width: 72px; padding: 9px 14px; border-radius: 7px; font-size: 13px; font-weight: 560; }
.main-nav a[aria-current="page"] { background: rgba(255, 255, 255, .84); box-shadow: 0 4px 14px rgba(39, 58, 78, .08), inset 0 1px 0 #ffffff; }
:root[data-theme="dark"] .main-nav a[aria-current="page"] { background: rgba(73, 88, 103, .54); box-shadow: 0 4px 14px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08); }
.language-trigger { border-color: rgba(75, 97, 118, .06); background: rgba(235, 240, 245, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62); }
:root[data-theme="dark"] .language-trigger { border-color: rgba(255, 255, 255, .05); background: rgba(45, 58, 70, .58); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.console-action { min-height: 40px; padding-right: 15px; padding-left: 15px; border-color: rgba(47, 107, 255, .20); background: rgba(228, 237, 255, .76); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74); }
:root[data-theme="dark"] .console-action { background: rgba(35, 62, 99, .66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

.scenes { width: min(1540px, calc(100% - 72px)); padding-top: 150px; padding-bottom: 154px; }
.scenes-layout { grid-template-columns: minmax(300px, .72fr) minmax(0, 2fr); align-items: start; gap: 52px; }
.scenes-copy { padding-top: 30px; }
.scenes-copy h2 { max-width: 420px; }
.scenes-copy > p { max-width: 390px; }
.scene-stage { position: relative; isolation: isolate; }
.scene-stage::before {
  position: absolute;
  top: 112px;
  right: -18px;
  bottom: -20px;
  left: 28px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--stage-plinth);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
  content: "";
}
:root[data-theme="dark"] .scene-stage::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
.scene-tabs {
  padding: 6px;
  gap: 6px;
  border-color: rgba(48, 69, 91, .10);
  border-radius: 13px;
  background: rgba(236, 241, 246, .72);
  box-shadow: 0 12px 30px rgba(39, 61, 82, .07), inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
:root[data-theme="dark"] .scene-tabs { border-color: rgba(255, 255, 255, .07); background: rgba(27, 38, 48, .72); box-shadow: 0 14px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .05); }
.scene-tab { min-height: 84px; padding: 12px 14px; border: 1px solid transparent; border-radius: 9px; }
.scene-tab:hover { border-color: var(--line); background: rgba(255, 255, 255, .42); transform: none; }
.scene-tab.is-active { border-color: rgba(47, 107, 255, .18); background: rgba(255, 255, 255, .90); box-shadow: 0 8px 20px rgba(36, 57, 79, .09), inset 0 1px 0 #ffffff; }
:root[data-theme="dark"] .scene-tab:hover { background: rgba(255, 255, 255, .035); }
:root[data-theme="dark"] .scene-tab.is-active { border-color: rgba(120, 162, 255, .22); background: rgba(51, 65, 78, .82); box-shadow: 0 9px 22px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .06); }
.scene-tab-icon { width: 38px; height: 38px; border-radius: 7px; }
.scene-progress { right: 14px; bottom: 7px; left: 14px; }
.scene-stage-tools { min-height: 38px; margin: 12px 4px 14px; }
.scene-workbench { border-color: color-mix(in srgb, var(--scene-line) 82%, transparent); border-radius: 12px; box-shadow: 0 34px 86px rgba(31, 51, 72, .16), 0 7px 20px rgba(31, 51, 72, .08), inset 0 1px 0 rgba(255, 255, 255, .70); }
:root[data-theme="dark"] .scene-workbench { box-shadow: 0 36px 92px rgba(0, 0, 0, .42), 0 7px 20px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .05); }
.scene-app { min-height: 700px; }
.scene-panels { min-height: 569px; background: color-mix(in srgb, var(--scene-soft) 64%, var(--scene-main)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .66); }
:root[data-theme="dark"] .scene-panels { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.scene-panel { padding: 32px 34px 29px; }
.scene-prompt { border-color: color-mix(in srgb, var(--scene-line) 82%, transparent); background: color-mix(in srgb, var(--scene-main) 72%, var(--scene-soft)); box-shadow: 0 9px 26px rgba(29, 48, 67, .07); }
.generated-grid {
  height: 370px;
  min-height: 370px;
  padding: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--scene-line) 86%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--scene-frame) 74%, var(--scene-soft));
  box-shadow: 0 16px 38px rgba(28, 47, 66, .10), inset 0 1px 0 rgba(255, 255, 255, .72);
}
:root[data-theme="dark"] .generated-grid { box-shadow: 0 18px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035); }
.generated-grid figure { min-height: 0; border-radius: 7px; box-shadow: 0 7px 20px rgba(25, 45, 66, .11); }
.generated-grid figure:nth-child(3) img,
.generated-grid figure:nth-child(4) img { padding: 0; object-fit: cover; background: transparent; }
.generated-grid figure:nth-child(1) img { object-position: 50% 48%; }
.generated-grid figure:nth-child(2) img { object-position: 50% 46%; }
.generated-grid figure:nth-child(3) img { object-position: 50% 26%; }
.generated-grid figure:nth-child(4) img { object-position: 50% 24%; }

.access { overflow: hidden; background: #ffffff; }
:root[data-theme="dark"] .access { background: #10161c; }
.access::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 0; height: 46%; border-top: 1px solid var(--line); background: #f2f6f9; content: ""; }
:root[data-theme="dark"] .access::after { background: #131c23; }
.access > * { position: relative; z-index: 1; }
.access-path > li { border-radius: 8px; background: rgba(255, 255, 255, .88); box-shadow: 0 14px 36px rgba(36, 59, 84, .07), inset 0 1px 0 rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
:root[data-theme="dark"] .access-path > li { background: rgba(25, 35, 44, .90); box-shadow: 0 15px 38px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04); }

.signal { overflow: clip; border-top: 1px solid var(--signal-line); border-bottom: 0; background: var(--signal-bg); }
.signal-inner { width: min(1320px, calc(100% - 64px)); padding-top: 124px; padding-bottom: 0; }
.signal-dashboard { margin-top: 62px; gap: 24px; }
.signal-panel { padding: 32px; border-radius: 8px; box-shadow: 0 22px 52px rgba(36, 59, 84, .08), inset 0 1px 0 rgba(255, 255, 255, .82); }
:root[data-theme="dark"] .signal-panel { box-shadow: 0 24px 54px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04); }
.provider-grid { margin-top: 28px; gap: 10px; }
.provider-card { min-height: 72px; padding: 11px 12px; grid-template-columns: 38px minmax(0, 1fr) 14px; gap: 11px; border-radius: 7px; background: color-mix(in srgb, var(--signal-panel-soft) 78%, var(--signal-panel)); }
.provider-card strong { font-size: 13px; }
.provider-card small { font-size: 9px; }
.provider-mark,
.channel-mark { color: #121922; border: 1px solid rgba(24, 42, 60, .10); background: #ffffff; box-shadow: 0 4px 12px rgba(25, 44, 64, .07), inset 0 1px 0 #ffffff; }
.provider-mark { width: 38px; height: 38px; border-radius: 7px; }
.provider-mark img { width: 24px; height: 24px; object-fit: contain; }
.channel-mark { width: 26px; height: 26px; border-radius: 6px; }
.channel-mark img { width: 16px; height: 16px; object-fit: contain; }
.health-chart { border-radius: 7px; background: color-mix(in srgb, var(--signal-panel-soft) 84%, var(--signal-panel)); }
.channel-list { gap: 3px; }
.channel-row { min-height: 41px; grid-template-columns: 28px minmax(0, 1fr) 82px auto; }
.channel-row strong { font-size: 12px; }
.signal-service-band { position: relative; margin-top: 48px; padding: 54px 0 60px; }
.signal-service-band::before { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; width: 100vw; border-top: 1px solid var(--signal-line); border-bottom: 1px solid var(--signal-line); background: var(--signal-band); content: ""; transform: translateX(-50%); }
.signal .signal-links { position: relative; z-index: 1; margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.signal .signal-links a { min-height: 112px; padding: 20px; grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 6px 11px; border-radius: 8px; background: color-mix(in srgb, var(--signal-panel) 70%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .68); }
:root[data-theme="dark"] .signal .signal-links a { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
.signal .signal-links a:hover { padding: 20px; background: var(--signal-panel); box-shadow: 0 12px 28px rgba(34, 55, 76, .08), inset 0 1px 0 rgba(255, 255, 255, .72); }
.signal .signal-links strong { font-size: 13px; }
.signal .signal-links small { margin-top: 5px; font-size: 11px; }

.site-footer { display: block; width: 100%; min-height: 0; margin: 0; padding: 0; border-top: 0; background: var(--footer-bg); }
.footer-inner { display: block; width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 54px 0 24px; }
.footer-directory { display: grid; grid-template-columns: minmax(230px, 1.65fr) repeat(4, minmax(116px, 1fr)); align-items: start; gap: 32px; }
.footer-brand-block::before { display: none; }
.footer-brand-block { gap: 0; }
.footer-brand { gap: 10px; font-size: 20px; }
.footer-brand img { width: 31px; height: 31px; }
.footer-endpoint { display: grid; width: min(220px, 100%); margin-top: 28px; padding-top: 14px; grid-template-columns: minmax(0, 1fr) 26px; align-items: center; gap: 7px 8px; border-top: 1px solid var(--line); }
.footer-endpoint > span { display: flex; grid-column: 1 / -1; align-items: center; gap: 7px; color: var(--quiet); font-family: var(--body); font-size: 10px; font-weight: 500; line-height: 1.4; }
.footer-endpoint > span::before { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 10%, transparent); content: ""; }
.footer-endpoint code { overflow: hidden; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.footer-endpoint button { display: grid; width: 26px; height: 26px; padding: 0; place-items: center; border: 0; border-radius: 5px; color: var(--muted); background: transparent; }
.footer-endpoint button:hover { color: var(--blue); background: var(--blue-soft); }
.footer-endpoint button .icon { width: 13px; height: 13px; }
.site-footer .footer-column { display: grid; min-width: 0; align-content: start; gap: 12px; }
.footer-column strong { margin-bottom: 5px; font-size: 11px; white-space: nowrap; }
.footer-column a { display: block; font-size: 13px; line-height: 1.55; }
.footer-end {
  margin-top: 20px;
  padding-top: 16px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 1180px) {
  .site-header { padding-right: 18px; padding-left: 18px; }
  .scenes { width: min(1400px, calc(100% - 48px)); }
  .scenes-layout { grid-template-columns: minmax(250px, .66fr) minmax(0, 2fr); gap: 34px; }
  .scenes-copy { padding-top: 18px; }
  .scene-tab { min-height: 78px; padding-right: 10px; padding-left: 10px; }
  .scene-tab small { font-size: 10px; }
  .generated-grid { height: 348px; min-height: 348px; }
  .signal-panel { padding: 27px; }
  .footer-directory { gap: 36px 22px; }
}

@media (max-width: 980px) {
  .scenes-layout { grid-template-columns: 1fr; gap: 48px; }
  .scenes-copy { max-width: 680px; padding-top: 0; }
  .scenes-copy > p { max-width: 600px; }
  .scene-stage::before { right: -10px; left: 20px; }
  .signal .signal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-directory { grid-template-columns: minmax(210px, 1.5fr) repeat(2, minmax(120px, 1fr)); }
  .footer-brand-block { grid-row: span 2; }
}

@media (max-width: 760px) {
  .site-header { top: 8px; padding-right: 10px; padding-left: 10px; }
  .header-inner { min-height: 54px; padding-right: 7px; padding-left: 12px; border-radius: 12px; backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); }
  .hero { padding-right: 15px; padding-left: 15px; }
  .scenes { width: calc(100% - 30px); padding-top: 104px; padding-bottom: 108px; }
  .scene-stage::before { top: 238px; right: -6px; bottom: -12px; left: 12px; border-radius: 12px; }
  .scene-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-tab { min-height: 70px; }
  .scene-app { min-height: 610px; }
  .scene-panels { min-height: 479px; }
  .scene-panel { padding: 22px 16px 20px; }
  .generated-grid { height: 390px; min-height: 390px; padding: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .access::after { height: 58%; }
  .signal-inner { width: calc(100% - 30px); padding-top: 88px; }
  .signal-dashboard { margin-top: 36px; gap: 14px; }
  .signal-panel { padding: 20px 16px; }
  .provider-card { min-height: 62px; padding: 8px; grid-template-columns: 31px minmax(0, 1fr) 12px; gap: 8px; }
  .provider-mark { width: 31px; height: 31px; }
  .provider-mark img { width: 20px; height: 20px; }
  .signal-service-band { margin-top: 34px; padding-top: 36px; padding-bottom: 40px; }
  .signal .signal-links { grid-template-columns: 1fr; gap: 9px; }
  .signal .signal-links a { min-height: 78px; padding: 15px; }
  .signal .signal-links a:hover { padding: 15px; }
  .footer-inner { width: calc(100% - 32px); padding-top: 42px; padding-bottom: 22px; }
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer-brand-block { grid-column: 1 / -1; grid-row: auto; }
  .footer-end { margin-top: 22px; grid-column: auto; align-items: center; justify-content: flex-end; flex-direction: row; gap: 0; }
}

@media (max-width: 420px) {
  .scene-tabs { grid-template-columns: 1fr; }
  .scene-stage::before { top: 410px; }
  .scene-tab small { display: none; }
  .generated-grid { height: 360px; min-height: 360px; }
  .footer-directory { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: 1; }
}

:root {
  --page: #f7f9fc;
  --signal-bg: var(--page);
  --signal-band: var(--page);
  --footer-bg: var(--page);
}

:root[data-theme="dark"] {
  --signal-bg: var(--page);
  --signal-band: var(--page);
  --footer-bg: var(--page);
}

html,
body,
.page,
.hero,
.access,
.signal,
.site-footer { background: var(--page); }

.access::after { display: none; }
.signal { border-top: 0; }
.signal-service-band::before { background: transparent; }

.hero { padding-top: calc(var(--header-h) + 36px); }
.hero-frame {
  min-height: 370px;
  padding: 42px 0 52px;
  justify-content: flex-start;
}
.hero-copy { width: 100%; }
.hero-kicker {
  gap: 10px;
  color: var(--blue);
  font-family: 'Segoe UI Variable', 'Aptos', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-kicker > span:first-child,
.hero-kicker > span:last-child {
  width: 22px;
  height: 1px;
  flex: 0 0 22px;
  background: currentColor;
  opacity: .65;
  animation: hero-kicker-line 2.8s ease-in-out infinite;
}
.hero-brand-lockup { display: none; }
.hero h1 {
  width: min(760px, 100%);
  margin-top: 16px;
  gap: 0;
  color: #101722;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}
.hero-title-prelude,
html[data-lang="en"] .hero-title-prelude,
html[data-lang="ja"] .hero-title-prelude {
  color: #334155;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
}
.hero-title-main,
html[data-lang="en"] .hero-title-main,
html[data-lang="ja"] .hero-title-main {
  --hero-title-base: #101722;
  --hero-title-edge: #8da5c8;
  --hero-title-flare: #ffffff;
  position: relative;
  max-width: 100%;
  margin-top: 6px;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  color: transparent;
  background: linear-gradient(110deg, var(--hero-title-base) 0 38%, var(--hero-title-edge) 44%, var(--hero-title-flare) 49%, #d9e8ff 53%, var(--hero-title-base) 62% 100%);
  background-position: 100% 50%;
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-title-sweep 5.8s ease-in-out 900ms infinite;
}
html[data-lang="zh"] .hero-title-main { white-space: nowrap; }
:root[data-theme="dark"] .hero-title-prelude { color: #c6d0df; }
:root[data-theme="dark"] .hero-title-main,
:root[data-theme="dark"] html[data-lang="en"] .hero-title-main,
:root[data-theme="dark"] html[data-lang="ja"] .hero-title-main {
  --hero-title-base: #e0e7f2;
  --hero-title-edge: #8ebcff;
  --hero-title-flare: #ffffff;
}
.hero-subtitle {
  max-width: 640px;
  margin-top: 18px;
  color: #4f5c6e;
  font-family: 'Segoe UI Variable', 'Aptos', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 520;
  line-height: 1.55;
}
:root[data-theme="dark"] .hero-subtitle { color: var(--muted); }

.scenes-layout {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 2.05fr);
  align-items: start;
  gap: 64px;
}
.scenes-copy {
  display: block;
  min-height: 0;
  padding-top: 31px;
  align-self: start;
}
.scenes-copy h2 { max-width: 480px; }
.scenes-copy > p { max-width: 430px; }
.scene-ledger { width: 100%; max-width: 430px; margin-top: 30px; }
.scene-stage-tools { min-height: 30px; margin: 9px 8px 11px; }
.scene-stage-tools::before {
  width: auto;
  height: 1px;
  flex: 1 1 auto;
  order: 2;
  background: var(--line-strong);
  content: "";
}
.scene-stage-tools > span:first-child { order: 1; }
.scene-stage-tools .scene-auto-status { order: 3; }

@keyframes hero-title-sweep {
  0%, 50% { background-position: 100% 50%; }
  82%, 100% { background-position: 0 50%; }
}

@keyframes hero-kicker-line {
  0%, 100% { opacity: .42; transform: scaleX(.72); }
  50% { opacity: .9; transform: scaleX(1); }
}

@media (max-width: 1180px) {
  .scenes-layout { grid-template-columns: minmax(330px, 1fr) minmax(0, 2.05fr); gap: 40px; }
}

@media (max-width: 1020px) {
  .hero-title-prelude,
  html[data-lang="en"] .hero-title-prelude,
  html[data-lang="ja"] .hero-title-prelude { font-size: 34px; }
  .hero-title-main,
  html[data-lang="en"] .hero-title-main,
  html[data-lang="ja"] .hero-title-main { font-size: 54px; }
}

@media (max-width: 980px) {
  .scenes-layout { grid-template-columns: 1fr; align-items: start; gap: 48px; }
  .scenes-copy { display: block; max-width: 760px; padding-top: 0; }
  .scene-ledger { max-width: 430px; margin-top: 30px; }
}

@media (min-width: 1500px) {
  .hero h1 { width: min(920px, 100%); }
  .hero-title-prelude,
  html[data-lang="en"] .hero-title-prelude,
  html[data-lang="ja"] .hero-title-prelude { font-size: 46px; }
  .hero-title-main,
  html[data-lang="en"] .hero-title-main,
  html[data-lang="ja"] .hero-title-main { font-size: 78px; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 19px); }
  .hero-frame { min-height: 330px; padding: 40px 0 45px; }
  .hero-kicker { font-size: 10px; }
  .hero-kicker > span:first-child,
  .hero-kicker > span:last-child { width: 18px; flex-basis: 18px; }
  .hero h1 { width: min(350px, 100%); margin-top: 14px; gap: 0; }
  .hero-title-prelude,
  html[data-lang="en"] .hero-title-prelude,
  html[data-lang="ja"] .hero-title-prelude { font-size: 26px; line-height: 1.15; }
  .hero-title-main,
  html[data-lang="en"] .hero-title-main,
  html[data-lang="ja"] .hero-title-main { max-width: 100%; margin-top: 4px; font-size: 40px; line-height: 1.08; }
  .hero-subtitle { max-width: 340px; margin-top: 15px; font-size: 16px; }
  .scenes-copy { display: block; }
  .scene-ledger { margin-top: 24px; }
  .scene-stage-tools::before { display: none; }
}

@media (max-width: 350px) {
  html[data-lang="zh"] .hero-title-main { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kicker > span:first-child,
  .hero-kicker > span:last-child,
  .hero-title-main {
    animation: none;
  }
  .hero-title-main {
    color: #101722;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
  :root[data-theme="dark"] .hero-title-main { color: #f5f8ff; }
}

.scene-album {
  --album-closed: inset(0 0 0 100%);
  width: 100%;
  max-width: 430px;
  margin-top: 28px;
  color: var(--ink);
}

.scene-album[data-album-direction="previous"] { --album-closed: inset(0 100% 0 0); }
.scene-album-head {
  display: flex;
  min-height: 30px;
  padding: 0 2px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
}
.scene-album-head > span { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
.scene-album-head .icon { width: 13px; height: 13px; color: var(--blue); }
.scene-album-head strong { color: var(--ink); font-size: 10px; font-weight: 650; }
.scene-album-counter { color: var(--quiet); font-variant-numeric: tabular-nums; }
.scene-album-counter strong { color: var(--blue); }
.scene-album-counter i { width: 22px; height: 1px; background: var(--line-strong); }

.scene-album-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(31, 53, 74, .14);
  border-radius: 8px;
  background: #dfe7ed;
  box-shadow: 0 22px 48px rgba(30, 52, 73, .14), 0 4px 12px rgba(30, 52, 73, .07), inset 0 1px 0 rgba(255, 255, 255, .7);
  outline: none;
}
.scene-album-stage::before {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 -70px 70px -62px rgba(7, 15, 24, .42);
  content: "";
  pointer-events: none;
}
.scene-album-stage::after {
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -22%;
  z-index: 7;
  width: 18%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-8deg);
}
.scene-album-stage:focus-visible { box-shadow: 0 0 0 3px rgba(47, 107, 255, .18), 0 22px 48px rgba(30, 52, 73, .14); }
:root[data-theme="dark"] .scene-album-stage {
  border-color: rgba(226, 237, 246, .15);
  background: #1a252e;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34), 0 4px 13px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.scene-album-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: var(--album-closed);
  pointer-events: none;
  transform: scale(1.025);
  transition: clip-path 1.15s cubic-bezier(.22, .78, .18, 1), transform 1.45s cubic-bezier(.22, .78, .18, 1), filter 1s ease;
}
.scene-album-slide.is-ready { z-index: 3; opacity: 1; transition: none; }
.scene-album-slide.is-active { z-index: 3; opacity: 1; clip-path: inset(0); transform: scale(1); }
.scene-album-slide.is-leaving { z-index: 2; opacity: 1; clip-path: inset(0); filter: saturate(.72) brightness(.92); transform: scale(.985); }
.scene-album-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.018); }
.scene-album-slide:nth-child(1) img { object-position: 56% 50%; transform-origin: 50% 100%; }
.scene-album-slide:nth-child(2) img { object-position: 50% 50%; }
.scene-album-slide:nth-child(3) img { object-position: 44% 50%; }
.scene-album-slide:nth-child(4) img { object-position: 53% 50%; }
.scene-album-slide:nth-child(5) img { object-position: 44% 50%; }
.scene-album-slide:nth-child(6) img { object-position: 50% 50%; }
.scene-album-slide:nth-child(7) img { object-position: 56% 50%; }
.scene-album-slide:nth-child(8) img { object-position: 56% 50%; }
.scene-album-slide:nth-child(9) img { object-position: 43% 50%; }
.scene-album-slide:nth-child(10) img { object-position: 56% 50%; transform-origin: 50% 100%; }
.scene-album-slide.is-active img { animation: scene-album-drift 4.5s cubic-bezier(.2, .65, .2, 1) both; }
.scene-album-slide figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .42);
}
.scene-album-slide figcaption small { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.scene-album-slide figcaption strong { font-size: 15px; font-weight: 650; line-height: 1.2; letter-spacing: 0; }

.scene-album-controls {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 9;
  display: flex;
  gap: 5px;
}
.scene-album-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 6px;
  color: #17212b;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 6px 16px rgba(10, 20, 30, .14), inset 0 1px 0 rgba(255, 255, 255, .76);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.scene-album-controls button:hover { background: rgba(255, 255, 255, .9); transform: translateY(-1px); }
.scene-album-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.scene-album-controls .icon { width: 15px; height: 15px; stroke-width: 1.8; }

.scene-album-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}
.scene-album-progress i { display: block; width: 100%; height: 100%; background: rgba(255, 255, 255, .86); transform: scaleX(0); transform-origin: left center; }
.scene-album.is-running .scene-album-progress i { animation: scene-album-progress 4.5s linear both; }
.scene-album.is-transitioning[data-album-direction="next"] .scene-album-stage::after { animation: scene-album-blade-next 1.15s cubic-bezier(.22, .78, .18, 1) both; }
.scene-album.is-transitioning[data-album-direction="previous"] .scene-album-stage::after { animation: scene-album-blade-previous 1.15s cubic-bezier(.22, .78, .18, 1) both; }

.scene-album-film {
  display: flex;
  margin-top: 8px;
  padding: 5px;
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--surface-soft) 78%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.scene-album-film::-webkit-scrollbar { display: none; }
.scene-album-film button {
  position: relative;
  flex: 0 0 calc((100% - 15px) / 4);
  min-width: 0;
  aspect-ratio: 3 / 2;
  scroll-snap-align: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--surface-strong);
  opacity: .48;
  filter: saturate(.55);
  transition: opacity 220ms ease, filter 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.scene-album-film button::after { position: absolute; right: 7px; bottom: 3px; left: 7px; height: 2px; border-radius: 2px; background: #fff; opacity: 0; content: ""; }
.scene-album-film button:hover { opacity: .82; filter: saturate(.85); }
.scene-album-film button.is-active { border-color: rgba(47, 107, 255, .5); opacity: 1; filter: none; transform: translateY(-1px); }
.scene-album-film button.is-active::after { opacity: .9; }
.scene-album-film button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.scene-album-film img { display: block; width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .scene-album-film { background: rgba(28, 39, 49, .72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }

@keyframes scene-album-drift {
  from { transform: scale(1.032) translate3d(-.28%, 0, 0); }
  to { transform: scale(1.006) translate3d(.28%, 0, 0); }
}
@keyframes scene-album-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scene-album-blade-next {
  0% { left: -22%; opacity: 0; }
  22% { opacity: .7; }
  100% { left: 106%; opacity: 0; }
}
@keyframes scene-album-blade-previous {
  0% { left: 106%; opacity: 0; }
  22% { opacity: .7; }
  100% { left: -22%; opacity: 0; }
}

@media (max-width: 980px) {
  .scene-album { max-width: 430px; }
}

@media (max-width: 760px) {
  .scene-album { max-width: none; margin-top: 24px; }
  .scene-album-head { min-height: 28px; }
  .scene-album-slide figcaption { right: 13px; bottom: 12px; left: 13px; }
  .scene-album-slide figcaption strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-album-slide,
  .scene-album-slide img,
  .scene-album-progress i,
  .scene-album-stage::after { transition: none; animation: none !important; }
  .scene-album-slide { transform: none; }
  .scene-album-stage::after { display: none; }
}

.site-header {
  top: 0;
  height: 72px;
  padding: 0;
  border-bottom: 1px solid rgba(31, 52, 73, .075);
  background: rgba(247, 249, 252, .86);
  box-shadow: 0 10px 32px rgba(31, 52, 73, .045);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(226, 237, 246, .09);
  background: rgba(16, 22, 28, .84);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}

.header-inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 72px;
  padding: 0 2px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

:root[data-theme="dark"] .header-inner {
  background: transparent;
  box-shadow: none;
}

.brand { gap: 9px; }
.brand img { width: 30px; height: 30px; }
.brand-word { font-size: 17px; }
.brand-tag { color: color-mix(in srgb, var(--quiet) 88%, transparent); }

.main-nav,
:root[data-theme="dark"] .main-nav {
  padding: 0;
  gap: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav a {
  min-width: 70px;
  padding: 11px 13px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 560;
}

.main-nav a[aria-current="page"],
:root[data-theme="dark"] .main-nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.main-nav a[aria-current="page"]::after {
  right: 50%;
  bottom: 3px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(50%);
}

.language-trigger {
  height: 36px;
  border-color: rgba(57, 78, 98, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .44);
  box-shadow: none;
}

:root[data-theme="dark"] .language-trigger {
  border-color: rgba(235, 242, 248, .09);
  background: rgba(255, 255, 255, .035);
  box-shadow: none;
}

.console-action {
  min-height: 38px;
  padding: 8px 15px;
  border-color: rgba(47, 107, 255, .15);
  border-radius: 19px;
  background: rgba(226, 237, 255, .72);
  box-shadow: none;
}

:root[data-theme="dark"] .console-action {
  border-color: rgba(120, 162, 255, .17);
  background: rgba(65, 103, 166, .19);
  box-shadow: none;
}

.icon-button { border-radius: 50%; }

.hero-entry-action {
  display: inline-flex;
  min-width: 148px;
  min-height: 48px;
  margin-top: 25px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(47, 107, 255, .15);
  border-radius: 999px;
  color: #285bc0;
  background: #e8f1ff;
  box-shadow: 0 10px 28px rgba(47, 107, 255, .11), inset 0 1px 0 rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-entry-action .icon { width: 15px; height: 15px; stroke-width: 1.9; }
.hero-entry-action:hover {
  border-color: rgba(47, 107, 255, .27);
  color: #174cae;
  background: #dceaff;
  box-shadow: 0 13px 30px rgba(47, 107, 255, .15), inset 0 1px 0 rgba(255, 255, 255, .9);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .hero-entry-action {
  border-color: rgba(120, 162, 255, .21);
  color: #b9ceff;
  background: rgba(55, 91, 151, .28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
}

:root[data-theme="dark"] .hero-entry-action:hover {
  border-color: rgba(142, 176, 255, .34);
  color: #d3e0ff;
  background: rgba(67, 108, 178, .36);
}

.scene-tabs { margin-bottom: 16px; }
.scene-album-head { min-height: 24px; justify-content: flex-end; }

@media (max-width: 1220px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 18px; }
}

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .site-header { height: 62px; }
  .header-inner { width: calc(100% - 24px); min-height: 62px; padding: 0; }
  .mobile-nav { top: 70px; }
  .hero-entry-action { min-width: 136px; min-height: 44px; margin-top: 22px; padding: 0 20px; font-size: 13px; }
  .scene-tabs { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-entry-action { transition: none; }
  .hero-entry-action:hover { transform: none; }
}

:root { --header-h: 58px; }

.site-header { height: 58px; }
.header-inner { min-height: 58px; }
.brand img { width: 27px; height: 27px; }
.brand-word { font-size: 16px; }
.main-nav a { padding-top: 8px; padding-bottom: 8px; }
.main-nav a[aria-current="page"]::after { bottom: 1px; }
.language-trigger { height: 32px; }
.console-action { min-height: 34px; padding-top: 6px; padding-bottom: 6px; border-radius: 17px; }
.icon-button { width: 32px; height: 32px; }

.scenes-layout { align-items: start; }
.scenes-copy { display: block; padding-top: 0; }
.scenes-copy h2,
html[data-lang="zh"] .scenes-copy h2,
html[data-lang="ja"] .scenes-copy h2 {
  max-width: 455px;
  margin-top: 0;
  font-size: 45px;
  line-height: 1.14;
}
.scenes-copy h2 > span,
.access-intro h2 > span { display: block; }
.scenes-copy > p { max-width: 430px; margin-top: 25px; font-size: 15px; line-height: 1.86; }
.scene-ledger { margin-top: 32px; }

.scene-tabs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-color: color-mix(in srgb, var(--line-strong) 78%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-soft) 74%, var(--surface));
  box-shadow: 0 12px 34px rgba(35, 58, 82, .065), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.scene-tabs::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f7cff 0 25%, #8b6ff2 25% 50%, #ed8062 50% 75%, #26a79a 75% 100%);
  opacity: .32;
  content: "";
  pointer-events: none;
}
:root[data-theme="dark"] .scene-tabs {
  background: rgba(19, 27, 35, .76);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.scene-tab {
  --scene-accent: #4f7cff;
  position: relative;
  z-index: 1;
  min-height: 82px;
  padding: 13px 31px 13px 13px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.scene-tab:nth-child(2) { --scene-accent: #8b6ff2; }
.scene-tab:nth-child(3) { --scene-accent: #ed8062; }
.scene-tab:nth-child(4) { --scene-accent: #26a79a; }
.scene-tab:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: 0;
  bottom: 15px;
  width: 1px;
  background: var(--line);
  content: "";
}
.scene-tab:hover {
  border-color: transparent;
  background: color-mix(in srgb, var(--scene-accent) 5%, transparent);
  box-shadow: none;
  transform: none;
}
.scene-tab.is-active {
  border-color: transparent;
  color: var(--ink);
  background: color-mix(in srgb, var(--scene-accent) 8%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--scene-accent) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, .66);
}
:root[data-theme="dark"] .scene-tab.is-active {
  background: color-mix(in srgb, var(--scene-accent) 13%, #151d25);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--scene-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.scene-tab-seq {
  position: absolute;
  top: 10px;
  right: 11px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  opacity: .72;
}
.scene-tab.is-active .scene-tab-seq { color: var(--scene-accent); opacity: 1; }
.scene-tab-icon,
.scene-tab.is-active .scene-tab-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--scene-accent);
  background: color-mix(in srgb, var(--scene-accent) 9%, var(--surface));
  box-shadow: none;
}
.scene-tab.is-active .scene-tab-icon { background: color-mix(in srgb, var(--scene-accent) 15%, var(--surface)); }
.scene-tab-icon .icon { width: 16px; height: 16px; stroke-width: 1.75; }
.scene-tab strong { font-size: 12px; font-weight: 660; }
.scene-tab small { margin-top: 4px; font-size: 9px; line-height: 1.35; }
.scene-progress { right: 0; bottom: 0; left: 0; z-index: 3; height: 2px; }
.scene-progress b { background: var(--scene-accent); }
.scene-tab:focus-visible { z-index: 4; outline-color: var(--scene-accent); outline-offset: -3px; }

.access {
  position: relative;
  width: min(1380px, calc(100% - 64px));
  padding-top: 138px;
  padding-bottom: 150px;
  background: transparent;
}
.access::before,
.access::after { display: none; }
.access .section-meta { max-width: none; }
.access-intro {
  display: grid;
  margin-top: 29px;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .68fr);
  align-items: end;
  gap: 92px;
}
.access-intro h2,
html[data-lang="zh"] .access-intro h2,
html[data-lang="ja"] .access-intro h2 {
  max-width: 790px;
  font-size: 62px;
  line-height: 1.1;
}
.access-intro > p {
  max-width: 470px;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.access-console {
  --access-shell: #ffffff;
  --access-route: #f2f6fa;
  --access-code: #fbfcfe;
  --access-bar: #edf2f6;
  --access-line: rgba(39, 61, 82, .12);
  --access-ink: #18202a;
  --access-muted: #667382;
  --access-quiet: #8a96a3;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  margin-top: 62px;
  border: 1px solid var(--access-line);
  border-radius: 11px;
  color: var(--access-ink);
  background: var(--access-shell);
  box-shadow: 0 30px 90px rgba(28, 52, 76, .13), 0 5px 18px rgba(28, 52, 76, .055);
}
.access-console::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, #4f7cff 0%, #8b6ff2 30%, #ed8062 58%, #e7b345 78%, #26a79a 100%);
  content: "";
}
:root[data-theme="dark"] .access-console {
  --access-shell: #0e151b;
  --access-route: #121c24;
  --access-code: #0b1117;
  --access-bar: #141f28;
  --access-line: rgba(225, 235, 244, .11);
  --access-ink: #e9eff4;
  --access-muted: #a3afba;
  --access-quiet: #74828f;
  box-shadow: 0 34px 96px rgba(0, 0, 0, .34), 0 5px 18px rgba(0, 0, 0, .22);
}
.access-console-bar {
  display: flex;
  min-height: 49px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--access-line);
  background: var(--access-bar);
  font-family: var(--mono);
  font-size: 9px;
}
.access-console-bar > div { display: inline-flex; min-width: 0; align-items: center; gap: 9px; }
.access-console-bar strong { font-weight: 650; }
.access-console-bar code { color: var(--access-quiet); font-size: 8px; }
.access-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #26a079; box-shadow: 0 0 0 4px rgba(38, 160, 121, .10); }
.access-console-sides { color: var(--access-quiet); }
.access-console-sides .icon { width: 13px; height: 13px; color: #4f7cff; }

.access-console-body { display: grid; min-height: 550px; grid-template-columns: minmax(370px, .76fr) minmax(0, 1.3fr); }
.access-route { min-width: 0; padding: 36px 34px 34px; border-right: 1px solid var(--access-line); background: var(--access-route); }
.access-route-head { max-width: 390px; }
.access-route-head > span { display: flex; align-items: center; gap: 9px; color: #4f7cff; font-family: var(--mono); font-size: 9px; font-weight: 650; }
.access-route-head > span::after { width: 34px; height: 1px; background: color-mix(in srgb, #4f7cff 35%, transparent); content: ""; }
.access-route-head strong { display: block; margin-top: 13px; color: var(--access-ink); font-family: var(--display); font-size: 23px; font-weight: 680; line-height: 1.25; }
.access-route-head p { max-width: 370px; margin: 11px 0 0; color: var(--access-muted); font-size: 12px; line-height: 1.68; }

.access .access-path {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  list-style: none;
}
.access .access-path > li,
.access .access-path > li:nth-child(2),
.access .access-path > li:nth-child(4),
.access .access-path > li:hover,
.access .access-path > li:nth-child(2):hover,
.access .access-path > li:nth-child(4):hover {
  --route-accent: #4f7cff;
  position: relative;
  display: grid;
  min-height: 69px;
  padding: 0;
  grid-template-columns: 30px 38px minmax(0, 1fr);
  grid-template-rows: none;
  align-items: start;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.access .access-path > li:nth-child(2) { --route-accent: #8b6ff2; }
.access .access-path > li:nth-child(3) { --route-accent: #ed8062; }
.access .access-path > li:nth-child(4) { --route-accent: #e0a52f; }
.access .access-path > li:nth-child(5) { --route-accent: #26a079; }
.access .access-path > li::before,
.access .access-path > li:not(:last-child)::after { display: none; content: none; }
.access-step-index { padding-top: 11px; color: var(--access-quiet); font-family: var(--mono); font-size: 8px; font-variant-numeric: tabular-nums; }
.access .access-path > li > .access-step-index { grid-column: 1; grid-row: 1; }
.access-step-mark { position: relative; z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid color-mix(in srgb, var(--route-accent) 24%, var(--access-line)); border-radius: 50%; color: var(--route-accent); background: color-mix(in srgb, var(--route-accent) 8%, var(--access-shell)); }
.access .access-path > li > .access-step-mark { grid-column: 2; grid-row: 1; }
.access-step-mark .icon { width: 14px; height: 14px; stroke-width: 1.8; }
.access .access-path > li:not(:last-child) .access-step-mark::after { position: absolute; top: 31px; left: 50%; width: 1px; height: 37px; background: color-mix(in srgb, var(--route-accent) 24%, var(--access-line)); content: ""; }
.access-step-copy { min-width: 0; padding-top: 4px; }
.access .access-path > li > .access-step-copy { grid-column: 3; grid-row: 1; }
.access .access-path .access-step-copy strong { display: block; margin: 0; color: var(--access-ink); font-family: var(--body); font-size: 13px; font-weight: 650; line-height: 1.35; }
.access .access-path .access-step-copy small { display: block; max-width: none; margin: 5px 0 0; overflow: visible; color: var(--access-muted); font-family: var(--body); font-size: 10px; line-height: 1.45; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
html[data-lang="en"] .generated-grid figcaption { font-size: 8.5px; }

.access-request-surface { display: flex; min-width: 0; padding: 36px 39px 30px; background: var(--access-code); flex-direction: column; }
.access-request-head { display: flex; min-height: 59px; align-items: start; justify-content: space-between; gap: 20px; }
.access-request-head > div span { display: block; color: #4f7cff; font-family: var(--mono); font-size: 9px; font-weight: 650; }
.access-request-head strong { display: block; margin-top: 10px; color: var(--access-ink); font-family: var(--display); font-size: 26px; font-weight: 680; line-height: 1.2; }
.access-request-method { display: inline-flex; min-width: 49px; height: 25px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, #26a079 25%, var(--access-line)); border-radius: 13px; color: #218965; background: color-mix(in srgb, #26a079 8%, var(--access-shell)); font-family: var(--mono); font-size: 8px; font-weight: 700; }

.access .access-endpoint {
  display: grid;
  min-height: 56px;
  margin-top: 17px;
  padding: 0 10px 0 15px;
  grid-template-columns: max-content minmax(0, 1fr) 31px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--access-line);
  border-radius: 8px;
  color: var(--access-quiet);
  background: var(--access-shell);
  font-family: var(--mono);
  font-size: 9px;
}
.access .access-endpoint code { min-width: 0; overflow: hidden; color: #4f7cff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.access .access-endpoint button { display: inline-grid; width: 31px; height: 31px; padding: 0; place-items: center; border: 0; border-radius: 6px; color: #4f7cff; background: color-mix(in srgb, #4f7cff 9%, var(--access-shell)); }
.access .access-endpoint button:hover { color: var(--access-ink); background: color-mix(in srgb, #4f7cff 14%, var(--access-shell)); }

.access-code-window { min-height: 330px; margin-top: 13px; overflow: hidden; border: 1px solid var(--access-line); border-radius: 8px; background: var(--access-shell); }
.access-code-bar { display: flex; min-height: 42px; padding: 0 14px; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--access-line); color: var(--access-quiet); font-family: var(--mono); font-size: 9px; }
.access-code-bar > span { display: inline-flex; align-items: center; gap: 8px; }
.access-code-bar .icon { width: 13px; height: 13px; color: #4f7cff; }
.access-code-window pre { margin: 0; padding: 25px 27px; overflow: auto; color: var(--access-ink); font-family: var(--mono); font-size: 12px; line-height: 1.9; tab-size: 2; white-space: pre; }
.access-code-window .code-keyword { color: #865fd3; }
.access-code-window .code-string { color: #1b916e; }
:root[data-theme="dark"] .access-code-window .code-keyword { color: #bea0ff; }
:root[data-theme="dark"] .access-code-window .code-string { color: #68d4ae; }

.access-request-foot { display: flex; min-height: 54px; margin-top: auto; padding-top: 19px; align-items: center; justify-content: space-between; gap: 22px; }
.access-request-foot > span { display: inline-flex; min-width: 0; align-items: center; gap: 9px; color: var(--access-quiet); font-size: 10px; line-height: 1.5; }
.access-request-foot > span > i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #26a079; box-shadow: 0 0 0 4px rgba(38, 160, 121, .09); }
.access-request-foot .primary-action { min-height: 39px; margin: 0; padding: 8px 14px; border-radius: 20px; box-shadow: none; white-space: nowrap; }

@media (max-width: 1180px) {
  .access { width: calc(100% - 48px); }
  .access-intro { gap: 58px; }
  .access-console-body { grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr); }
  .access-route { padding-right: 27px; padding-left: 27px; }
  .access-request-surface { padding-right: 30px; padding-left: 30px; }
}

@media (max-width: 980px) {
  .scenes-copy h2,
  html[data-lang="zh"] .scenes-copy h2,
  html[data-lang="ja"] .scenes-copy h2 { max-width: 640px; font-size: 48px; }
  .scenes-copy > p { max-width: 650px; }
  .access-intro { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .access-intro > p { max-width: 650px; justify-self: start; }
  .access-console-body { grid-template-columns: 1fr; }
  .access-route { border-right: 0; border-bottom: 1px solid var(--access-line); }
  .access-route-head { max-width: 620px; }
  .access-route-head p { max-width: 600px; }
  .access .access-path { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .access .access-path > li,
  .access .access-path > li:nth-child(2),
  .access .access-path > li:nth-child(4) { min-height: 112px; grid-template-columns: 1fr; grid-template-rows: 18px 34px auto; gap: 5px; }
  .access-step-index { padding-top: 0; }
  .access .access-path > li > .access-step-index { grid-column: 1; grid-row: 1; }
  .access .access-path > li > .access-step-mark { grid-column: 1; grid-row: 2; }
  .access .access-path > li > .access-step-copy { grid-column: 1; grid-row: 3; }
  .access .access-path > li:not(:last-child) .access-step-mark::after { top: 50%; left: 31px; width: calc(100% + 13px); height: 1px; }
  .access-step-copy { padding-top: 4px; }
}

@media (max-width: 760px) {
  :root { --header-h: 54px; }
  .site-header { height: 54px; }
  .header-inner { min-height: 54px; }
  .brand img { width: 25px; height: 25px; }
  .language-trigger { height: 30px; }
  .icon-button { width: 30px; height: 30px; }
  .mobile-nav { top: 62px; }

  .scenes { padding-top: 100px; padding-bottom: 110px; }
  .scenes-copy h2,
  html[data-lang="zh"] .scenes-copy h2,
  html[data-lang="ja"] .scenes-copy h2 { font-size: 39px; line-height: 1.16; }
  .scenes-copy > p { margin-top: 20px; font-size: 14px; line-height: 1.78; }
  .scene-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-tab { min-height: 72px; padding: 11px 27px 11px 10px; }
  .scene-tab:nth-child(2)::after { display: none; }
  .scene-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .access { width: calc(100% - 30px); padding-top: 103px; padding-bottom: 112px; }
  .access-intro h2,
  html[data-lang="zh"] .access-intro h2,
  html[data-lang="ja"] .access-intro h2 { font-size: 42px; line-height: 1.14; }
  .access-intro > p { font-size: 14px; line-height: 1.76; }
  .access-console { min-height: 0; margin-top: 43px; border-radius: 9px; }
  .access-console-bar { padding-right: 14px; padding-left: 14px; }
  .access-console-sides { display: none !important; }
  .access-route { padding: 27px 19px 24px; }
  .access-route-head strong { font-size: 21px; }
  .access .access-path { grid-template-columns: 1fr; gap: 0; }
  .access .access-path > li,
  .access .access-path > li:nth-child(2),
  .access .access-path > li:nth-child(4) { min-height: 66px; grid-template-columns: 28px 36px minmax(0, 1fr); grid-template-rows: none; gap: 8px; }
  .access-step-index { padding-top: 10px; }
  .access .access-path > li > .access-step-index { grid-column: 1; grid-row: 1; }
  .access .access-path > li > .access-step-mark { grid-column: 2; grid-row: 1; }
  .access .access-path > li > .access-step-copy { grid-column: 3; grid-row: 1; }
  .access .access-path > li:not(:last-child) .access-step-mark::after { top: 31px; left: 50%; width: 1px; height: 34px; }
  .access-step-copy { padding-top: 3px; }
  .access-request-surface { padding: 28px 18px 24px; }
  .access-request-head strong { font-size: 23px; }
  .access .access-endpoint { min-height: 53px; padding-left: 12px; grid-template-columns: 1fr 30px; gap: 8px; }
  .access .access-endpoint > span { grid-column: 1 / -1; padding-top: 10px; font-size: 8px; }
  .access .access-endpoint code { padding-bottom: 10px; font-size: 9px; }
  .access .access-endpoint button { align-self: start; margin-top: -3px; }
  .access-code-window { min-height: 300px; }
  .access-code-window pre { padding: 20px 17px; font-size: 10px; line-height: 1.85; }
  .access-request-foot { align-items: flex-start; flex-direction: column; gap: 15px; }
}

@media (max-width: 350px) {
  .scenes-copy h2,
  html[data-lang="zh"] .scenes-copy h2,
  html[data-lang="ja"] .scenes-copy h2 { font-size: 35px; }
  .agent-state { width: 24px; height: 24px; padding: 0; justify-content: center; font-size: 0; }
  .agent-state i { width: 7px; height: 7px; }
  html[data-lang="en"] .generated-grid figcaption { overflow: visible; font-size: 8px; line-height: 1.2; text-overflow: clip; white-space: normal; }
  .scene-tab { grid-template-columns: 28px minmax(0, 1fr); min-height: 68px; padding-right: 23px; gap: 8px; }
  .scene-tab-icon,
  .scene-tab.is-active .scene-tab-icon { width: 28px; height: 28px; }
  .scene-tab small { display: none; }
  .access-intro h2,
  html[data-lang="zh"] .access-intro h2,
  html[data-lang="ja"] .access-intro h2 { font-size: 34px; }
  .access-request-head { gap: 10px; }
  .access-request-head strong { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-tab.is-active .scene-progress b { transform: scaleX(1); animation: none !important; }
}

:root {
  --reading-ink: #18202a;
  --reading-muted: #566473;
  --muted: #566473;
  --quiet: #667382;
  --connection-shell: #fbfcfe;
  --connection-soft: #f0f5f9;
  --connection-field: #f7fafd;
  --connection-line: rgba(42, 66, 91, .12);
  --connection-quiet: #667382;
  --signal-muted: #566473;
  --signal-quiet: #667382;
}

:root[data-theme="dark"] {
  --reading-ink: #e7edf3;
  --reading-muted: #a2afba;
  --muted: #a7b3be;
  --quiet: #96a4b0;
  --connection-shell: #101820;
  --connection-soft: #14212a;
  --connection-field: #0d151c;
  --connection-line: rgba(225, 235, 244, .11);
  --connection-quiet: #96a4b0;
  --signal-muted: #a7b3be;
  --signal-quiet: #96a4b0;
}

html[data-lang="zh"] {
  --body: "PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --display: var(--body);
}

html[data-lang="ja"] {
  --body: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --display: var(--body);
}

body {
  color: var(--reading-ink);
  font-synthesis: none;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

.main-nav a,
.mobile-nav a,
.language-trigger,
.console-action { font-weight: 500; line-height: 1.4; }

.hero h1,
.hero-kicker { font-family: var(--display); }
.hero-subtitle { font-family: var(--body); }
.hero-kicker { font-weight: 600; }
.hero-subtitle { font-weight: 500; }

.scenes-copy h2,
.access-intro h2,
.signal-intro h2,
html[data-lang="zh"] .scenes-copy h2,
html[data-lang="zh"] .access-intro h2,
html[data-lang="zh"] .signal-intro h2,
html[data-lang="ja"] .scenes-copy h2,
html[data-lang="ja"] .access-intro h2,
html[data-lang="ja"] .signal-intro h2 {
  color: var(--reading-ink);
  font-weight: 600;
  text-wrap: balance;
}

.scenes-copy > p,
.access-intro > p,
.signal-intro > p {
  color: var(--reading-muted);
  font-weight: 400;
}

.scenes-copy h2,
html[data-lang="zh"] .scenes-copy h2,
html[data-lang="ja"] .scenes-copy h2 {
  font-size: 48px;
  line-height: 1.16;
}

.access {
  width: min(1380px, calc(100% - 64px));
  padding-top: 82px;
  padding-bottom: 76px;
  scroll-margin-top: var(--header-h);
}

.scenes { padding-bottom: 72px; }

.access-intro {
  display: grid;
  margin-top: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr);
  align-items: end;
  gap: 84px;
}

.access-intro h2,
html[data-lang="zh"] .access-intro h2,
html[data-lang="ja"] .access-intro h2 {
  max-width: 730px;
  margin: 0;
  font-size: 54px;
  line-height: 1.13;
}

.access-intro > p {
  max-width: 490px;
  margin: 0 0 4px;
  justify-self: end;
  font-size: 15px;
  line-height: 1.86;
}

.connection-console {
  --connection-blue: #4b78f6;
  --connection-green: #22a17a;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--connection-line);
  border-radius: 8px;
  color: var(--reading-ink);
  background: var(--connection-shell);
  box-shadow: 0 28px 68px rgba(33, 54, 76, .10), inset 0 1px 0 rgba(255, 255, 255, .82);
  scroll-margin-top: calc(var(--header-h) + 22px);
}

:root[data-theme="dark"] .connection-console {
  --connection-blue: #7ea5ff;
  --connection-green: #5bcaa2;
  box-shadow: 0 30px 72px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.connection-console-bar {
  display: flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--connection-line);
  background: color-mix(in srgb, var(--connection-soft) 82%, var(--connection-shell));
  font-family: var(--mono);
  font-size: 10px;
}

.connection-console-bar > div,
.connection-preview-note {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.connection-console-bar strong { font-family: var(--body); font-weight: 600; }
.connection-console-bar code,
.connection-preview-note { color: var(--connection-quiet); }
.connection-preview-note { font-family: var(--body); }

.connection-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--connection-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--connection-green) 11%, transparent);
}

.connection-console-body {
  display: grid;
  min-height: 548px;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.42fr);
}

.connection-setup {
  display: flex;
  min-width: 0;
  padding: 38px 34px 32px;
  border-right: 1px solid var(--connection-line);
  background: var(--connection-soft);
  flex-direction: column;
}

.connection-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--connection-blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.connection-kicker .icon { width: 13px; height: 13px; stroke-width: 1.8; }

.connection-setup h3 {
  max-width: 390px;
  margin: 17px 0 0;
  color: var(--reading-ink);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.34;
  text-wrap: balance;
}

.connection-setup > p {
  max-width: 390px;
  margin: 13px 0 0;
  color: var(--reading-muted);
  font-size: 13px;
  line-height: 1.74;
}

.connection-endpoint {
  display: grid;
  min-height: 62px;
  margin-top: 25px;
  padding: 9px 9px 9px 13px;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 9px;
  border: 1px solid var(--connection-line);
  border-radius: 7px;
  background: var(--connection-shell);
  font-family: var(--mono);
}

.connection-endpoint > span {
  color: var(--connection-quiet);
  font-size: 10px;
}

.connection-endpoint code {
  min-width: 0;
  overflow: hidden;
  color: var(--connection-blue);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-endpoint button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: var(--connection-blue);
  background: color-mix(in srgb, var(--connection-blue) 9%, var(--connection-shell));
  cursor: pointer;
}

.connection-endpoint button:hover { background: color-mix(in srgb, var(--connection-blue) 15%, var(--connection-shell)); }
.connection-endpoint .icon { width: 15px; height: 15px; }

.connection-snippet {
  margin: 11px 0 0;
  overflow: auto;
  padding: 16px 17px;
  border: 1px solid var(--connection-line);
  border-radius: 7px;
  color: var(--reading-ink);
  background: var(--connection-shell);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.78;
  white-space: pre;
}

.connection-snippet .code-keyword { color: #835fd0; }
.connection-snippet .code-string { color: #168668; }
:root[data-theme="dark"] .connection-snippet .code-keyword { color: #bea4ff; }
:root[data-theme="dark"] .connection-snippet .code-string { color: #6bd3ae; }

.connection-contract {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  gap: 0;
}

.connection-contract > div {
  display: grid;
  min-height: 38px;
  padding: 8px 1px;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--connection-line);
}

.connection-contract dt,
.connection-contract dd { margin: 0; }

.connection-contract dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--reading-ink);
  font-size: 11px;
  font-weight: 500;
}

.connection-contract dt .icon { width: 13px; height: 13px; color: var(--connection-blue); stroke-width: 1.8; }
.connection-contract dd { color: var(--connection-quiet); font-size: 11px; line-height: 1.5; }

.connection-console-action {
  display: inline-flex;
  min-height: 40px;
  margin-top: auto;
  padding: 9px 15px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--connection-blue) 18%, var(--connection-line));
  border-radius: 20px;
  color: #ffffff;
  background: #3f72f3;
  box-shadow: 0 9px 22px rgba(63, 114, 243, .17);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.connection-console-action:hover { background: #3267e9; transform: translateY(-1px); }
.connection-console-action .icon { width: 14px; height: 14px; }

.connection-stage {
  display: flex;
  min-width: 0;
  padding: 36px 38px 31px;
  background: var(--connection-shell);
  flex-direction: column;
}

.connection-stage-head {
  display: flex;
  min-height: 51px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.connection-stage-head > div > span {
  display: block;
  color: var(--connection-blue);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
}

.connection-stage-head strong {
  display: block;
  margin-top: 9px;
  color: var(--reading-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.connection-stage-head > span {
  display: inline-flex;
  min-height: 25px;
  padding: 5px 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--connection-green) 21%, var(--connection-line));
  border-radius: 13px;
  color: color-mix(in srgb, var(--connection-green) 84%, var(--reading-ink));
  background: color-mix(in srgb, var(--connection-green) 7%, var(--connection-shell));
  font-size: 10px;
  white-space: nowrap;
}

.connection-stage-head > span > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--connection-green);
}

.connection-field {
  position: relative;
  display: grid;
  height: 292px;
  margin-top: 18px;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border: 1px solid var(--connection-line);
  border-radius: 8px;
  background: var(--connection-field);
  isolation: isolate;
}

.connection-field::before {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--connection-line) 60%, transparent);
  border-radius: 5px;
  content: "";
}

.connection-beam {
  position: absolute;
  right: 17%;
  left: 17%;
  height: 1px;
  overflow: hidden;
  background: var(--connection-line);
}

.connection-beam::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26%;
  background: linear-gradient(90deg, transparent, var(--connection-blue), transparent);
  content: "";
  animation: connection-beam-scan 4.5s ease-in-out infinite;
}

.connection-beam-request { top: calc(50% - 16px); }
.connection-beam-response { top: calc(50% + 29px); opacity: .65; }
.connection-beam-response::after { animation-direction: reverse; animation-delay: -1.6s; background: linear-gradient(90deg, transparent, var(--connection-green), transparent); }

.connection-packet {
  position: absolute;
  top: calc(50% - 20px);
  left: 17%;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 2px solid var(--connection-field);
  border-radius: 50%;
  background: var(--connection-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--connection-blue) 13%, transparent), 0 0 16px color-mix(in srgb, var(--connection-blue) 55%, transparent);
  animation: connection-packet-forward 4.5s cubic-bezier(.42, 0, .35, 1) infinite;
}

.connection-packet-two { animation-delay: -2.3s; }
.connection-packet-return {
  top: calc(50% + 25px);
  background: var(--connection-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--connection-green) 13%, transparent), 0 0 16px color-mix(in srgb, var(--connection-green) 55%, transparent);
  animation-name: connection-packet-return;
  animation-delay: -1.1s;
}

.connection-node {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.connection-node > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--connection-line);
  border-radius: 8px;
  color: var(--reading-muted);
  background: var(--connection-shell);
  box-shadow: 0 8px 24px rgba(34, 55, 76, .08), inset 0 1px 0 rgba(255, 255, 255, .75);
}

:root[data-theme="dark"] .connection-node > span { box-shadow: 0 10px 26px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .04); }
.connection-node > span .icon { width: 20px; height: 20px; stroke-width: 1.65; }
.connection-node strong { margin-top: 13px; color: var(--reading-ink); font-size: 12px; font-weight: 600; line-height: 1.35; }
.connection-node small { margin-top: 5px; color: var(--connection-quiet); font-family: var(--mono); font-size: 9px; }

.connection-node-gateway > span {
  width: 72px;
  height: 72px;
  border-color: color-mix(in srgb, var(--connection-blue) 24%, var(--connection-line));
  border-radius: 50%;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--connection-blue) 6%, transparent), 0 18px 38px rgba(44, 83, 154, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}

:root[data-theme="dark"] .connection-node-gateway > span { box-shadow: 0 0 0 10px rgba(126, 165, 255, .055), 0 18px 40px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05); }
.connection-node-gateway img { width: 38px; height: 38px; }

.connection-node-halo {
  position: absolute;
  top: -10px;
  width: 92px;
  height: 92px;
  border: 1px solid color-mix(in srgb, var(--connection-blue) 17%, transparent);
  border-radius: 50%;
  animation: connection-halo 4.5s ease-out infinite;
  pointer-events: none;
}

.connection-events {
  display: grid;
  margin-top: auto;
  padding-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connection-events > div {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 66px;
  padding: 10px 13px;
  grid-template-columns: 27px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 2px 9px;
  border-top: 1px solid var(--connection-line);
  color: var(--connection-quiet);
  animation: connection-event 4.5s ease-in-out infinite;
}

.connection-events > div:not(:last-child) { border-right: 1px solid var(--connection-line); }
.connection-events > div:nth-child(2) { animation-delay: -3s; }
.connection-events > div:nth-child(3) { animation-delay: -1.5s; }

.connection-events > div > span {
  display: grid;
  width: 27px;
  height: 27px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 6px;
  color: currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.connection-events .icon { width: 13px; height: 13px; stroke-width: 1.8; }
.connection-events strong { min-width: 0; color: var(--reading-ink); font-size: 11px; font-weight: 500; line-height: 1.4; }
.connection-events small { min-width: 0; overflow: hidden; font-family: var(--mono); font-size: 9px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }

@keyframes connection-beam-scan {
  0%, 12% { left: -28%; opacity: 0; }
  24% { opacity: 1; }
  76% { opacity: 1; }
  90%, 100% { left: 102%; opacity: 0; }
}

@keyframes connection-packet-forward {
  0%, 8% { left: 17%; opacity: 0; transform: scale(.65); }
  18% { opacity: 1; transform: scale(1); }
  82% { opacity: 1; transform: scale(1); }
  94%, 100% { left: 82%; opacity: 0; transform: scale(.7); }
}

@keyframes connection-packet-return {
  0%, 8% { left: 82%; opacity: 0; transform: scale(.65); }
  18% { opacity: 1; transform: scale(1); }
  82% { opacity: 1; transform: scale(1); }
  94%, 100% { left: 17%; opacity: 0; transform: scale(.7); }
}

@keyframes connection-halo {
  0%, 38% { opacity: 0; transform: scale(.82); }
  52% { opacity: .9; }
  78%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes connection-event {
  0%, 22%, 100% { color: var(--connection-quiet); background: transparent; }
  8%, 16% { color: var(--connection-blue); background: color-mix(in srgb, var(--connection-blue) 5%, transparent); }
}

.signal-inner {
  padding-top: 70px;
  padding-bottom: 0;
}

.signal-intro h2,
html[data-lang="zh"] .signal-intro h2,
html[data-lang="ja"] .signal-intro h2 {
  margin-top: 0;
  font-size: 54px;
  line-height: 1.15;
}

.signal-intro > p { margin-top: 20px; }
.signal-dashboard { margin-top: 46px; }

.signal-service-band {
  margin-top: 44px;
  padding-top: 46px;
  padding-bottom: 52px;
}

.signal .signal-links a,
.signal .signal-links a:visited,
.signal .signal-links a:hover,
.signal .signal-links a:active {
  text-decoration: none;
}

.signal .signal-links a {
  min-height: 112px;
  padding: 20px 19px;
  grid-template-columns: 26px minmax(0, 1fr) 15px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 12px;
}

.signal .signal-links a:hover { padding: 20px 19px; }

.signal .signal-links a > .icon:first-child {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  align-self: center;
}

.signal .signal-links a > span {
  display: flex;
  min-width: 0;
  min-height: 51px;
  grid-column: 2;
  justify-content: center;
  flex-direction: column;
}

.signal .signal-links strong {
  display: block;
  color: var(--signal-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  text-decoration: none;
}

.signal .signal-links small {
  display: block;
  margin-top: 5px;
  color: var(--signal-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.52;
  text-decoration: none;
}

.signal .signal-links a > .icon:last-child {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}

.signal-panel h3 { font-weight: 600; }
.signal-panel-copy,
.signal-panel-note { font-weight: 400; }

.scene-tab strong { font-size: 13px; font-weight: 600; line-height: 1.4; }
.scene-tab small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.agent-head strong,
.scene-toolbar > strong,
.scene-chrome-path span:first-child,
.hero-route-item strong,
.channel-row strong,
.scene-album-head strong,
.scene-album-slide figcaption strong,
.hero-entry-action { font-weight: 600; }
.signal-panel-eyebrow,
.signal-panel-badge,
.signal-panel-note { font-size: 11px; line-height: 1.45; }
.footer-brand-block > span,
.footer-column > strong,
.footer-column a { font-family: var(--body); }
.footer-brand-block > span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-column > strong { font-size: 12px; font-weight: 600; line-height: 1.4; }
.footer-column a { font-size: 13px; font-weight: 400; line-height: 1.55; }

@media (max-width: 1180px) {
  .access { width: calc(100% - 48px); }
  .access-intro { gap: 54px; }
  .connection-console-body { grid-template-columns: minmax(310px, .68fr) minmax(0, 1.32fr); }
  .connection-setup { padding-right: 27px; padding-left: 27px; }
  .connection-stage { padding-right: 28px; padding-left: 28px; }
}

@media (max-width: 980px) {
  .access-intro { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .access-intro > p { max-width: 660px; justify-self: start; }
  .connection-console-body { grid-template-columns: 1fr; }
  .connection-setup { border-right: 0; border-bottom: 1px solid var(--connection-line); }
  .connection-setup h3,
  .connection-setup > p { max-width: 640px; }
  .connection-contract { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .connection-contract > div { grid-template-columns: 1fr; align-content: center; gap: 3px; border-bottom: 0; }
  .connection-console-action { margin-top: 24px; }
  .connection-field { height: 270px; }
  .signal .signal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .scenes { padding-bottom: 56px; }
  .scenes-copy h2,
  html[data-lang="zh"] .scenes-copy h2,
  html[data-lang="ja"] .scenes-copy h2 { font-size: 39px; line-height: 1.17; }
  .access { width: calc(100% - 30px); padding-top: 58px; padding-bottom: 58px; }
  .access-intro h2,
  html[data-lang="zh"] .access-intro h2,
  html[data-lang="ja"] .access-intro h2 { font-size: 40px; line-height: 1.17; }
  .access-intro > p { font-size: 14px; line-height: 1.78; }
  .connection-console { margin-top: 36px; }
  .connection-console-bar { padding: 0 13px; }
  .connection-preview-note { display: none; }
  .connection-setup { padding: 27px 18px 24px; }
  .connection-setup h3 { font-size: 23px; }
  .connection-contract { grid-template-columns: 1fr; gap: 0; }
  .connection-contract > div { min-height: 40px; grid-template-columns: 92px minmax(0, 1fr); border-bottom: 1px solid var(--connection-line); }
  .connection-stage { padding: 28px 15px 23px; }
  .connection-stage-head { align-items: flex-start; }
  .connection-stage-head strong { max-width: 210px; font-size: 19px; }
  .connection-stage-head > span { padding-right: 7px; padding-left: 7px; }
  .connection-field { height: 238px; margin-top: 14px; }
  .connection-field::before { inset: 10px; }
  .connection-node > span { width: 40px; height: 40px; }
  .connection-node > span .icon { width: 17px; height: 17px; }
  .connection-node-gateway > span { width: 58px; height: 58px; }
  .connection-node-gateway img { width: 31px; height: 31px; }
  .connection-node-halo { top: -8px; width: 74px; height: 74px; }
  .connection-node strong { max-width: 88px; font-size: 10px; }
  .connection-node small { font-size: 8px; }
  .connection-events { padding-top: 15px; }
  .connection-events > div { min-height: 72px; padding: 9px 7px; grid-template-columns: 1fr; grid-template-rows: 25px auto auto; justify-items: center; gap: 2px; text-align: center; }
  .connection-events > div > span { width: 25px; height: 25px; grid-row: 1; }
  .connection-events strong { font-size: 10px; }
  .connection-events small { max-width: 100%; font-size: 8px; }
  .signal-inner { padding-top: 58px; }
  .signal-intro h2,
  html[data-lang="zh"] .signal-intro h2,
  html[data-lang="ja"] .signal-intro h2 { font-size: 40px; line-height: 1.17; }
  .signal-dashboard { margin-top: 32px; }
  .signal-service-band { margin-top: 32px; padding-top: 34px; padding-bottom: 40px; }
  .signal .signal-links { grid-template-columns: 1fr; gap: 9px; }
  .signal .signal-links a,
  .signal .signal-links a:hover { min-height: 82px; padding: 14px 15px; }
  .signal .signal-links a > span { min-height: 45px; }
}

@media (max-width: 390px) {
  .scenes-copy h2,
  html[data-lang="zh"] .scenes-copy h2,
  html[data-lang="ja"] .scenes-copy h2 { font-size: 35px; }
  .access-intro h2,
  html[data-lang="zh"] .access-intro h2,
  html[data-lang="ja"] .access-intro h2,
  .signal-intro h2,
  html[data-lang="zh"] .signal-intro h2,
  html[data-lang="ja"] .signal-intro h2 { font-size: 34px; }
  .connection-endpoint code { font-size: 9px; }
  .connection-snippet { padding: 14px 12px; font-size: 9px; }
  .connection-stage-head > span { font-size: 7px; }
  .connection-node small { display: none; }
  .connection-beam-request { top: calc(50% - 12px); }
  .connection-beam-response { top: calc(50% + 22px); }
  .connection-packet { top: calc(50% - 16px); }
  .connection-packet-return { top: calc(50% + 18px); }
}

@media (prefers-reduced-motion: reduce) {
  .connection-beam::after,
  .connection-packet,
  .connection-node-halo,
  .connection-events > div { animation: none !important; }
  .connection-beam::after { left: 37%; opacity: .55; }
  .connection-packet-one { left: 49%; opacity: 1; transform: none; }
  .connection-packet-two,
  .connection-packet-return { display: none; }
}

body.portal-refine-14 {
  --portal-page: #f5f7fa;
  --portal-surface: #ffffff;
  --portal-surface-soft: #f0f4f7;
  --portal-layer: #e9eff4;
  --portal-line: rgba(29, 47, 65, .105);
  --portal-shadow: 0 24px 58px rgba(38, 60, 82, .09), 0 4px 14px rgba(38, 60, 82, .045);
  --page: var(--portal-page);
  --surface: var(--portal-surface);
  --surface-soft: var(--portal-surface-soft);
  --connection-shell: var(--portal-surface);
  --connection-soft: var(--portal-surface-soft);
  --connection-field: #f8fafc;
  --connection-line: var(--portal-line);
  --signal-bg: var(--portal-page);
  --signal-panel: var(--portal-surface);
  --signal-panel-soft: var(--portal-surface-soft);
  --signal-band: var(--portal-surface-soft);
  --footer-bg: var(--portal-page);
  background: var(--portal-page);
}

:root[data-theme="dark"] body.portal-refine-14 {
  --portal-page: #111820;
  --portal-surface: #18222b;
  --portal-surface-soft: #1d2933;
  --portal-layer: #202e39;
  --portal-line: rgba(226, 237, 246, .105);
  --portal-shadow: 0 28px 64px rgba(0, 0, 0, .25), 0 5px 16px rgba(0, 0, 0, .15);
  --page: var(--portal-page);
  --surface: var(--portal-surface);
  --surface-soft: var(--portal-surface-soft);
  --connection-shell: var(--portal-surface);
  --connection-soft: var(--portal-surface-soft);
  --connection-field: #141d25;
  --signal-bg: var(--portal-page);
  --signal-panel: var(--portal-surface);
  --signal-panel-soft: var(--portal-surface-soft);
  --signal-band: var(--portal-surface-soft);
  --footer-bg: var(--portal-page);
}

body.portal-refine-14 .page,
body.portal-refine-14 .hero,
body.portal-refine-14 .scenes,
body.portal-refine-14 .access,
body.portal-refine-14 .signal,
body.portal-refine-14 .site-footer {
  background: var(--portal-page);
}

/* Navigation */
body.portal-refine-14 { --header-h: 50px; }
body.portal-refine-14 .site-header {
  top: 0;
  height: 50px;
  border-bottom: 1px solid rgba(29, 47, 65, .065);
  background: rgba(247, 249, 251, .78);
  box-shadow: 0 8px 24px rgba(35, 55, 75, .035);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

:root[data-theme="dark"] body.portal-refine-14 .site-header {
  border-bottom-color: rgba(229, 238, 246, .075);
  background: rgba(17, 24, 32, .76);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

body.portal-refine-14 .header-inner {
  width: min(1460px, calc(100% - 40px));
  min-height: 50px;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  gap: 14px;
}

body.portal-refine-14 .brand { gap: 8px; }
body.portal-refine-14 .brand img { width: 24px; height: 24px; }
body.portal-refine-14 .brand-word { font-size: 15px; font-weight: 650; }
body.portal-refine-14 .main-nav a {
  min-width: 58px;
  padding: 6px 10px;
  color: #3f4954;
  font-size: 12px;
  font-weight: 550;
}
body.portal-refine-14 .main-nav a:hover { color: #17202a; }
body.portal-refine-14 .main-nav a[aria-current="page"] { color: #111820; font-weight: 600; }
body.portal-refine-14 .main-nav a[aria-current="page"]::after { bottom: -3px; height: 1px; }
:root[data-theme="dark"] body.portal-refine-14 .main-nav a { color: #b8c3cd; }
:root[data-theme="dark"] body.portal-refine-14 .main-nav a:hover { color: #eef3f7; }
:root[data-theme="dark"] body.portal-refine-14 .main-nav a[aria-current="page"] { color: #f5f8fa; }
body.portal-refine-14 .header-actions { gap: 5px; }
body.portal-refine-14 .language-trigger { height: 29px; padding-right: 9px; padding-left: 9px; border-radius: 15px; font-size: 10px; }
body.portal-refine-14 .console-action {
  min-height: 30px;
  padding: 5px 11px;
  gap: 6px;
  border-radius: 15px;
  font-size: 11px;
}
body.portal-refine-14 .console-action .icon { width: 13px; height: 13px; }
body.portal-refine-14 .icon-button { width: 29px; height: 29px; }

/* Cinematic album: one orchestrated motion instead of a generic crossfade. */
body.portal-refine-14 .scene-album {
  --album-enter-x: 7%;
  --album-exit-x: -3.5%;
  position: relative;
  max-width: 470px;
  margin-top: 36px;
}
body.portal-refine-14 .scene-album[data-album-direction="previous"] {
  --album-enter-x: -7%;
  --album-exit-x: 3.5%;
}
body.portal-refine-14 .scene-album-head {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 12;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 15px;
  color: rgba(255, 255, 255, .72);
  background: rgba(13, 21, 29, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
body.portal-refine-14 .scene-album-counter strong { color: #ffffff; }
body.portal-refine-14 .scene-album-counter i { display: none; }
body.portal-refine-14 .scene-album-stage {
  aspect-ratio: 3 / 2;
  border-color: rgba(31, 53, 74, .12);
  background: #dfe6eb;
  box-shadow: 0 30px 64px rgba(30, 52, 73, .17), 0 5px 16px rgba(30, 52, 73, .07), inset 0 1px 0 rgba(255, 255, 255, .7);
}
:root[data-theme="dark"] body.portal-refine-14 .scene-album-stage {
  border-color: rgba(226, 237, 246, .13);
  background: #202c35;
  box-shadow: 0 32px 68px rgba(0, 0, 0, .34), 0 6px 18px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .045);
}
body.portal-refine-14 .scene-album-stage::before {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 -92px 82px -68px rgba(7, 15, 24, .58);
}
body.portal-refine-14 .scene-album-stage::after {
  top: -18%;
  bottom: -18%;
  width: 25%;
  filter: blur(12px);
}
body.portal-refine-14 .scene-album-slide {
  opacity: .001;
  clip-path: var(--album-closed);
  filter: blur(7px) saturate(.76) brightness(.9);
  transform: translate3d(var(--album-enter-x), 0, 0) scale(1.045);
  transition:
    clip-path 1.08s cubic-bezier(.2, .82, .18, 1),
    transform 1.18s cubic-bezier(.2, .82, .18, 1),
    filter .9s ease,
    opacity .45s ease;
}
body.portal-refine-14 .scene-album-slide.is-ready { opacity: 1; }
body.portal-refine-14 .scene-album-slide.is-active {
  opacity: 1;
  clip-path: inset(0);
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}
body.portal-refine-14 .scene-album-slide.is-leaving {
  opacity: .82;
  clip-path: inset(0);
  filter: blur(2px) saturate(.74) brightness(.86);
  transform: translate3d(var(--album-exit-x), 0, 0) scale(.978);
}
body.portal-refine-14 .scene-album-slide figcaption {
  opacity: 0;
  transform: translateY(11px);
  transition: opacity .42s ease, transform .62s cubic-bezier(.2, .8, .2, 1);
}
body.portal-refine-14 .scene-album-slide.is-active figcaption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .32s;
}
body.portal-refine-14 .scene-album-slide.is-leaving figcaption {
  opacity: 0;
  transform: translateY(-7px);
  transition-delay: 0s;
}
body.portal-refine-14 .scene-album-controls {
  top: 12px;
  right: 12px;
  padding: 3px;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 19px;
  background: rgba(255, 255, 255, .69);
  box-shadow: 0 8px 22px rgba(10, 20, 30, .15), inset 0 1px 0 rgba(255, 255, 255, .65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
body.portal-refine-14 .scene-album-controls button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}
body.portal-refine-14 .scene-album-controls button:hover { background: rgba(255, 255, 255, .72); transform: none; }
body.portal-refine-14 .scene-album-progress {
  top: 27px;
  right: 84px;
  left: 69px;
  height: 1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .28);
}
body.portal-refine-14 .scene-album-progress i { background: rgba(255, 255, 255, .92); }
body.portal-refine-14 .scene-album-film {
  height: 54px;
  margin-top: 11px;
  padding: 3px 0;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.portal-refine-14 .scene-album-film button {
  flex: 0 0 62px;
  height: 48px;
  aspect-ratio: auto;
  border-color: transparent;
  border-radius: 6px;
  opacity: .34;
  filter: saturate(.5) contrast(.94);
  transform: scale(.94);
  transition: flex-basis .48s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, filter .3s ease, transform .3s ease, box-shadow .3s ease;
}
body.portal-refine-14 .scene-album-film button::after { display: none; }
body.portal-refine-14 .scene-album-film button.is-active {
  flex-basis: 112px;
  border-color: rgba(47, 107, 255, .42);
  opacity: 1;
  filter: none;
  transform: scale(1);
  box-shadow: 0 9px 22px rgba(33, 54, 76, .12);
}

@keyframes scene-album-drift {
  from { transform: scale(1.04) translate3d(-.42%, .18%, 0); }
  to { transform: scale(1.008) translate3d(.36%, -.12%, 0); }
}

/* Connection: independent surfaces with a structural plane behind them. */
body.portal-refine-14 .access {
  position: relative;
  overflow: visible;
  padding-top: 112px;
  padding-bottom: 138px;
}
body.portal-refine-14 .access::before,
body.portal-refine-14 .access::after { display: none; }
body.portal-refine-14 .access-intro { align-items: end; gap: 104px; }
body.portal-refine-14 .connection-console {
  position: relative;
  isolation: isolate;
  margin-top: 72px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.portal-refine-14 .connection-console::before {
  position: absolute;
  top: 78px;
  right: -28px;
  bottom: -30px;
  left: 23%;
  z-index: -1;
  display: block;
  border: 1px solid color-mix(in srgb, var(--portal-line) 74%, transparent);
  border-radius: 8px;
  background: var(--portal-layer);
  content: "";
}
body.portal-refine-14 .connection-console-bar {
  width: calc(100% - 36px);
  min-height: 40px;
  margin: 0 auto 18px;
  padding: 0 15px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--portal-surface) 78%, transparent);
  box-shadow: 0 8px 22px rgba(37, 59, 80, .045), inset 0 1px 0 rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
body.portal-refine-14 .connection-console-body {
  min-height: 0;
  grid-template-columns: minmax(330px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 24px;
}
body.portal-refine-14 .connection-setup,
body.portal-refine-14 .connection-stage {
  min-height: 0;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  box-shadow: var(--portal-shadow), inset 0 1px 0 rgba(255, 255, 255, .68);
}
:root[data-theme="dark"] body.portal-refine-14 .connection-setup,
:root[data-theme="dark"] body.portal-refine-14 .connection-stage {
  box-shadow: var(--portal-shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
}
body.portal-refine-14 .connection-setup {
  padding: 38px 34px 34px;
  border-right: 1px solid var(--portal-line);
  background: var(--portal-surface-soft);
}
body.portal-refine-14 .connection-stage {
  min-height: 530px;
  padding: 42px 40px 30px;
  background: var(--portal-surface);
  transform: translateY(30px);
}
body.portal-refine-14 .connection-field {
  height: 310px;
  margin-top: 26px;
  background: var(--connection-field);
}
body.portal-refine-14 .connection-events { padding-top: 28px; }

/* Status: staggered instruments over a quieter full-width information band. */
body.portal-refine-14 .signal {
  overflow: clip;
  border: 0;
}
body.portal-refine-14 .signal-inner {
  padding-top: 128px;
  padding-bottom: 0;
}
body.portal-refine-14 .signal-intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .66fr);
  align-items: end;
  gap: 104px;
}
body.portal-refine-14 .signal-intro h2 { margin: 0; }
body.portal-refine-14 .signal-intro > p {
  max-width: 500px;
  margin: 0 0 4px;
  justify-self: end;
}
body.portal-refine-14 .signal-dashboard {
  position: relative;
  isolation: isolate;
  margin-top: 76px;
  padding-bottom: 40px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 30px;
}
body.portal-refine-14 .signal-dashboard::before {
  position: absolute;
  top: 88px;
  right: -28px;
  bottom: 0;
  left: 12%;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--portal-line) 74%, transparent);
  border-radius: 8px;
  background: var(--portal-layer);
  content: "";
}
body.portal-refine-14 .signal-panel {
  padding: 32px;
  border-color: var(--portal-line);
  background: var(--portal-surface);
  box-shadow: var(--portal-shadow), inset 0 1px 0 rgba(255, 255, 255, .68);
}
:root[data-theme="dark"] body.portal-refine-14 .signal-panel {
  box-shadow: var(--portal-shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
}
body.portal-refine-14 .signal-provider-panel {
  margin-top: 48px;
  background: var(--portal-surface-soft);
}
body.portal-refine-14 .signal-health-panel { margin-top: 0; }
body.portal-refine-14 .provider-card {
  grid-template-columns: 38px minmax(0, 1fr);
  border-color: color-mix(in srgb, var(--portal-line) 88%, transparent);
  background: color-mix(in srgb, var(--portal-surface) 72%, transparent);
  cursor: default;
}
body.portal-refine-14 .provider-card:hover {
  border-color: color-mix(in srgb, var(--portal-line) 88%, transparent);
  background: color-mix(in srgb, var(--portal-surface) 72%, transparent);
  transform: none;
}
body.portal-refine-14 .health-chart { background: var(--portal-surface-soft); }
body.portal-refine-14 .signal-service-band {
  margin-top: 62px;
  padding-top: 46px;
  padding-bottom: 56px;
}
body.portal-refine-14 .signal-service-band::before {
  border-color: var(--portal-line);
  background: var(--portal-surface-soft);
}
body.portal-refine-14 .signal .signal-links { gap: 22px; }
body.portal-refine-14 .signal .signal-links a,
body.portal-refine-14 .signal .signal-links a:hover {
  min-height: 104px;
  padding: 18px 8px;
  border: 0;
  border-top: 1px solid var(--portal-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.portal-refine-14 .signal .signal-links a:hover { transform: translateY(-2px); }
body.portal-refine-14 .site-footer { border-top: 1px solid var(--portal-line); }

@media (max-width: 1180px) {
  body.portal-refine-14 .header-inner { grid-template-columns: auto 1fr auto; }
  body.portal-refine-14 .access-intro,
  body.portal-refine-14 .signal-intro { gap: 62px; }
  body.portal-refine-14 .connection-console-body { grid-template-columns: minmax(310px, .66fr) minmax(0, 1.34fr); }
}

@media (max-width: 980px) {
  body.portal-refine-14 .access-intro,
  body.portal-refine-14 .signal-intro { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  body.portal-refine-14 .access-intro > p,
  body.portal-refine-14 .signal-intro > p { max-width: 690px; justify-self: start; }
  body.portal-refine-14 .connection-console::before { top: 92px; right: -18px; bottom: -22px; left: 12%; }
  body.portal-refine-14 .connection-console-body { grid-template-columns: 1fr; gap: 18px; }
  body.portal-refine-14 .connection-setup { border-right: 1px solid var(--portal-line); border-bottom: 1px solid var(--portal-line); }
  body.portal-refine-14 .connection-stage { min-height: 500px; transform: none; }
  body.portal-refine-14 .signal-dashboard { gap: 20px; }
}

@media (max-width: 760px) {
  body.portal-refine-14 { --header-h: 52px; }
  body.portal-refine-14 .site-header { height: 52px; }
  body.portal-refine-14 .header-inner { width: calc(100% - 24px); min-height: 52px; }
  body.portal-refine-14 .brand img { width: 23px; height: 23px; }
  body.portal-refine-14 .mobile-nav { top: 60px; }
  body.portal-refine-14 .scene-album { max-width: none; margin-top: 30px; }
  body.portal-refine-14 .scene-album-film button { flex-basis: 54px; height: 44px; }
  body.portal-refine-14 .scene-album-film button.is-active { flex-basis: 96px; }
  body.portal-refine-14 .access { padding-top: 78px; padding-bottom: 86px; }
  body.portal-refine-14 .connection-console { margin-top: 44px; }
  body.portal-refine-14 .connection-console::before { top: 76px; right: -8px; bottom: -14px; left: 8%; }
  body.portal-refine-14 .connection-console-bar { width: calc(100% - 14px); margin-bottom: 12px; }
  body.portal-refine-14 .connection-setup { padding: 29px 19px 26px; }
  body.portal-refine-14 .connection-stage { min-height: 0; padding: 30px 16px 24px; }
  body.portal-refine-14 .connection-field { height: 250px; margin-top: 18px; }
  body.portal-refine-14 .signal-inner { padding-top: 82px; }
  body.portal-refine-14 .signal-dashboard { margin-top: 42px; padding-bottom: 20px; grid-template-columns: 1fr; gap: 16px; }
  body.portal-refine-14 .signal-dashboard::before { top: 70px; right: -8px; left: 8%; }
  body.portal-refine-14 .signal-provider-panel { margin-top: 0; }
  body.portal-refine-14 .signal-panel { padding: 23px 19px; }
  body.portal-refine-14 .signal-service-band { margin-top: 38px; padding-top: 36px; padding-bottom: 42px; }
  body.portal-refine-14 .signal .signal-links { gap: 8px; }
  body.portal-refine-14 .signal .signal-links a,
  body.portal-refine-14 .signal .signal-links a:hover { min-height: 78px; padding: 13px 4px; }
}

@media (max-width: 390px) {
  body.portal-refine-14 .scene-album-head { top: 9px; left: 9px; }
  body.portal-refine-14 .scene-album-controls { top: 9px; right: 9px; }
  body.portal-refine-14 .scene-album-progress { top: 24px; right: 79px; left: 65px; }
  body.portal-refine-14 .provider-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.portal-refine-14 .scene-album-slide,
  body.portal-refine-14 .scene-album-slide img,
  body.portal-refine-14 .scene-album-slide figcaption,
  body.portal-refine-14 .scene-album-film button { transition: none; animation: none !important; }
  body.portal-refine-14 .scene-album-slide { transform: none; filter: none; }
  body.portal-refine-14 .scene-album-stage::after { display: none; }
  body.portal-refine-14 .signal .signal-links a:hover { transform: none; }
}
