@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: #eafff3;
  font: 400 17px/1.65 Raleway, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

a { color: #00ff80; text-decoration: none; }

h1, h2, h3 { font-family: Lora, Georgia, serif; font-weight: 700; }

:focus-visible { outline: 3px solid #0000ff; outline-offset: 2px; }

/* ---------- 顶栏 ---------- */
.top {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: #000;
  border-bottom: 3px solid #00ff80;
}

.mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  background: #00ff80;
  color: #000;
  font: 700 20px/1 Lora, serif;
  border: 3px solid #00ff80;
}

.mark:hover { background: #000; color: #00ff80; }

.inline-nav { display: none; }

.inline-nav p { margin: 0; display: flex; flex-wrap: wrap; }

.inline-nav a {
  display: inline-block;
  padding: 12px 9px;
  color: #eafff3;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.inline-nav a:hover { color: #00ff80; border-bottom-color: #0000ff; }

.top-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: #00ff80;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  border: 3px solid #00ff80;
}

.cta:hover { background: #000; color: #00ff80; }

.burger {
  min-width: 46px;
  min-height: 44px;
  padding: 0 10px;
  background: #000;
  color: #00ff80;
  border: 3px solid #00ff80;
  font: 700 16px/1 Raleway, sans-serif;
  cursor: pointer;
}

.burger:hover { background: #00ff80; color: #000; }

/* ---------- 粘性锚点条 ---------- */
.rail {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0000ff;
  border-bottom: 3px solid #00ff80;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.rail p { margin: 0; display: flex; white-space: nowrap; }

.rail a {
  display: inline-block;
  padding: 12px 13px;
  min-height: 44px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.rail a:hover { background: #00ff80; color: #000; }

/* ---------- 全屏菜单 ---------- */
.menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 72px 22px 40px;
  background: #000;
  border: 6px solid #00ff80;
  overflow-y: auto;
}

.menu.open { display: block; }

.menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 44px;
  padding: 0 14px;
  background: #00ff80;
  color: #000;
  border: 3px solid #00ff80;
  font: 700 16px/1 Raleway, sans-serif;
  cursor: pointer;
}

.menu-close:hover { background: #000; color: #00ff80; }

.menu p { margin: 0; display: flex; flex-direction: column; }

.menu a {
  display: block;
  padding: 15px 0;
  min-height: 48px;
  font: 700 clamp(20px, 5vw, 28px)/1.2 Lora, serif;
  color: #00ff80;
  border-bottom: 2px solid #0000ff;
}

.menu a:hover { background: #00ff80; color: #000; padding-left: 8px; }

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 3px solid #0000ff;
}

.shot {
  position: relative;
  margin: 0;
  min-height: 32vh;
  background: #080808;
  border-bottom: 3px solid #0000ff;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 32vh;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.08);
}

.badge {
  position: absolute;
  left: 14px;
  bottom: 16px;
  transform: rotate(-3deg);
  padding: 8px 12px;
  background: #00ff80;
  color: #000;
  border: 3px solid #000;
  font: 700 14px/1 Raleway, sans-serif;
  letter-spacing: .06em;
}

.hero-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 18px 34px;
}

.hero-txt h1 {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.01em;
}

.lede {
  margin: 0;
  max-width: 48ch;
  color: #b8e6cd;
}

.jump {
  display: inline-block;
  min-height: 44px;
  padding: 11px 16px;
  border: 3px solid #00ff80;
  font-weight: 700;
}

.jump:hover { background: #00ff80; color: #000; }

/* ---------- 主体 ---------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.stream {
  min-width: 0;
  padding: 6px 18px 38px;
}

.stream article {
  padding: 26px 0;
  border-bottom: 2px dashed rgba(0, 255, 128, .3);
  scroll-margin-top: 72px;
}

.stream article:last-child { border-bottom: 0; }

.stream h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 4.5vw, 1.95rem);
  line-height: 1.15;
  color: #00ff80;
  border-left: 6px solid #0000ff;
  padding-left: 12px;
}

.stream h3 {
  margin: 22px 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
  color: #eafff3;
}

.stream p { margin: 0 0 14px; max-width: 70ch; }

.stream ul,
.stream ol { padding-left: 22px; }

.stream li { margin-bottom: 8px; }

.stream a {
  color: #00ff80;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stream a:hover { background: #00ff80; color: #000; text-decoration: none; }

.stream blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 6px solid #0000ff;
  background: #070707;
}

.stream blockquote p:last-child { margin-bottom: 0; }

.stream figure { margin: 20px 0; }

.stream img { border: 3px solid #0000ff; }

.stream table { width: 100%; border-collapse: collapse; font-size: 16px; }

.stream th,
.stream td {
  border: 2px solid rgba(0, 255, 128, .45);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.stream th { background: #0000ff; color: #fff; }

/* ---------- 侧栏 ---------- */
.side {
  padding: 22px 18px 30px;
  border-top: 3px solid #00ff80;
  background: #040404;
}

.kick {
  display: inline-block;
  padding: 5px 9px;
  background: #0000ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

.side h2 {
  margin: 10px 0 14px;
  font-size: 1.3rem;
  color: #00ff80;
}

.side ol { margin: 0; padding: 0; list-style: none; }

.side li { border-top: 2px solid rgba(0, 255, 128, .25); }

.side a {
  display: block;
  padding: 11px 0;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: #eafff3;
}

.side a:hover { background: #00ff80; color: #000; padding-left: 6px; }

/* ---------- 页脚 ---------- */
.bottom { border-top: 4px solid #00ff80; }

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 18px;
  background: #050505;
  border-bottom: 3px solid #0000ff;
}

.big {
  margin: 0;
  font: 700 clamp(1.7rem, 7vw, 2.6rem)/1 Lora, serif;
  color: #00ff80;
}

.big-cta { font-size: 18px; padding: 13px 22px; }

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px;
}

.foot-row nav { order: 3; width: 100%; }

.foot-row nav p { margin: 0; display: flex; flex-wrap: wrap; }

.foot-row nav a {
  display: inline-block;
  padding: 11px 7px;
  min-height: 44px;
  font-size: 16px;
  color: #eafff3;
}

.foot-row nav a:hover { background: #00ff80; color: #000; }

.copy {
  margin: 0 auto;
  font-size: 16px;
  color: #9fd8bb;
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid #00ff80;
  font-weight: 700;
}

.to-top:hover { background: #00ff80; color: #000; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 断点 ---------- */
@media (min-width: 860px) {
  .inline-nav { display: block; margin-left: 8px; }

  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
  }

  .shot { border-bottom: 0; border-right: 3px solid #0000ff; min-height: 0; }
  .shot img { min-height: 0; height: 100%; }

  .hero-txt {
    align-items: flex-end;
    text-align: right;
    justify-content: center;
    padding: clamp(28px, 5vw, 56px);
  }

  .lede { margin-left: auto; }

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

  .stream { padding: 10px 30px 48px; }

  .side {
    position: sticky;
    top: 52px;
    align-self: start;
    border-top: 0;
    border-left: 3px solid #00ff80;
    padding: 26px 18px;
  }

  .foot-row nav { order: 0; width: auto; margin-left: auto; }
  .foot-row { padding: 14px 18px; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .top { padding: 10px 22px; }
}

@media (max-width: 420px) {
  .inline-nav { display: none; }
  .top-end .cta { padding: 10px 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

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