@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

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

:root {
  --ink: #192617;
  --deep: #0b130a;
  --neon: #87ff71;
  --cyan: #01cdfe;
  --pink: #ff71ce;
  --violet: #b967ff;
  --text: #e4ffdb;
  --dim: #a8c9a0;
  --line: rgba(135, 255, 113, .22);
  --r: 18px;
  --shell: 1180px;
}

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

body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Atkinson Hyperlegible', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(1, 205, 254, .18), transparent 62%),
    radial-gradient(900px 560px at -8% 6%, rgba(255, 113, 206, .12), transparent 58%),
    linear-gradient(180deg, #0b130a 0%, #192617 42%, #0b130a 100%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: multiply;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .24) 0 1px, transparent 1px 3px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--neon); }
p { margin: 0 0 14px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 10, .96), rgba(11, 19, 10, .78));
  backdrop-filter: blur(8px);
}

.topbar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.nav-l { justify-self: start; }
.nav-r { justify-self: end; }

.top nav ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.top nav a:hover,
.top nav a:focus-visible {
  background: var(--neon);
  color: var(--deep);
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #f2fff0;
  text-decoration: none;
  max-width: 100%;
}

.brand .mark {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--pink), var(--cyan) 55%, var(--neon));
  box-shadow: 0 0 14px rgba(1, 205, 254, .6);
}

.brand .bname { min-width: 0; }

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

.has-drop { position: relative; }

.top .drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11, 19, 10, .97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.top .drop ul {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.top .drop a { width: 100%; }

.find-li { display: flex; align-items: center; }

.find {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(1, 205, 254, .35);
  background: rgba(1, 205, 254, .09);
}

.find input {
  width: 104px;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.find input::placeholder { color: var(--dim); }
.find input:focus { outline: none; }

.find button {
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.find button:hover { background: var(--neon); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 46px 20px 26px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 38px;
  min-height: 70vh;
}

.hero-txt { position: relative; z-index: 2; text-align: left; min-width: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-size: 16px;
  letter-spacing: .16em;
  box-shadow: inset 0 0 16px rgba(135, 255, 113, .28);
}

.hero h1 {
  position: relative;
  margin: 16px 0 14px;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: #f4fff2;
  overflow-wrap: break-word;
  text-shadow:
    0 0 6px rgba(135, 255, 113, .55),
    0 0 28px rgba(1, 205, 254, .45),
    0 0 46px rgba(255, 113, 206, .26);
}

.hero h1::before,
.hero h1::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
  opacity: .72;
}

.hero h1::before {
  color: var(--cyan);
  clip-path: inset(0 0 60% 0);
  animation: gl1 5.6s steps(2, end) infinite;
}

.hero h1::after {
  color: var(--pink);
  clip-path: inset(56% 0 0 0);
  animation: gl2 4.4s steps(2, end) infinite;
}

@keyframes gl1 {
  0%, 92%, 100% { transform: translate(-2px, -2px); }
  94% { transform: translate(4px, -3px); }
  97% { transform: translate(-5px, 1px); }
}

@keyframes gl2 {
  0%, 90%, 100% { transform: translate(2px, 2px); }
  93% { transform: translate(-4px, 3px); }
  96% { transform: translate(5px, -1px); }
}

.lead { max-width: 46ch; color: var(--dim); font-size: 17px; margin: 0 0 22px; overflow-wrap: break-word; }

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--neon);
  color: var(--deep);
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(135, 255, 113, .45);
}

.go:hover { background: var(--cyan); color: var(--deep); box-shadow: 0 0 28px rgba(1, 205, 254, .55); }

.hero-art {
  position: relative;
  height: min(56vh, 450px);
  animation: hue 13s ease-in-out infinite;
}

@keyframes hue {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(26deg); }
}

.hero-art::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8%;
  height: 44%;
  background-image:
    linear-gradient(rgba(1, 205, 254, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 205, 254, .35) 1px, transparent 1px);
  background-size: 100% 20px, 44px 100%;
  transform: perspective(200px) rotateX(64deg);
  transform-origin: bottom center;
  opacity: .55;
}

.pane {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--pink), var(--violet) 46%, var(--cyan));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(135, 255, 113, .3);
}

.pane .shot,
.pane .ph { width: 100%; height: 100%; object-fit: cover; }

.pane .ph {
  display: block;
  background: linear-gradient(160deg, var(--pink), var(--violet) 46%, var(--cyan));
}

.pane .ph::after {
  content: "";
  display: block;
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(11, 19, 10, .4) 0 2px, transparent 2px 7px);
}

.pa { top: 3%; left: 3%; width: 64%; height: 68%; transform: rotate(-3deg); }
.pb { right: 3%; bottom: 2%; width: 54%; height: 50%; transform: rotate(2.5deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(1, 205, 254, .45); }

/* ---------- 主体骨架 ---------- */
.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 20px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 44px;
  align-items: start;
}

.main-col { min-width: 0; }

.prose { max-width: 74ch; font-size: 17px; }

.prose > article {
  padding: 32px 0;
  border-top: 1px solid rgba(135, 255, 113, .16);
  scroll-margin-top: 112px;
}

.prose > article:first-child { border-top: 0; padding-top: 0; }

.prose > article.rv { opacity: 0; transform: translateY(16px); }
.prose > article.rv.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

.prose h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.24;
  color: var(--neon);
  overflow-wrap: break-word;
  text-shadow: 0 0 20px rgba(135, 255, 113, .3);
}

.prose h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.prose h3 { margin: 22px 0 10px; font-size: 1.15rem; color: var(--cyan); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose strong { color: #f6fff4; }
.prose img { border-radius: var(--r); }

.prose blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--pink);
  border-radius: 0 12px 12px 0;
  background: rgba(1, 205, 254, .08);
}

.prose table { width: 100%; border-collapse: collapse; }

/* ---------- 侧栏 ---------- */
.side {
  position: sticky;
  top: 104px;
  align-self: start;
  min-width: 0;
}

.side-in {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid rgba(1, 205, 254, .32);
  background: linear-gradient(180deg, rgba(1, 205, 254, .13), rgba(25, 38, 23, .94));
}

.side h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  letter-spacing: .05em;
  color: var(--cyan);
}

.subtitle { margin: 0 0 14px; font-size: 16px; color: var(--dim); }

.jump { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }

.jump a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border-left: 2px solid rgba(135, 255, 113, .32);
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}

.jump a:hover,
.jump a[aria-current] {
  background: var(--neon);
  color: var(--deep);
  border-left-color: var(--pink);
}

/* ---------- 页脚 ---------- */
.foot {
  max-width: var(--shell);
  margin: 56px auto 0;
  padding: 38px 20px 26px;
  display: grid;
  grid-template-columns: 1.5fr 1.1fr .8fr .9fr;
  gap: 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(1, 205, 254, .07), transparent 68%);
}

.f-brand { min-width: 0; }

.f-brand a {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.01em;
  word-break: break-word;
  text-decoration: none;
  background: linear-gradient(92deg, var(--neon), var(--cyan) 46%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.f-nav { min-width: 0; }

.f-nav ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 0; }

.f-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--dim);
  font-size: 16px;
  text-decoration: none;
}

.f-nav a:hover { background: rgba(135, 255, 113, .14); color: var(--neon); }

.f-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}

.f-note a:hover { border-color: var(--neon); color: var(--neon); }

.f-legal p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.6; }

/* ---------- 断点 ---------- */
@media (max-width: 1120px) {
  .top nav a { padding: 0 8px; }
  .find input { width: 74px; }
  .wrap { gap: 30px; }
}

@media (max-width: 900px) {
  .top { position: static; }
  .topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    padding: 10px 14px;
  }
  .brand { order: -1; flex: 0 0 100%; justify-content: center; }
  .top nav { max-width: 100%; }
  .top nav ol { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .has-drop { position: static; }
  .top .drop { display: none; }
  .find { margin: 2px 0 0; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
    padding: 26px 16px 18px;
  }
  .hero-art { height: 220px; margin: 0 2px; }
  .hero-art::before { left: 0; right: 0; bottom: -6%; }
  .pa { left: 0; }
  .pb { right: 0; }

  .wrap { grid-template-columns: 1fr; gap: 0; padding: 0 16px 56px; }
  .side { position: static; margin: 0 0 30px; }
  .prose > article { scroll-margin-top: 14px; }

  .foot { grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 16px 24px; }
  .f-brand { grid-column: 1 / -1; }
  .f-legal { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-art { height: 200px; }
  .find input { width: 58px; }
  .foot { grid-template-columns: 1fr; }
  .f-nav ol { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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