/* ===== 字体 ===== */
/* 通过 head.js 的 Google Fonts 引入，此处不重复 @import */

/* ===== CSS 自定义属性 ===== */
:root {
  --c-primary: #99ffcc;
  --c-accent: #00ff41;
  --c-dark: #001e3c;
  --c-dark2: #002a54;
  --c-dark3: #003366;
  --c-text: #d4f5e9;
  --c-text-muted: #7ab8a0;
  --c-border: rgba(153, 255, 204, 0.18);
  --c-glass-bg: rgba(0, 30, 60, 0.65);
  --c-glass-border: rgba(153, 255, 204, 0.25);
  --font-hand: 'Caveat', cursive;
  --font-body: 'Quicksand', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
  --nav-h: 48px;
  --brand-h: 56px;
  --transition: 0.25s ease;
  --shadow-glow: 0 0 20px rgba(0, 255, 65, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--c-dark);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== 细胞纹底纹（有机生物态） ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80px 60px at 15% 20%, rgba(0,255,65,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 120px 80px at 75% 60%, rgba(153,255,204,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60px 90px at 45% 85%, rgba(0,255,65,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 100px 50px at 85% 15%, rgba(153,255,204,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: cellPulse 8s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 10% 10%, rgba(153,255,204,0.15) 0%, transparent 2px),
    radial-gradient(circle 1px at 30% 40%, rgba(0,255,65,0.12) 0%, transparent 2px),
    radial-gradient(circle 1px at 60% 25%, rgba(153,255,204,0.1) 0%, transparent 2px),
    radial-gradient(circle 1px at 80% 70%, rgba(0,255,65,0.12) 0%, transparent 2px),
    radial-gradient(circle 1px at 50% 85%, rgba(153,255,204,0.1) 0%, transparent 2px),
    radial-gradient(circle 1px at 90% 35%, rgba(0,255,65,0.08) 0%, transparent 2px);
  pointer-events: none;
  z-index: 0;
}
@keyframes cellPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* ===== 通用元素 ===== */
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-hand); line-height: 1.3; color: var(--c-primary); }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; color: var(--c-primary); }
p { margin-bottom: 1em; }
time { font-size: 0.82rem; color: var(--c-text-muted); }
small { font-size: 0.78rem; color: var(--c-text-muted); }

/* ===== 眉题 small.eyebrow ===== */
small.eyebrow {
  display: block;
  font-family: var(--font-hand);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: none;
  margin-bottom: 0.3em;
}

/* ===== 站点头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 20, 45, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-glow);
}

/* 品牌行 */
.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: var(--brand-h);
  border-bottom: 1px solid var(--c-border);
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-primary);
  text-decoration: none;
}
.brand-logo {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.brand-name {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(153,255,204,0.4);
}

/* 搜索框 */
.header-search {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.header-search input {
  background: rgba(153,255,204,0.07);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
  outline: none;
  width: 180px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 8px rgba(0,255,65,0.2);
}
.header-search input::placeholder { color: var(--c-text-muted); }
.header-search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--c-primary);
  padding: 0.35rem 0.5rem;
  min-height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.header-search button:hover { color: var(--c-accent); }

/* 导航菜单行 */
nav[aria-label="主导航"] {
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
nav[aria-label="主导航"] > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}
nav[aria-label="主导航"] > ol > li > a {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  min-height: 40px;
  padding: 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
nav[aria-label="主导航"] > ol > li > a:hover,
nav[aria-label="主导航"] > ol > li > a.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-accent);
}

/* 面包屑 */
.breadcrumb { margin-bottom: 1.2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.breadcrumb ol li { font-size: 0.82rem; color: var(--c-text-muted); }
.breadcrumb ol li:not(:last-child)::after { content: '›'; margin-left: 0.3rem; color: var(--c-accent); }
.breadcrumb ol li a { color: var(--c-text-muted); }
.breadcrumb ol li a:hover { color: var(--c-primary); }

/* ===== 主体布局 ===== */
main { position: relative; z-index: 1; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.wrap-home {
  grid-template-columns: 1fr 280px;
}

/* 正文区全宽（aside 存在时右侧） */
.wrap > article {
  min-width: 0;
}
.wrap > article:first-child {
  grid-column: 1 / 2;
}
.wrap > article + article {
  grid-column: 1 / 2;
}
/* aside 放右列 */
.wrap > aside {
  grid-column: 2 / 3;
  grid-row: 1 / 99;
}

/* ===== 页面头部 ===== */
.page-header {
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}
.page-header h1 {
  margin-bottom: 0.4rem;
}
.date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.pub-date, .mod-date {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-family: var(--font-body);
}

/* ===== 正文 ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}
.page-content h2 { margin: 1.8em 0 0.6em; color: var(--c-primary); }
.page-content h3 { margin: 1.4em 0 0.5em; color: var(--c-primary); }
.page-content p { margin-bottom: 1em; }
.page-content ul, .page-content ol { margin: 0.8em 0 1em 1.2em; }
.page-content li { margin-bottom: 0.4em; }
.page-content a { color: var(--c-primary); border-bottom: 1px solid rgba(153,255,204,0.3); }
.page-content a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.page-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  background: rgba(153,255,204,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.9rem;
}
.page-content th, .page-content td {
  border: 1px solid var(--c-border);
  padding: 0.5rem 0.8rem;
  text-align: left;
}
.page-content th { background: rgba(153,255,204,0.1); color: var(--c-primary); }

/* ===== 玻璃拟态卡片 ===== */
.glass-card {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 16px rgba(0,255,65,0.12);
  border-color: rgba(0,255,65,0.35);
}
.glass-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-body {
  padding: 1rem;
}
.card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--c-primary);
}
.card-body p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.5;
}
.card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0;
}

/* ===== 首页 Hero ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 45vh;
  padding: 2rem 0;
  position: relative;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-glass-border);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, rgba(0,255,65,0.08) 0%, rgba(153,255,204,0.05) 50%, rgba(0,30,60,0.8) 100%);
  border-radius: var(--radius-lg);
}
/* 点阵底纹 */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle 1.5px at center, rgba(153,255,204,0.3) 0%, transparent 2px);
  background-size: 24px 24px;
  pointer-events: none;
  border-radius: var(--radius-lg);
  opacity: 0.5;
}
.hero-text {
  text-align: right;
  padding-right: 0.5rem;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(153,255,204,0.4);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { text-shadow: 0 0 20px rgba(153,255,204,0.4); }
  50%       { text-shadow: 0 0 35px rgba(153,255,204,0.7), 0 0 60px rgba(0,255,65,0.3); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text h1 { animation: none; }
}
.hero-desc {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  line-height: 1.7;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.6rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition);
  min-height: 40px;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  color: var(--c-dark);
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 16px rgba(0,255,65,0.5);
  transform: translateY(-1px);
  color: var(--c-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
}
.btn-secondary:hover {
  background: rgba(153,255,204,0.1);
  color: var(--c-accent);
  border-color: var(--c-accent);
}

/* ===== 首页 article 卡片网格 ===== */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.section-categories { margin-top: 2rem; }

/* ===== 首页最新列表 ===== */
.section-latest { margin-top: 1.5rem; }
.story-list { display: flex; flex-direction: column; gap: 0.5rem; }
.story-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: var(--c-text);
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition);
}
.story-item a:hover {
  background: rgba(153,255,204,0.06);
  border-color: var(--c-border);
  color: var(--c-primary);
}
.story-title { flex: 1; margin-right: 1rem; }
.story-item small { flex-shrink: 0; }

/* ===== 标签云 ===== */
.tag-cloud { margin-top: 2rem; }
.tags-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0,255,65,0.08);
  border: 1px solid rgba(0,255,65,0.25);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--c-accent);
  transition: all var(--transition);
  min-height: 32px;
  line-height: 1.6;
}
.tag-pill:hover {
  background: rgba(0,255,65,0.18);
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* ===== 侧边栏 aside ===== */
.side-panel {
  background: var(--c-glass-bg);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.side-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-primary);
}
.aside-links { display: flex; flex-direction: column; gap: 0.3rem; }
.aside-links li a {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  min-height: 36px;
  line-height: 1.8;
}
.aside-links li a:hover { color: var(--c-primary); background: rgba(153,255,204,0.06); }
.aside-extra { margin-top: 1.2rem; }
.aside-stories { display: flex; flex-direction: column; gap: 0.5rem; }
.aside-stories li {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(153,255,204,0.08);
}
.aside-stories li:last-child { border-bottom: none; }
.aside-stories li a { display: block; font-size: 0.88rem; color: var(--c-text); line-height: 1.5; }
.aside-stories li a:hover { color: var(--c-primary); }
.aside-stories small { display: block; font-size: 0.75rem; margin-top: 0.15rem; }
.tag-aside .tag-pill { font-size: 0.78rem; padding: 0.2rem 0.6rem; }

/* ===== 栏目页子列表 ===== */
.child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.child-card .card-body h3 { font-size: 0.95rem; }
.child-img { width: 100%; height: 120px; object-fit: cover; }
.empty-note { color: var(--c-text-muted); font-size: 0.9rem; padding: 1rem; }

/* ===== 文章页 ===== */
.story-header { margin-bottom: 1.5rem; }
.story-figure { margin: 1.5rem 0; border-radius: var(--radius-lg); overflow: hidden; }
.story-hero-img { width: 100%; max-height: 360px; object-fit: cover; }
.story-body { max-width: 72ch; }

/* ===== 标签页 ===== */
.tag-story-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.tag-story-card > a {
  display: block;
  padding: 1rem;
  color: var(--c-text);
}
.tag-story-card .card-title {
  display: block;
  font-size: 0.95rem;
  color: var(--c-primary);
  margin-bottom: 0.3rem;
  font-family: var(--font-hand);
}
.tag-story-card small {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.tag-desc { max-width: 72ch; }

/* ===== 关于页 ===== */
.about-header { text-align: left; }
.about-content { max-width: 72ch; }
.about-links-block { margin-top: 2.5rem; }
.about-nav-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; }
.about-nav-list > li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: rgba(153,255,204,0.03);
  transition: background var(--transition);
}
.about-nav-list > li:hover { background: rgba(153,255,204,0.07); }
.about-nav-list > li > a {
  font-size: 0.95rem;
  color: var(--c-primary);
  font-weight: 500;
  flex-shrink: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.about-nav-list > li > small { font-size: 0.82rem; color: var(--c-text-muted); }

/* ===== 隐私页 ===== */
.privacy-content { max-width: 72ch; }
.privacy-content h2 { margin: 1.8em 0 0.6em; }

/* ===== 首页 home intro ===== */
.home-intro { max-width: 72ch; margin: 1.5rem 0; }
.section-hero { grid-column: 1 / 2; }

/* ===== 页脚 ===== */
footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--c-border);
}
footer > article { }
.footer-col h4 {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--c-primary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--c-border);
}
.footer-col p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  display: block;
  min-height: 40px;
  line-height: 2.5;
}
.footer-col ul li a:hover { color: var(--c-primary); }
.footer-legal { text-align: center; }
.copyright {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 0.4rem;
}
.adult-notice {
  font-size: 0.78rem;
  color: rgba(153,255,204,0.4);
  margin-top: 0.4rem;
}

/* ===== 视差滚动效果 ===== */
.hero-media {
  transition: transform 0.1s linear;
}

/* ===== 自动轮播（纯CSS - 标签云动效） ===== */
@keyframes floatCell {
  0%, 100% { transform: translateY(0px) scale(1); }
  33%       { transform: translateY(-4px) scale(1.01); }
  66%       { transform: translateY(2px) scale(0.99); }
}
.glass-card:nth-child(2n) { animation: floatCell 6s ease-in-out infinite; }
.glass-card:nth-child(3n) { animation: floatCell 8s ease-in-out infinite 1s; }
@media (prefers-reduced-motion: reduce) {
  .glass-card { animation: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .wrap {
    grid-template-columns: 1fr 240px;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  :root { --brand-h: 52px; --nav-h: auto; }

  .wrap {
    grid-template-columns: 1fr;
    padding: 1.2rem 1rem;
    gap: 1.5rem;
  }
  .wrap > aside {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .wrap > article:first-child,
  .wrap > article + article {
    grid-column: 1 / 2;
  }

  .brand-bar { padding: 0 1rem; }
  .header-search input { width: 130px; }

  nav[aria-label="主导航"] {
    height: auto;
    padding: 0.4rem 1rem;
  }
  nav[aria-label="主导航"] > ol {
    flex-wrap: wrap;
    gap: 0;
  }
  nav[aria-label="主导航"] > ol > li > a {
    height: auto;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.2rem;
  }
  .hero-text { text-align: left; padding-right: 0; }
  .hero-placeholder { height: 200px; }

  .section-cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.8rem;
  }
  .child-list {
    grid-template-columns: 1fr;
  }
  .tag-story-list {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .footer-legal { text-align: left; }

  .btn-primary, .btn-secondary {
    margin-left: 0;
    margin-right: 0.6rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .brand-name { font-size: 1.2rem; }
  .header-search input { width: 100px; }
  .hero-text h1 { font-size: 1.6rem; }
  .wrap { padding: 1rem 0.8rem; }
  nav[aria-label="主导航"] { padding: 0.3rem 0.8rem; }
  nav[aria-label="主导航"] > ol > li > a { padding: 0.5rem 0.5rem; font-size: 0.78rem; }
}

/* ===== 生物发光描边动效 ===== */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,255,65,0.1); }
  50%       { box-shadow: 0 0 20px rgba(0,255,65,0.3), 0 0 40px rgba(153,255,204,0.1); }
}
.side-panel {
  animation: glowPulse 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .side-panel { animation: none; }
}

/* ===== 无横向溢出保障 ===== */
body, main, .wrap, .site-header { max-width: 100%; overflow-x: hidden; }
