@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --rail: 76px;
  --ink: #0E1220;
  --ink-deep: #090c16;
  --orange: #FF7A3C;
  --mint: #45E0C0;
  --text: #dfe5f0;
  --dim: #94a0b8;
  --line: rgba(69, 224, 192, 0.18);
  --line-warm: rgba(255, 122, 60, 0.3);
  --glass: rgba(255, 255, 255, 0.045);
  --font-body: 'VT323', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-head: 'Press Start 2P', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

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

body {
  margin: 0;
  background-color: var(--ink);
  background-image: radial-gradient(circle, rgba(223, 229, 240, 0.06) 1px, transparent 1.4px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
}

a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.55; letter-spacing: 0.02em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: var(--ink-deep); }

.prog {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 95;
  background: linear-gradient(90deg, var(--mint), var(--orange));
  box-shadow: 0 0 12px rgba(255, 122, 60, 0.65);
}

/* 顶部细条 */
.ticker {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  height: 34px;
  z-index: 55;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(255, 122, 60, 0.11);
  border-bottom: 1px solid var(--line-warm);
  backdrop-filter: blur(6px);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  padding-left: 20px;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--orange);
  animation: slide 30s linear infinite;
}
.ticker-track i { font-style: normal; color: var(--mint); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 左侧竖栏 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 22px;
  background: rgba(9, 12, 22, 0.92);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.rail-brand {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--text);
  padding: 16px 8px;
  min-height: 48px;
}
.rail-brand:hover { color: var(--orange); }

.burger {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  color: var(--mint);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}
body.menu-open .burger { color: var(--orange); border-color: var(--line-warm); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 全屏遮罩菜单 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-content: center;
  padding: 90px 7vw 70px calc(var(--rail) + 7vw);
  background: rgba(8, 11, 20, 0.95);
  backdrop-filter: blur(16px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.menu-open .drawer { visibility: visible; opacity: 1; }
.drawer nav p {
  margin: 0;
  display: flex;
  flex-direction: column;
  counter-reset: navc;
}
.drawer nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 8px;
  font-family: var(--font-head);
  font-size: clamp(16px, 2.3vw, 24px);
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px dashed rgba(223, 229, 240, 0.14);
  counter-increment: navc;
  transition: padding-left 0.2s ease, color 0.2s ease;
}
.drawer nav a::before {
  content: counter(navc, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-right: 16px;
}
.drawer nav a:hover,
.drawer nav a:focus-visible { color: var(--orange); padding-left: 16px; }

/* 开场层 */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4vw;
  padding: 116px 5vw 90px calc(var(--rail) + 5vw);
}
.hero.is-short { min-height: 64svh; }
.hero-sky {
  position: absolute;
  inset: -14% -6%;
  z-index: 0;
  will-change: transform;
  background:
    radial-gradient(52% 44% at 76% 26%, rgba(255, 122, 60, 0.26), transparent 70%),
    radial-gradient(46% 40% at 14% 74%, rgba(69, 224, 192, 0.22), transparent 72%),
    radial-gradient(circle, rgba(223, 229, 240, 0.11) 1.4px, transparent 1.5px) 0 0 / 26px 26px;
}
.hero-copy { position: relative; z-index: 2; will-change: transform; }
.hero-h1 {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 52px);
  color: #fff;
  text-shadow: 0 0 26px rgba(255, 122, 60, 0.35);
}
.hero-lead {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(17px, 1.9vw, 22px);
  color: var(--text);
}
.hero-frame { position: relative; z-index: 1; will-change: transform; }
.hero-frame img,
.hero-fallback {
  width: 100%;
  border: 1px solid var(--line-warm);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}
.hero-fallback {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle, rgba(69, 224, 192, 0.35) 1.5px, transparent 1.6px) 0 0 / 20px 20px,
    rgba(255, 255, 255, 0.04);
}

/* 正文区 */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 4vw 96px calc(var(--rail) + 4vw);
}

.railside {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}
.railside small {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 8px;
}
.railside h2 {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text);
}
.railside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.railside a {
  display: block;
  min-height: 40px;
  padding: 9px 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dim);
  border-bottom: 1px dashed rgba(223, 229, 240, 0.12);
}
.railside a:hover { color: var(--orange); }

.story {
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
}
.story > section {
  position: relative;
  margin: 0 0 30px;
  padding: 32px clamp(16px, 3vw, 34px) 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  scroll-margin-top: 130px;
}
.story > section::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 122, 60, 0.5);
  border-bottom: 2px solid rgba(255, 122, 60, 0.5);
}
body.js .story > section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.js .story > section.in { opacity: 1; transform: none; }

.story small {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--orange);
}
.story h2 {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.3vw, 24px);
  color: #fff;
}
.story h2 + * { margin-top: 0; }
.story h3 {
  margin: 26px 0 10px;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--mint);
}
.story p { margin: 0 0 16px; max-width: 70ch; }
.story ul, .story ol { margin: 0 0 16px; padding-left: 22px; }
.story li { margin-bottom: 8px; }
.story strong { color: #fff; }
.story a { border-bottom: 1px solid rgba(69, 224, 192, 0.45); }
.story blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: rgba(255, 122, 60, 0.09);
}
.story blockquote p:last-child { margin-bottom: 0; }
.story table { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 18px; }
.story th, .story td { border: 1px solid rgba(223, 229, 240, 0.16); padding: 8px 10px; text-align: left; }
.story th { background: rgba(69, 224, 192, 0.1); color: #fff; }
.story pre {
  overflow-x: auto;
  padding: 14px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  font-size: 16px;
}
.story code { font-family: 'VT323', ui-monospace, monospace; }

/* 页脚 */
.site-foot {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 60px 4vw 26px calc(var(--rail) + 4vw);
  background: linear-gradient(180deg, rgba(69, 224, 192, 0.08), transparent 48%);
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  max-width: 1080px;
}
.foot-cols address {
  font-style: normal;
  display: grid;
  gap: 10px;
}
.foot-brand {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--text);
  letter-spacing: 0.04em;
}
.foot-desc { font-size: 16px; line-height: 1.75; color: var(--dim); max-width: 34ch; }
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  align-content: start;
}
.foot-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--dim);
}
.foot-links a:hover { color: var(--orange); }

.foot-mega {
  margin: 46px 0 22px;
  font-family: var(--font-head);
  font-size: clamp(22px, 7vw, 84px);
  line-height: 1.24;
  letter-spacing: 0.02em;
  color: rgba(255, 122, 60, 0.16);
  -webkit-text-stroke: 1px rgba(255, 122, 60, 0.55);
  overflow-wrap: anywhere;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 16px;
  color: var(--dim);
}
.foot-base p { margin: 0; }
.foot-base a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  body.js .story > section { opacity: 1; transform: none; transition: none; }
  .drawer, .burger span { transition: none; }
}

@media (max-width: 860px) {
  .rail {
    inset: 0 0 auto 0;
    width: auto;
    height: 56px;
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rail-brand {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: 0.12em;
    padding: 10px 4px;
  }
  .ticker { top: 56px; left: 0; height: 32px; }
  .drawer { padding: 88px 20px 44px; }
  .drawer nav a { font-size: 17px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 108px 18px 54px;
    min-height: auto;
  }
  .hero.is-short { min-height: auto; }
  .hero-h1 { font-size: clamp(22px, 7vw, 34px); }

  .stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 16px 64px;
  }
  .railside { position: static; top: auto; }
  .railside ul { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .story > section { padding: 22px 16px 24px; scroll-margin-top: 108px; }

  .site-foot { padding: 44px 18px 22px; }
  .foot-cols { grid-template-columns: 1fr; gap: 26px; }
  .foot-mega { font-size: clamp(20px, 8.2vw, 38px); }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
