:root {
  --neon: #69ff69;
  --cyan: #00ffff;
  --ink: #172617;
  --bg: #080f09;
  --panel: #101c11;
  --fg: #e8ffe9;
  --line: rgba(105, 255, 105, 0.24);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d4e2d6 34%, #7e8f83 50%, #f0f7f1 63%, #9dafa1 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-left: 236px;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 620px at 80% 3%, rgba(0, 255, 255, 0.15), transparent 62%),
    radial-gradient(760px 540px at 10% 84%, rgba(105, 255, 105, 0.13), transparent 64%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: 'Outfit', 'Work Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 左侧固定竖排栏 ---------- */
.top {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 236px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, #162b16 0%, #0b150c 55%, #060d07 100%);
  box-shadow: inset -1px 0 0 var(--line), 8px 0 34px rgba(0, 0, 0, 0.55);
  z-index: 40;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -16px 8px;
  padding: 7px 16px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: linear-gradient(90deg, var(--neon), var(--cyan));
}

.ticker::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.6s ease-in-out infinite;
}

.ticker span {
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.brandrow {
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f2fff4;
  text-shadow: 0 0 16px rgba(105, 255, 105, 0.55);
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(105, 255, 105, 0.55), 0 0 18px rgba(0, 255, 255, 0.45);
}

.mark-dot {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #69ff69, #00ffff, #ffffff, #69ff69);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.65);
}

.vnav p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.vnav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #cfefd3;
  background: linear-gradient(90deg, rgba(105, 255, 105, 0.08), transparent 78%);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.vnav a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.vnav a:hover,
.vnav a:focus-visible {
  color: #05150a;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  transform: translateX(3px);
  box-shadow: 0 0 22px rgba(105, 255, 105, 0.45);
}

.vnav a:hover::before,
.vnav a:focus-visible::before {
  background: #05150a;
  box-shadow: none;
}

/* ---------- 主区：侧栏在左 ---------- */
.shell {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 38px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 34px 64px;
}

.side {
  align-self: start;
  position: sticky;
  top: 26px;
}

.side-h,
.bot-h {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.4;
}

h2 > span {
  display: inline-block;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.55));
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: inset 2px 0 0 rgba(105, 255, 105, 0.35);
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  font-size: 16px;
  color: #a9d7ad;
  transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}

.side-list a:hover,
.side-list a:focus-visible {
  color: var(--cyan);
  transform: translateX(2px);
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.7);
}

/* ---------- 正文 ---------- */
.body {
  min-width: 0;
  counter-reset: sec;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 30px;
  min-height: 70vh;
  padding: 46px 34px;
  background:
    linear-gradient(135deg, rgba(105, 255, 105, 0.16), rgba(0, 255, 255, 0.1) 52%, rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 0 0 1px rgba(105, 255, 105, 0.24);
}

.hero::before {
  content: "✦ ✦";
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 20px;
  letter-spacing: 14px;
  color: #ffffff;
  text-shadow: 0 0 14px var(--cyan), 0 0 30px var(--neon);
  pointer-events: none;
  animation: twinkle 3.6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.8), rgba(0, 255, 255, 0.28) 46%, transparent 72%);
  filter: blur(2px);
  opacity: 0.6;
  pointer-events: none;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.ghost {
  position: absolute;
  left: 14px;
  top: 6px;
  margin: 0;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.2;
  pointer-events: none;
}

.hero-txt {
  position: relative;
  z-index: 1;
}

.hero h1 {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #f4fff6;
  text-shadow: 0 0 18px rgba(105, 255, 105, 0.6), 0 0 52px rgba(0, 255, 255, 0.35);
}

.lead {
  margin: 0;
  max-width: 34em;
  color: #c9eacc;
  font-size: 17px;
}

.hero-fig {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px;
  background: linear-gradient(150deg, #e2f8e5, #90a998 40%, #ffffff 55%, #6f8a78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 28px rgba(0, 255, 255, 0.3);
}

.hero-fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.05);
  transition: transform 0.4s ease;
}

.hero-fig:hover img {
  transform: scale(1.02) rotate(-0.4deg);
}

.body > section[id] {
  position: relative;
  margin-top: 26px;
  padding: 30px 30px 34px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(105, 255, 105, 0.14);
  scroll-margin-top: 96px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.body > section[id]:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.3), 0 0 26px rgba(0, 255, 255, 0.14);
}

.body > section[id]::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  right: 14px;
  top: 6px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(105, 255, 105, 0.16);
  pointer-events: none;
}

.body h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.26;
  color: #effff1;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.35);
}

.body h3 {
  margin: 22px 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: #e4ffe8;
}

.body p {
  margin: 0 0 14px;
  color: #d0e9d3;
}

.body ul,
.body ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #d0e9d3;
}

.body li {
  margin: 0 0 8px;
}

.body li::marker {
  color: var(--neon);
}

.body strong {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(105, 255, 105, 0.55);
}

.body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.body a:hover {
  color: var(--neon);
}

.body blockquote {
  margin: 0 0 16px;
  padding: 12px 18px;
  background: rgba(0, 255, 255, 0.08);
  box-shadow: inset 3px 0 0 var(--cyan);
  color: #d8f2db;
}

.body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 16px;
}

.body th,
.body td {
  padding: 10px 12px;
  text-align: left;
  box-shadow: inset 0 -1px 0 rgba(105, 255, 105, 0.16);
}

.body th {
  color: #f2fff4;
  background: rgba(105, 255, 105, 0.1);
}

.body figure {
  margin: 0 0 18px;
}

.body figure img {
  display: block;
  width: 100%;
}

/* ---------- 页脚 ---------- */
.bot {
  padding: 44px 34px 26px;
  background: linear-gradient(180deg, #0c170d, #060d07);
  box-shadow: inset 0 1px 0 rgba(105, 255, 105, 0.22);
}

.bot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  max-width: 1200px;
  margin: 0 auto;
}

address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
}

.bot-brand strong {
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #f2fff4;
  text-shadow: 0 0 18px rgba(105, 255, 105, 0.5);
}

.bot-desc {
  max-width: 32em;
  color: #a8ccab;
  font-size: 16px;
}

.bot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.bot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  font-size: 16px;
  color: #bde3c0;
  background: linear-gradient(135deg, rgba(105, 255, 105, 0.1), rgba(0, 255, 255, 0.08));
  transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bot-links a:hover,
.bot-links a:focus-visible {
  color: #05150a;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.bot-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 26px auto 0;
  padding-top: 16px;
  font-size: 15px;
  color: #88ac8c;
  box-shadow: inset 0 1px 0 rgba(105, 255, 105, 0.18);
}

.bot-bar p {
  margin: 0;
}

.to-top a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--neon);
  box-shadow: inset 0 0 0 1px rgba(105, 255, 105, 0.4);
  transition: color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.to-top a:hover,
.to-top a:focus-visible {
  color: #05150a;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  box-shadow: 0 0 20px rgba(105, 255, 105, 0.55);
  transform: translateY(-2px);
}

/* ---------- 断点 ---------- */
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 960px) {
  body {
    padding-left: 0;
  }

  .top {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 0 14px 10px;
    overflow: visible;
    box-shadow: inset 0 -1px 0 rgba(105, 255, 105, 0.3), 0 10px 26px rgba(0, 0, 0, 0.5);
  }

  .ticker {
    flex: 1 0 100%;
    margin: 0 -14px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .brandrow {
    padding: 4px 0;
  }

  .brand {
    font-size: 17px;
  }

  .vnav {
    flex: 1 1 200px;
    min-width: 0;
  }

  .vnav p {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 4px;
  }

  .vnav a {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 15px;
  }

  .vnav a::before {
    display: none;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 16px 44px;
  }

  .side {
    position: static;
  }

  .side-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 12px;
    padding-left: 0;
    box-shadow: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 26px 20px;
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .ghost {
    font-size: clamp(30px, 10vw, 54px);
  }

  .body > section[id] {
    padding: 22px 18px 26px;
    scroll-margin-top: 156px;
  }

  .bot {
    padding: 32px 16px 24px;
  }

  .bot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .body > section[id]::before {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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