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

/* ===== 变量与重置 ===== */
:root {
  --green: #87ff71;
  --blue: #01cdfe;
  --dark: #192617;
  --dark2: #0f1a0d;
  --dark3: #1e3018;
  --pink: #ff71ce;
  --purple: #b967ff;
  --text: #d4f5ca;
  --text-dim: #7fad72;
  --border: rgba(135,255,113,0.18);
  --bar-h: 60px;
  --radius: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --glow-green: 0 0 8px #87ff71, 0 0 20px #87ff7155;
  --glow-blue: 0 0 8px #01cdfe, 0 0 20px #01cdfe55;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark2);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ===== 扫描线纹理 ===== */
.hero__scanlines,
.story-hero__scanlines,
.section-header__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  z-index: 2;
}

/* ===== 网格底纹 ===== */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(135,255,113,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135,255,113,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(600px) rotateX(30deg);
  transform-origin: bottom;
  opacity: 0.6;
}

/* ===== Glitch 动画 ===== */
@keyframes glitch1 {
  0%,100% { clip-path: inset(0 0 95% 0); transform: translate(-3px,0); }
  50% { clip-path: inset(40% 0 40% 0); transform: translate(3px,0); }
}
@keyframes glitch2 {
  0%,100% { clip-path: inset(60% 0 10% 0); transform: translate(2px,0); color: var(--blue); }
  50% { clip-path: inset(10% 0 70% 0); transform: translate(-2px,0); color: var(--pink); }
}
@keyframes hueRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
@keyframes scanIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: var(--glow-green); }
  50% { box-shadow: 0 0 16px #87ff71, 0 0 40px #87ff7188; }
}

.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  opacity: 0.7;
}
.glitch::before {
  animation: glitch1 3s infinite steps(1);
  color: var(--pink);
}
.glitch::after {
  animation: glitch2 2.5s infinite steps(1) 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { display: none; }
  * { animation: none !important; transition: none !important; }
}

/* ===== 遮罩菜单 ===== */
.overlay-menu {
  position: fixed;
  inset: 0;
  background: rgba(15,26,13,0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 2rem;
}
.overlay-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.overlay-menu__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--green);
  font-size: 1.8rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color .2s, border-color .2s;
}
.overlay-menu__close:hover { color: var(--blue); border-color: var(--blue); }

.overlay-menu__search {
  width: 100%;
  max-width: 480px;
  display: flex;
  gap: .5rem;
}
.overlay-menu__input {
  flex: 1;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .7rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  min-height: 44px;
}
.overlay-menu__input:focus { outline: none; border-color: var(--green); box-shadow: var(--glow-green); }
.overlay-menu__submit {
  background: var(--green);
  color: var(--dark2);
  font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  min-height: 44px;
  font-size: .95rem;
  transition: background .2s;
}
.overlay-menu__submit:hover { background: var(--blue); }

.overlay-menu__aside { width: 100%; max-width: 480px; }
.overlay-menu__nav ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.overlay-nav__link {
  display: block;
  padding: .9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
  min-height: 44px;
  line-height: 1.2;
}
.overlay-nav__link:hover {
  background: var(--dark3);
  color: var(--green);
  border-color: var(--green);
  text-shadow: var(--glow-green);
}

/* ===== 底部固定导航条 ===== */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: rgba(15,26,13,0.96);
  border-top: 1px solid var(--border);
  z-index: 900;
  backdrop-filter: blur(8px);
}
.bottom-bar__nav ul {
  display: flex;
  height: 100%;
}
.bottom-bar__nav li {
  flex: 1;
}
.bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 44px;
  color: var(--text-dim);
  font-size: .7rem;
  font-weight: 600;
  gap: 2px;
  transition: color .2s;
  padding: 6px 0;
}
.bottom-bar__item:hover,
.bottom-bar__item:focus { color: var(--green); }
.bar-icon { font-size: 1.2rem; line-height: 1; }
.bar-label { font-size: .65rem; letter-spacing: .04em; }

/* ===== 按钮 ===== */
.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.8rem;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius);
  letter-spacing: .06em;
  text-shadow: var(--glow-green);
  box-shadow: var(--glow-green);
  transition: background .2s, color .2s, box-shadow .2s;
  min-height: 44px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-neon:hover {
  background: var(--green);
  color: var(--dark2);
  text-shadow: none;
}
.btn-neon--sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.4rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: var(--radius);
  font-size: .9rem;
  min-height: 44px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ===== 通用包裹 ===== */
.site-wrap { padding-bottom: var(--bar-h); }
.main-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.2rem;
}

/* ===== content-section 两栏（正文+侧边）===== */
.content-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}
.content-side {
  position: sticky;
  top: 1rem;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.content-figure {
  min-width: 0;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.side-title {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0;
}
.subtitle {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: .4rem;
  line-height: 1.5;
}
.side-nav-list { display: flex; flex-direction: column; gap: .3rem; }
.side-nav-list a {
  display: block;
  padding: .45rem .6rem;
  border-radius: 6px;
  font-size: .88rem;
  color: var(--text);
  transition: background .15s, color .15s;
  min-height: 40px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.side-nav-list a:hover { background: rgba(135,255,113,0.08); color: var(--green); }

.side-tags { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .8rem;
  border: 1px solid var(--blue);
  border-radius: 20px;
  font-size: .8rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
  min-height: 32px;
  margin-right: .4rem;
  margin-bottom: .3rem;
}
.tag-badge:hover { background: var(--blue); color: var(--dark2); }

.side-notice {
  margin-top: .8rem;
  padding: .8rem;
  border: 1px solid rgba(255,113,206,0.25);
  border-radius: 8px;
  background: rgba(255,113,206,0.05);
}

/* ===== 正文内容 ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.page-content h2 { color: var(--green); font-size: 1.3rem; margin: 1.6rem 0 .6rem; font-weight: 800; }
.page-content h3 { color: var(--blue); font-size: 1.1rem; margin: 1.2rem 0 .5rem; font-weight: 700; }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: .4rem; }
.page-content a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(135,255,113,0.4); }
.page-content a:hover { color: var(--blue); }
.page-content strong { color: var(--green); font-weight: 700; }

/* ===== 首页 Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark2);
}
.hero__collage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.4) hue-rotate(10deg);
}
.hero-img--left { left: 0; clip-path: polygon(0 0, 90% 0, 70% 100%, 0 100%); }
.hero-img--right { right: 0; clip-path: polygon(30% 0, 100% 0, 100% 100%, 10% 100%); animation: hueRotate 12s linear infinite; }
.hero__center {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: scanIn 1s ease both;
}
.hero__h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--green);
  text-shadow: var(--glow-green);
  letter-spacing: .04em;
  line-height: 1.1;
}
.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--blue);
  max-width: 520px;
  text-shadow: var(--glow-blue);
}

/* ===== 区块标题 ===== */
.block-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .06em;
  margin-bottom: .3rem;
  text-shadow: 0 0 12px rgba(135,255,113,0.3);
}

/* ===== 分类卡片 ===== */
.sections-block, .latest-block, .list-section, .about-stats {
  margin-bottom: 3rem;
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.sec-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--green);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.sec-card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--blue);
  box-shadow: 0 8px 24px rgba(1,205,254,0.15);
}
.sec-card__link {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.4rem;
  color: var(--text);
  height: 100%;
}
.sec-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .02em;
}
.sec-card__desc { font-size: .88rem; color: var(--text-dim); flex: 1; }
.sec-card__count { font-size: .78rem; color: var(--blue); font-weight: 700; }
.sec-card__arrow { font-size: 1.1rem; color: var(--green); align-self: flex-end; transition: transform .2s; }
.sec-card:hover .sec-card__arrow { transform: translateX(4px); }

/* ===== 文章卡片 ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.story-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}
.story-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(135,255,113,0.12);
}
.story-card--list {
  flex-direction: row;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-bottom-width: 1px;
}
.card__fig { overflow: hidden; flex-shrink: 0; }
.card__thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .3s, filter .3s;
}
.story-card:hover .card__thumb { transform: scale(1.04); filter: saturate(1.3); }
.story-card--list .card__fig { width: 140px; }
.story-card--list .card__thumb { height: 100%; min-height: 100px; }
.card__body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__meta { display: flex; gap: .8rem; flex-wrap: wrap; }
.card__date, time { font-size: .78rem; color: var(--text-dim); }
.card__title { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.card__title a { color: var(--text); transition: color .2s; }
.card__title a:hover { color: var(--green); }
.card__desc { font-size: .86rem; color: var(--text-dim); line-height: 1.6; flex: 1; }
.card__read {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: .3rem;
  transition: color .2s;
}
.card__read:hover { color: var(--green); }

/* ===== 故事页 Hero ===== */
.story-hero {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}
.story-hero__inner { position: relative; width: 100%; height: 100%; }
.story-hero__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) brightness(0.7); }

/* ===== 故事页内容 ===== */
.story-header { margin-bottom: 1.8rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.story-breadcrumb { font-size: .82rem; color: var(--text-dim); margin-bottom: .8rem; }
.story-breadcrumb a { color: var(--text-dim); }
.story-breadcrumb a:hover { color: var(--green); }
.story-h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: .7rem;
  text-shadow: 0 0 16px rgba(135,255,113,0.25);
}
.story-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.story-meta__date { font-size: .85rem; color: var(--blue); }
.story-meta__mod { font-size: .85rem; color: var(--text-dim); }
.story-footer-nav { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; align-items: center; }

/* ===== 栏目页头部 ===== */
.section-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 60%, rgba(135,255,113,0.05) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
}
.section-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-header__eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-header__h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: .8rem;
  line-height: 1.15;
}
.section-header__desc {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 1rem;
}
.back-link { font-size: .88rem; color: var(--text-dim); transition: color .2s; }
.back-link:hover { color: var(--green); }

/* ===== 标签/内页头部 ===== */
.tag-header, .inner-header {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2.5rem;
}
.tag-header__inner, .inner-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.tag-header__eyebrow, .inner-header__eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.tag-header__h1, .inner-header__h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: .6rem;
}
.tag-header__desc { font-size: .95rem; color: var(--text-dim); }
.inner-header__date { font-size: .85rem; color: var(--text-dim); margin-top: .5rem; }

/* ===== 关于页统计 ===== */
.stats-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 120px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  text-shadow: var(--glow-green);
  line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--text-dim); font-weight: 600; letter-spacing: .06em; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: .7rem; }
.footer__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .04em;
  text-shadow: var(--glow-green);
}
.footer__brand p { font-size: .88rem; color: var(--text-dim); line-height: 1.6; }
.footer__links h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: .8rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: .4rem; }
.footer__links a { font-size: .88rem; color: var(--text-dim); transition: color .2s; }
.footer__links a:hover { color: var(--green); }

.footer__contact {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.footer__contact h3 {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.footer__form { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer__input {
  flex: 1;
  min-width: 200px;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font);
  min-height: 44px;
}
.footer__input:focus { outline: none; border-color: var(--green); box-shadow: var(--glow-green); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.footer__copy { font-size: .8rem; color: var(--text-dim); }
.footer__legal { display: flex; gap: 1rem; }
.footer__legal a { font-size: .8rem; color: var(--text-dim); transition: color .2s; }
.footer__legal a:hover { color: var(--green); }

/* ===== 空提示 ===== */
.empty-tip {
  padding: 2rem;
  color: var(--text-dim);
  font-size: .9rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== 动画入场（stagger） ===== */
.sec-grid li, .story-grid li, .story-list li {
  animation: staggerIn .5s ease both;
}
.sec-grid li:nth-child(1), .story-grid li:nth-child(1), .story-list li:nth-child(1) { animation-delay: .05s; }
.sec-grid li:nth-child(2), .story-grid li:nth-child(2), .story-list li:nth-child(2) { animation-delay: .1s; }
.sec-grid li:nth-child(3), .story-grid li:nth-child(3), .story-list li:nth-child(3) { animation-delay: .15s; }
.sec-grid li:nth-child(4), .story-grid li:nth-child(4), .story-list li:nth-child(4) { animation-delay: .2s; }
.sec-grid li:nth-child(5), .story-grid li:nth-child(5), .story-list li:nth-child(5) { animation-delay: .25s; }
.sec-grid li:nth-child(6), .story-grid li:nth-child(6), .story-list li:nth-child(6) { animation-delay: .3s; }

/* ===== 移动端断点 ===== */
@media (max-width: 768px) {
  .content-section {
    grid-template-columns: 1fr;
  }
  .content-side {
    position: static;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-card--list {
    flex-direction: column;
  }
  .story-card--list .card__fig { width: 100%; }
  .story-card--list .card__thumb { height: 180px; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .hero__h1 { font-size: 1.8rem; }
  .stats-row { gap: .8rem; }
}

@media (max-width: 480px) {
  .sec-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .hero-img--left, .hero-img--right { width: 60%; }
  .section-header { padding: 3rem 1rem 2rem; }
  .tag-header, .inner-header { padding: 2.5rem 1rem 2rem; }
  .content-figure { padding: 1.2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--dark3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(135,255,113,0.3); }

/* ===== 选中高亮 ===== */
::selection { background: rgba(135,255,113,0.25); color: var(--green); }
