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

/* ===== 设计令牌 ===== */
:root {
  --c-primary: #ff0080;
  --c-secondary: #ff00ff;
  --c-dark: #26171f;
  --c-dark-2: #341f2d;
  --c-dark-3: #3e2535;
  --c-text: #f5e6ee;
  --c-text-muted: #c9a8bb;
  --c-border: rgba(255, 0, 128, 0.28);
  --c-card-bg: rgba(38, 23, 31, 0.72);
  --c-glass: rgba(255, 0, 128, 0.08);
  --font-head: 'Outfit', 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', 'Outfit', system-ui, sans-serif;
  --radius: 4px;
  --radius-pill: 999px;
  --nav-h: 70px;
  --max-prose: 720px;
  --max-wrap: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 重置与基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-dark);
  color: var(--c-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 极光背景 mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 0, 128, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(255, 0, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 60% 40%, rgba(255, 0, 200, 0.12) 0%, transparent 50%),
    var(--c-dark);
  pointer-events: none;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0%   { background-position: 0% 0%, 100% 100%, 60% 40%; }
  50%  { background-position: 10% 20%, 90% 80%, 50% 60%; }
  100% { background-position: 5% 10%, 95% 90%, 65% 35%; }
}

/* ===== 通用工具 ===== */
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-secondary); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
ul, ol { list-style: none; }
button, input { font-family: inherit; }

/* ===== 导航（aside > nav > ul > li > a） ===== */
.site-aside {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(38, 23, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.site-aside nav {
  height: 100%;
  max-width: var(--max-wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-pills-list {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-pills-list::-webkit-scrollbar { display: none; }

.nav-brand {
  margin-right: auto;
  flex-shrink: 0;
}
.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-logo { border-radius: 50%; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  transition: all var(--transition);
  min-height: 40px;
}
.nav-pill:hover,
.nav-pill.active {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(255, 0, 128, 0.1);
}
.nav-pill.active {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(255, 0, 255, 0.12));
  color: #fff;
}

/* ===== 布局结构 ===== */
.page-home > main,
.page-home > .content-layout {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}

.content-layout {
  display: flex;
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  min-height: 100vh;
  max-width: var(--max-wrap);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  gap: 2rem;
  align-items: flex-start;
}

/* 侧边栏在内容区左侧 */
.sidebar {
  flex: 0 0 220px;
  min-width: 200px;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  max-height: calc(100vh - var(--nav-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

.sidebar-inner {
  background: var(--c-card-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.sidebar-inner h3 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sidebar-links li a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: all var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidebar-links li a:hover {
  color: var(--c-primary);
  background: rgba(255, 0, 128, 0.08);
}
.sidebar-inner h3 + nav { margin-bottom: 1.25rem; }

.main-content {
  flex: 1;
  min-width: 0;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

/* ===== wrap / main 结构（main > div.wrap > section > article） ===== */
main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}

.wrap {
  max-width: var(--max-wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content .wrap {
  padding: 0;
}

/* ===== Hero（首页双图错位） ===== */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.hero-article {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-images {
  position: relative;
  height: 480px;
  flex-shrink: 0;
}

.hero-img-wrap {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
}
.hero-wrap-1 {
  top: 0;
  left: 0;
  width: 72%;
  height: 70%;
  z-index: 2;
  border: 2px solid var(--c-primary);
}
.hero-wrap-2 {
  bottom: 0;
  right: 0;
  width: 65%;
  height: 65%;
  z-index: 1;
  border: 2px solid var(--c-secondary);
  transform: translateY(10px);
}

.hero-img { width: 100%; height: 100%; object-fit: cover; }

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: orb-pulse 6s ease-in-out infinite alternate;
}
.orb-1 {
  width: 200px; height: 200px;
  background: rgba(255, 0, 128, 0.35);
  top: -40px; left: -40px;
  animation-delay: 0s;
}
.orb-2 {
  width: 150px; height: 150px;
  background: rgba(255, 0, 255, 0.25);
  bottom: -20px; right: 20px;
  animation-delay: -3s;
}
@keyframes orb-pulse {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.3); opacity: 1; }
}

.hero-copy {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 30%, var(--c-primary) 70%, var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 380px;
  line-height: 1.7;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(255, 0, 128, 0.4);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 0, 128, 0.6);
  color: #fff;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; min-height: 40px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255, 0, 128, 0.1);
  color: var(--c-secondary);
  border-color: var(--c-secondary);
}

/* ===== 章节标题 ===== */
.section-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-title span {
  position: relative;
}
.section-title span::after {
  content: '';
  display: block;
  height: 3px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), transparent);
  border-radius: var(--radius-pill);
}

/* ===== 卡片（描边4px圆角无阴影） ===== */
.cat-card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--c-card-bg);
  backdrop-filter: blur(8px);
}
.cat-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
}
.cat-card-inner {
  display: block;
  padding: 1.5rem;
  color: var(--c-text);
  text-decoration: none;
}
.cat-card-inner h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}
.cat-card-inner h3 span { display: block; }
.cat-card-inner p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.cat-card-inner small {
  font-size: 0.8rem;
  color: var(--c-primary);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* ===== 文章列表卡片 ===== */
.art-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.art-card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all var(--transition);
}
.art-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
}
.art-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--c-text);
  text-decoration: none;
}
.art-card-img { overflow: hidden; }
.art-card-img img { width: 100%; height: 160px; object-fit: cover; border-radius: 0; }
.art-card-body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.art-card-body h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.art-card-body h3 span { display: block; }
.art-card-body p {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  flex: 1;
}
.art-card-body time {
  font-size: 0.78rem;
  color: var(--c-primary);
}

.section-more { text-align: center; margin-top: 2rem; }

/* ===== 首页区块间距 ===== */
.hero-section { padding-top: 2.5rem; }
.home-content-section { padding: 2rem 0; }
.cat-section { padding: 2.5rem 0; }
.latest-section { padding: 2.5rem 0 3rem; }

/* ===== 内页正文容器 ===== */
.page-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 40%, var(--c-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== 文章详情 ===== */
.cat-header, .cat-header-article,
.cat-prose-section, .cat-prose-article {
  margin-bottom: 0;
}

.cat-header-article,
.art-article,
.about-article,
.privacy-article,
.tag-header-article,
.tag-content-article,
.default-article {
  width: 100%;
}

.art-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 40%, var(--c-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.art-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.art-date, .art-date-mod {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.art-cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-primary);
  font-size: 0.8rem;
  color: var(--c-primary);
  min-height: 28px;
}
.art-hero-wrap {
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--c-border);
}
.art-hero-img { width: 100%; max-height: 440px; object-fit: cover; }

.breadcrumb {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }

/* ===== 正文排版 ===== */
.prose-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  max-width: var(--max-prose);
}
.prose-content h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #fff;
}
.prose-content h2 span { display: inline; }
.prose-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--c-text);
}
.prose-content h3 span { display: inline; }
.prose-content p { margin-bottom: 1.1rem; }
.prose-content ul, .prose-content ol {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.prose-content ol { list-style: decimal; }
.prose-content li { margin-bottom: 0.35rem; }
.prose-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose-content a:hover { color: var(--c-secondary); }
.prose-content img {
  margin: 1.5rem 0;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
}
.prose-content blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(255, 0, 128, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-text-muted);
  font-style: italic;
}
.prose-content code {
  background: rgba(255, 0, 128, 0.12);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}
.prose-content pre {
  background: var(--c-dark-2);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--c-border);
}
.prose-content strong { color: #fff; font-weight: 600; }

/* ===== 栏目页子页列表 ===== */
.cat-children-section { margin-top: 2rem; }
.child-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.child-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all var(--transition);
}
.child-item:hover {
  border-color: var(--c-primary);
  transform: translateX(4px);
}
.child-link {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  color: var(--c-text);
  text-decoration: none;
  align-items: flex-start;
}
.child-img { flex: 0 0 100px; }
.child-img img { width: 100px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.child-body { flex: 1; min-width: 0; }
.child-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.child-body h3 span { display: block; }
.child-body p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.child-body small {
  font-size: 0.8rem;
  color: var(--c-primary);
}

/* ===== 文章相关推荐列表 ===== */
.art-related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-border); }
.art-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.art-related-list li {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.art-related-list li:hover { border-color: var(--c-primary); }
.art-related-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: var(--c-text);
  text-decoration: none;
  min-height: 44px;
  gap: 1rem;
}
.art-related-list li a span {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}
.art-related-list li a small {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

/* ===== 关于页 ===== */
.about-h1 { margin-bottom: 0.5rem; }
.about-aurora-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), transparent);
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}
.about-body { max-width: var(--max-prose); }
.about-cats-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-border); }
.about-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-cat-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-card-bg);
  color: var(--c-text);
  text-decoration: none;
  transition: all var(--transition);
  min-height: 56px;
}
.about-cat-link:hover {
  border-color: var(--c-primary);
  background: rgba(255, 0, 128, 0.08);
  color: #fff;
}
.cat-num {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary);
  flex: 0 0 2rem;
  opacity: 0.7;
}
.cat-name {
  font-weight: 600;
  font-size: 0.95rem;
  flex: 0 0 auto;
  color: #fff;
}
.cat-desc {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 隐私页 ===== */
.privacy-updated {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 1.75rem;
}
.privacy-body { max-width: var(--max-prose); }

/* ===== 标签页 ===== */
.tag-h1 { margin-bottom: 0.5rem; }
.tag-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.tag-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all var(--transition);
}
.tag-item:hover { border-color: var(--c-primary); transform: translateX(4px); }
.tag-item-link {
  display: flex;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  color: var(--c-text);
  text-decoration: none;
  align-items: flex-start;
}
.tag-item-img { flex: 0 0 90px; }
.tag-item-img img { width: 90px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.tag-item-body { flex: 1; min-width: 0; }
.tag-item-body h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}
.tag-item-body h3 span { display: block; }
.tag-item-body p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}
.tag-item-body small { font-size: 0.78rem; color: var(--c-primary); }

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--c-dark-2);
  border-top: 1px solid var(--c-border);
  padding-top: 3rem;
}

.footer-top {
  max-width: var(--max-wrap);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  border-bottom: 1px solid var(--c-border);
}

.footer-subscribe h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-subscribe h3 span { display: inline; }
.footer-subscribe p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  font-size: 0.875rem;
  min-height: 40px;
  transition: border-color var(--transition);
}
.subscribe-form input::placeholder { color: var(--c-text-muted); }
.subscribe-form input:focus {
  outline: none;
  border-color: var(--c-primary);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.footer-col h4 span { display: inline; }
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  display: block;
  padding: 0.2rem 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.footer-col ul li a:hover { color: var(--c-primary); }

.footer-bar {
  max-width: var(--max-wrap);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bar nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-bar nav a {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-bar nav a:hover { color: var(--c-primary); }
.copyright {
  font-size: 0.83rem;
  color: var(--c-text-muted);
}

/* ===== Scroll Reveal 动效 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal-stagger { transition-delay: calc(var(--stagger, 0) * 0.08s); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body::before { animation: none; }
  .aurora-orb { animation: none; }
}

/* ===== 首页特殊：main 与 content-layout 混合 ===== */
.page-home main {
  padding-top: 0;
}
.page-home .wrap {
  padding-top: 1.5rem;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .content-layout {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sidebar {
    flex: none;
    width: 100%;
    min-width: 0;
    position: static;
    max-height: none;
  }
  .sidebar-inner { padding: 1rem; }
  .sidebar-links { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }
  .sidebar-links li a { padding: 0.35rem 0.6rem; min-height: 36px; font-size: 0.83rem; }
  .sidebar-inner h3 + nav { margin-bottom: 0.5rem; }
}

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

  .nav-pills-list { gap: 0.25rem; }
  .nav-pill { padding: 0.4rem 0.7rem; font-size: 0.8rem; }

  .hero-article {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-images { height: 300px; }
  .hero-copy {
    text-align: left;
    align-items: flex-start;
  }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .art-list { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  .about-cat-link { flex-wrap: wrap; gap: 0.5rem; }
  .cat-desc { white-space: normal; }
}

@media (max-width: 480px) {
  .nav-pills-list { justify-content: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .footer-bar nav { gap: 0.75rem; }
  .child-link { flex-direction: column; }
  .child-img { flex: none; }
  .child-img img { width: 100%; height: auto; }
  .tag-item-link { flex-direction: column; }
  .tag-item-img { flex: none; }
  .tag-item-img img { width: 100%; height: auto; }
  .hero-images { height: 220px; }
  .prose-content { font-size: 1rem; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input { min-width: 0; width: 100%; }
}
