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

/* ===== 自定义属性 ===== */
:root {
  --red: #ff0000;
  --pink: #ff1493;
  --dark: #261717;
  --dark2: #1a0f0f;
  --dark3: #2f1c1c;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,100,100,0.18);
  --glass-blur: blur(14px);
  --text-main: #f5e6e6;
  --text-muted: #c9a0a0;
  --text-bright: #ffffff;
  --nav-w: 220px;
  --radius-card: 4px;
  --shadow-card: 0 4px 32px rgba(255,20,147,0.15);
  --font-heading: 'Righteous', 'Impact', sans-serif;
  --font-body: 'Poppins', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: 0.3s ease;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus { color: var(--red); text-decoration: underline; }
ul { list-style: none; }
input, button { font-family: var(--font-body); }

/* ===== 布局骨架：左侧竖排导航 ===== */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ===== 左侧导航 ===== */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: rgba(26,15,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidenav-brand {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 0 18px rgba(255,20,147,0.5);
  transition: box-shadow var(--transition), transform var(--transition);
}
.brand-link:hover { box-shadow: 0 0 32px rgba(255,0,0,0.7); transform: scale(1.08); text-decoration: none; }

.site-icon-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.site-logomark { width: 36px; height: 36px; object-fit: contain; }

.sidenav-nav {
  flex: 1;
  padding: 1rem 0;
}

.sidenav-nav > p {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidenav-nav > p > a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidenav-nav > p > a:hover,
.sidenav-nav > p > a[aria-current] {
  color: var(--text-bright);
  border-left-color: var(--red);
  background: rgba(255,20,147,0.08);
  text-decoration: none;
}

/* ===== 页面画布（右侧内容区）===== */
.page-canvas {
  margin-left: var(--nav-w);
  flex: 1;
  position: relative;
  min-width: 0;
}

/* ===== Aurora 背景 ===== */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-mesh {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 180deg at 30% 60%, rgba(255,0,0,0.18) 0deg, transparent 60deg),
    conic-gradient(from 270deg at 70% 30%, rgba(255,20,147,0.15) 0deg, transparent 80deg),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,0,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,20,147,0.1) 0%, transparent 70%);
  background-size: 200% 200%;
  animation: auroraMesh 12s ease-in-out infinite alternate;
  filter: saturate(1.3);
}
@keyframes auroraMesh {
  0%   { background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%; }
  100% { background-position: 100% 50%, 0% 50%, 100% 0%, 0% 100%; }
}
.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: auroraFloat 10s ease-in-out infinite alternate;
}
.g1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,0,0,0.6) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.g2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,20,147,0.5) 0%, transparent 70%);
  bottom: 10%; right: 5%;
  animation-delay: -4s;
}
.g3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,80,0,0.4) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -8s;
}
@keyframes auroraFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}
.aurora-bg-subtle .aurora-glow { opacity: 0.18; }
.aurora-bg-subtle .aurora-mesh { opacity: 0.5; }

/* ===== 通用区块 ===== */
main { position: relative; z-index: 1; }

/* ===== Reveal 动效 ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora-mesh, .aurora-glow { animation: none; }
}

/* ===== 玻璃卡片 ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 48px rgba(255,20,147,0.28);
  border-color: rgba(255,20,147,0.4);
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-card);
  min-height: 44px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(255,0,0,0.4);
  transition: all var(--transition);
}
.btn-primary:hover { opacity: 0.88; transform: scale(1.03); box-shadow: 0 0 36px rgba(255,20,147,0.6); text-decoration: none; color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  border-radius: var(--radius-card);
  min-height: 40px;
  font-size: 0.9rem;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--text-bright); text-decoration: none; }

/* ===== 首页 Hero ===== */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: 4rem 3rem 3rem;
  gap: 3rem;
}
.hero-figure {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 320px;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-text {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255,0,0,0.25), rgba(255,20,147,0.15));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.08em;
  user-select: none;
  white-space: nowrap;
  animation: heroTextFloat 8s ease-in-out infinite alternate;
}
@keyframes heroTextFloat {
  0%   { transform: scale(1) rotate(-2deg); }
  100% { transform: scale(1.05) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes heroTextFloat { 0%,100% { transform: none; } }
}
.hero-orb {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,20,147,0.35) 0%, rgba(255,0,0,0.2) 40%, transparent 70%);
  border-radius: 50%;
  animation: orbPulse 10s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes orbPulse { 0%,100% { transform: none; opacity:0.7; } }
}

.hero-aside {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}
.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pink);
  font-weight: 600;
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--text-bright);
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.8;
}

/* ===== 通用内容区段 ===== */
.content-section {
  display: grid;
  grid-template-columns: 48px 220px 1fr;
  gap: 2rem;
  padding: 3rem 3rem;
  position: relative;
}

.section-label-fig {
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
}
.section-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(255,20,147,0.5);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}
.section-intro-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.2rem;
}
.section-intro-aside h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-bright);
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
  line-height: 1.3;
}
.section-intro-aside h2 span { color: inherit; }
.section-intro-aside p { font-size: 0.9rem; color: var(--text-muted); }
.section-body { display: flex; flex-direction: column; gap: 2rem; }
.section-body.wide { }

/* ===== 正文内容区 ===== */
.page-content-area {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 780px;
}
.page-content-area h2 { font-family: var(--font-heading); color: var(--text-bright); margin: 1.5rem 0 0.75rem; font-size: 1.3rem; }
.page-content-area h3 { color: var(--text-bright); margin: 1.2rem 0 0.5rem; font-size: 1.1rem; }
.page-content-area p { margin-bottom: 1rem; }
.page-content-area a { color: var(--pink); }
.page-content-area a:hover { color: var(--red); }
.page-content-area ul, .page-content-area ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-content-area li { margin-bottom: 0.4rem; }
.page-content-area strong { color: var(--text-bright); }
.page-content-area blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1rem 0;
}

/* ===== 分类/子页卡片网格 ===== */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.section-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.section-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-bright);
}
.section-card h3 span { color: inherit; }
.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.card-links { display: flex; flex-direction: column; gap: 0.3rem; }
.card-links a { font-size: 0.82rem; color: var(--text-muted); padding: 0.15rem 0; }
.card-links a:hover { color: var(--pink); }
.card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--pink);
  font-weight: 600;
  margin-top: auto;
  min-height: 32px;
  transition: color var(--transition);
}
.card-cta:hover { color: var(--red); text-decoration: none; }

/* ===== 故事卡片网格 ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.story-card {
  display: flex;
  flex-direction: column;
}
.card-figure {
  overflow: hidden;
  height: 160px;
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.story-card:hover .card-figure img { transform: scale(1.06); }
.card-figure-placeholder {
  background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(255,20,147,0.1));
}
.fig-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(255,20,147,0.3);
}
.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card-body h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--text-bright); line-height: 1.35; }
.card-body h3 span { color: inherit; }
.card-date { font-size: 0.78rem; color: var(--text-muted); }
.children-list-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-bright);
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
.children-list-header h2 span { color: inherit; }

/* ===== 栏目页布局 ===== */
.section-main, .about-main, .privacy-main, .tag-main { }
.section-hero, .about-header, .tag-header, .privacy-header {
  display: flex;
  align-items: center;
  min-height: 40vh;
  padding: 3rem 3rem;
  gap: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.section-hero-fig, .about-header-fig, .tag-header-fig, .privacy-deco-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  flex-shrink: 0;
}
.section-hero-num, .about-fig-text, .tag-badge-big, .deco-shield {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgba(255,20,147,0.45);
  writing-mode: vertical-rl;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.section-hero-aside, .about-header-aside, .tag-header-aside, .privacy-header-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-h1, .about-h1, .tag-h1, .privacy-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--text-bright);
  line-height: 1.2;
}
.section-desc, .about-desc, .tag-desc, .privacy-desc { font-size: 1rem; color: var(--text-muted); max-width: 540px; }
.about-eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pink);
  font-weight: 600;
}

/* ===== 带侧边栏的内容区 ===== */
.content-section.wide-grid,
.story-body-section,
.about-body,
.privacy-body,
.tag-body {
  display: grid;
  grid-template-columns: 48px 200px 1fr;
  gap: 2rem;
  padding: 3rem;
  align-items: start;
}
.story-deco-fig, .about-deco-fig, .privacy-body-fig, .tag-deco-fig {
  display: flex;
  align-items: flex-start;
  padding-top: 0.4rem;
}
.deco-line {
  display: block;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--red), transparent);
  border-radius: 2px;
}

/* 侧边栏 */
.section-sidebar, .story-sidebar, .about-sidebar, .privacy-sidebar, .tag-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.section-sidebar h2, .story-sidebar h2, .about-sidebar h2, .privacy-sidebar h2, .tag-sidebar h2 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.4rem;
}
.section-sidebar h2 span, .story-sidebar h2 span, .about-sidebar h2 span,
.privacy-sidebar h2 span, .tag-sidebar h2 span { color: inherit; }
.aside-links { display: flex; flex-direction: column; gap: 0.25rem; }
.aside-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  min-height: 32px;
  display: flex;
  align-items: center;
}
.aside-link:hover { color: var(--pink); border-bottom-color: rgba(255,20,147,0.2); text-decoration: none; }

/* ===== 文章详情布局 ===== */
.story-main { }
.story-header-section {
  display: flex;
  align-items: stretch;
  min-height: 50vh;
  border-bottom: 1px solid var(--glass-border);
}
.story-hero-fig {
  flex: 0 0 45%;
  overflow: hidden;
  position: relative;
}
.story-hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.story-hero-placeholder {
  background: linear-gradient(135deg, rgba(255,0,0,0.12), rgba(255,20,147,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-fig-bg {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  color: rgba(255,20,147,0.18);
  letter-spacing: 0.1em;
  user-select: none;
}
.story-header-aside {
  flex: 1;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.story-breadcrumb { font-size: 0.82rem; }
.story-breadcrumb a { color: var(--pink); }
.story-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--text-bright);
  line-height: 1.25;
}
.story-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.article-date { font-size: 0.82rem; color: var(--text-muted); }
.article-date.mod { opacity: 0.75; }

.story-content, .about-content, .privacy-content, .tag-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-main);
  max-width: 720px;
}
.article-body h2 { font-family: var(--font-heading); color: var(--text-bright); margin: 1.8rem 0 0.8rem; font-size: 1.35rem; border-left: 3px solid var(--red); padding-left: 0.7rem; }
.article-body h3 { color: var(--text-bright); margin: 1.4rem 0 0.6rem; font-size: 1.1rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body a { color: var(--pink); }
.article-body a:hover { color: var(--red); }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body strong { color: var(--text-bright); }
.article-body blockquote { border-left: 3px solid var(--pink); padding: 0.5rem 1rem; color: var(--text-muted); font-style: italic; margin: 1.2rem 0; background: rgba(255,20,147,0.04); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.92rem; }
.article-body th, .article-body td { border: 1px solid var(--glass-border); padding: 0.5rem 0.75rem; }
.article-body th { background: rgba(255,20,147,0.1); color: var(--text-bright); }
.article-footer-nav { padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(26,15,15,0.95);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 3rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}
.footer-brand-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-links-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--pink); margin-bottom: 0.75rem; font-weight: 600; }
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-links-list a { font-size: 0.88rem; color: var(--text-muted); min-height: 32px; display: flex; align-items: center; transition: color var(--transition); }
.footer-links-list a:hover { color: var(--pink); text-decoration: none; }
.footer-form-block { border-top: 1px solid var(--glass-border); padding-top: 1.5rem; }
.footer-form-title { font-size: 0.9rem; color: var(--text-bright); margin-bottom: 0.75rem; font-weight: 600; }
.footer-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  color: var(--text-main);
  font-size: 0.9rem;
  min-height: 44px;
}
.footer-input::placeholder { color: var(--text-muted); }
.footer-input:focus { outline: 1px solid var(--pink); border-color: var(--pink); }
.footer-btn {
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--red), var(--pink));
  border: none;
  border-radius: var(--radius-card);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.footer-btn:hover { opacity: 0.85; }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.footer-note { display: block; font-size: 0.78rem; color: rgba(201,160,160,0.6); text-align: center; margin-top: 0.5rem; }

/* ===== h2/h3 span 装饰（build2 补充保险）===== */
h2 > span, h3 > span {
  background: linear-gradient(90deg, var(--text-bright) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidenav-nav h2 > span, .footer-links-title > span { -webkit-text-fill-color: unset; background: none; }

/* ===== 响应式：移动端 ===== */
@media (max-width: 768px) {
  :root { --nav-w: 0px; }

  .layout-wrapper { flex-direction: column; }

  .sidenav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .sidenav-brand { padding: 0; border: none; }
  .sidenav-nav { flex: 1; padding: 0; overflow-x: auto; }
  .sidenav-nav > p {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sidenav-nav > p > a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    min-height: 44px;
  }
  .sidenav-nav > p > a:hover,
  .sidenav-nav > p > a[aria-current] {
    border-left-color: transparent;
    border-bottom-color: var(--red);
    background: rgba(255,20,147,0.06);
  }

  .page-canvas { margin-left: 0; }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }
  .hero-figure { min-height: 180px; }
  .hero-aside { align-items: flex-start; text-align: left; }

  .content-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }
  .section-label-fig { display: none; }

  .story-header-section { flex-direction: column; min-height: auto; }
  .story-hero-fig { flex: none; height: 220px; width: 100%; }
  .story-header-aside { padding: 1.5rem 1.25rem; }

  .story-body-section,
  .about-body,
  .privacy-body,
  .tag-body {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }
  .story-deco-fig, .about-deco-fig, .privacy-body-fig, .tag-deco-fig { display: none; }
  .section-sidebar, .story-sidebar, .about-sidebar, .privacy-sidebar, .tag-sidebar {
    position: static;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    order: 2;
  }
  .story-content, .about-content, .privacy-content, .tag-content { order: 1; }

  .section-hero, .about-header, .tag-header, .privacy-header {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 2rem 1.25rem;
    gap: 1rem;
  }
  .section-hero-fig, .about-header-fig, .tag-header-fig, .privacy-deco-fig { width: auto; }

  .section-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr; }
  .site-footer { padding: 2rem 1.25rem 1rem; }

  .aurora-bg { position: absolute; }
  .g1 { width: 280px; height: 280px; }
  .g2 { width: 220px; height: 220px; }
  .g3 { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.5rem; }
  .story-h1, .section-h1, .about-h1, .tag-h1, .privacy-h1 { font-size: 1.4rem; }
  .footer-form { flex-direction: column; }
  .footer-input { min-width: 0; width: 100%; }
}
