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

/* ============================================================
   CSS 变量 & 全局重置
   ============================================================ */
:root {
  --red: #ff0000;
  --purple: #8b00ff;
  --dark: #261717;
  --dark-2: #1a0e0e;
  --dark-3: #321f1f;
  --glass-bg: rgba(255,255,255,0.08);
  --glass-bg-hover: rgba(255,255,255,0.14);
  --glass-border: 1px solid rgba(255,255,255,0.18);
  --glass-blur: blur(15px);
  --radius-pill: 9999px;
  --radius-card: 28px;
  --radius-sm: 12px;
  --font-main: 'Outfit', 'Work Sans', system-ui, -apple-system, sans-serif;
  --text-primary: rgba(255,255,255,0.95);
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.38);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-nav: 0 -4px 24px rgba(0,0,0,0.5);
  --nav-h: 68px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark-2);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139,0,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,0,0,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 30%, rgba(139,0,255,0.10) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: var(--nav-h);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font-family: var(--font-main); }

/* ============================================================
   布局容器
   ============================================================ */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   玻璃卡片基类
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.glass-card:where(a, button, [role=button]):hover,
.glass-card.cat-card:hover,
.glass-card.related-card:hover {
  background: var(--glass-bg-hover);
  box-shadow: 0 12px 40px rgba(139,0,255,0.25), var(--shadow-card);
  transform: translateY(-3px);
}

/* ============================================================
   底部固定导航（药丸胶囊样式）
   ============================================================ */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.bottom-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(26,14,14,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  box-shadow: var(--shadow-nav);
  overflow-x: auto;
  scrollbar-width: none;
}
.bottom-nav::-webkit-scrollbar { display: none; }

.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--red), var(--purple));
  overflow: hidden;
}

.brand-icon { width: 40px; height: 40px; object-fit: cover; }
.brand-icon-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.nav-pills-wrap {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-pills-wrap::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  min-height: 40px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-pill:hover,
.nav-pill-active {
  background: rgba(255,0,0,0.18);
  border-color: rgba(255,0,0,0.4);
  color: var(--text-primary);
}

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--red) 0%, var(--purple) 100%);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  min-height: 40px;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(255,0,0,0.35);
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.03); }

/* ============================================================
   Hero 区（首页）
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.hero-img-1 {
  width: 42%;
  height: 62%;
  top: 8%;
  left: 4%;
  opacity: 0.55;
  transform: rotate(-3deg);
}
.hero-img-2 {
  width: 36%;
  height: 52%;
  bottom: 10%;
  left: 24%;
  opacity: 0.40;
  transform: rotate(2deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: 520px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,0,0,0.35);
  background: rgba(255,0,0,0.1);
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, rgba(255,120,120,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ============================================================
   按钮
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--red) 0%, var(--purple) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
  min-height: 48px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,0,0,0.5); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.35); }

/* ============================================================
   区块标题
   ============================================================ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(139,0,255,0.15);
  border: 1px solid rgba(139,0,255,0.3);
  width: fit-content;
}
.section-title {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ============================================================
   分类网格（首页）
   ============================================================ */
.categories-section,
.content-section,
.entries-section,
.children-section,
.related-section,
.about-values-section,
.about-nav-section,
.privacy-nav-section {
  padding: 60px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s both;
  animation-delay: calc(var(--stagger, 0) * 0.08s);
}

.cat-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.cat-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255,0,0,0.5));
}
.cat-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.cat-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.cat-arrow {
  font-size: 1.2rem;
  color: var(--red);
  align-self: flex-end;
  transition: transform var(--transition);
}
.cat-card:hover .cat-arrow { transform: translateX(5px); }

/* ============================================================
   表格（首页条目列表、子页列表）
   ============================================================ */
.table-wrap { overflow: hidden; }

.entries-table,
.children-table,
.about-links-table {
  width: 100%;
  border-collapse: collapse;
}

.entries-table tr,
.children-table tr,
.about-links-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
  animation: fadeInUp 0.45s both;
  animation-delay: calc(var(--stagger, 0) * 0.07s);
}
.entries-table tr:last-child,
.children-table tr:last-child,
.about-links-table tr:last-child { border-bottom: none; }

.entries-table tr:hover,
.children-table tr:hover,
.about-links-table tr:hover { background: rgba(255,255,255,0.04); }

.entries-table td,
.children-table td,
.about-links-table td {
  padding: 16px 20px;
  vertical-align: middle;
  font-size: 0.9rem;
}

.entry-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  width: 40px;
}
.entry-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color var(--transition);
}
.entry-link:hover { color: var(--red); }
.entry-cat-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(139,0,255,0.15);
  border: 1px solid rgba(139,0,255,0.25);
  font-size: 12px;
  color: rgba(200,150,255,0.9);
  white-space: nowrap;
}
.entry-date-cell time {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* 子页表格专属 */
.child-thumb-cell { width: 72px; }
.entry-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,0,0,0.2), rgba(139,0,255,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.child-main-cell { min-width: 0; }
.child-title-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color var(--transition);
}
.child-title-link:hover { color: var(--red); }
.child-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.child-date-cell time {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.child-enter-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,0,0,0.12);
  border: 1px solid rgba(255,0,0,0.25);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,140,140,0.95);
  white-space: nowrap;
  min-height: 40px;
  transition: background var(--transition), border-color var(--transition);
}
.child-enter-btn:hover { background: rgba(255,0,0,0.22); border-color: rgba(255,0,0,0.45); }

.empty-hint {
  text-align: center;
  color: var(--text-muted);
  padding: 32px !important;
}

/* ============================================================
   关于页数值卡片
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.value-card {
  padding: 28px 24px;
  animation: fadeInUp 0.5s both;
  animation-delay: calc(var(--stagger, 0) * 0.1s);
}
.value-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple);
  margin-bottom: 14px;
}
.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.value-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   关于/隐私链接表
   ============================================================ */
.al-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  width: 180px;
}
.al-link a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.al-link a:hover { opacity: 0.75; }

/* ============================================================
   正文容器（prose）
   ============================================================ */
.prose-wrap {
  padding: 36px 40px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.prose-wrap h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2em 0 0.7em;
  line-height: 1.3;
}
.prose-wrap h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5em 0 0.6em;
}
.prose-wrap p { margin-bottom: 1.1em; }
.prose-wrap ul, .prose-wrap ol {
  padding-left: 1.5em;
  margin-bottom: 1.1em;
}
.prose-wrap li { margin-bottom: 0.4em; }
.prose-wrap a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(255,0,0,0.35);
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.prose-wrap a:hover { color: #ff4444; }
.prose-wrap strong { color: var(--text-primary); font-weight: 600; }
.prose-wrap blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 1.2em;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5em 0;
}
.prose-wrap code {
  background: rgba(139,0,255,0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

/* ============================================================
   分类页 Hero / 内页 Hero
   ============================================================ */
.cat-hero,
.inner-hero {
  position: relative;
  padding: 80px 0 48px;
  overflow: hidden;
}

.cat-hero-bg-text,
.inner-hero-bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.cat-hero-content,
.inner-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cat-h1,
.inner-h1,
.entry-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.cat-lead,
.inner-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.cat-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.cat-count strong { color: var(--red); font-size: 1rem; }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span:last-child { color: var(--text-secondary); }

/* ============================================================
   Entry 页 Hero
   ============================================================ */
.entry-header-section {
  padding-top: 60px;
  padding-bottom: 0;
}
.entry-hero-media {
  margin-bottom: -20px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  max-height: 400px;
}
.entry-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0.7;
}
.entry-header-content {
  padding: 32px 36px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.entry-meta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.entry-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.meta-item {
  font-size: 13px;
  color: var(--text-muted);
}
.meta-item a {
  color: var(--purple);
  transition: opacity var(--transition);
}
.meta-item a:hover { opacity: 0.75; }
.meta-item time { color: var(--text-muted); }

/* ============================================================
   同类推荐
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.related-card {
  padding: 22px 20px;
  animation: fadeInUp 0.45s both;
  animation-delay: calc(var(--stagger, 0) * 0.08s);
}
.related-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.back-to-cat { text-align: right; }

/* ============================================================
   隐私页更新日期
   ============================================================ */
.privacy-update {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}
.privacy-update time { color: var(--text-secondary); }
.privacy-prose { }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  margin-top: 40px;
  padding-bottom: calc(var(--nav-h) + 20px);
}
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 16px; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px 36px;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #fff, rgba(255,100,100,0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--red); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-cat-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-cat-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-cat-links a:hover { color: var(--purple); }

.footer-subscribe {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.subscribe-hint {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
}
.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.subscribe-input {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  font-size: 14px;
  width: 220px;
  min-height: 44px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.subscribe-input::placeholder { color: var(--text-muted); }
.subscribe-input:focus { border-color: rgba(255,0,0,0.45); background: rgba(255,255,255,0.11); }
.subscribe-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--red), var(--purple));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: opacity var(--transition);
}
.subscribe-btn:hover { opacity: 0.85; }

.footer-bar {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }

  .hero-section {
    min-height: 100vh;
    justify-content: center;
    padding: 60px 0 80px;
  }
  .hero-content { text-align: left; max-width: 100%; }
  .hero-actions { justify-content: flex-start; }
  .hero-img-1 { width: 55%; height: 45%; top: 5%; left: 2%; opacity: 0.3; }
  .hero-img-2 { display: none; }
  .hero-bg-text { font-size: 22vw; left: -4%; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 20px 16px; }

  .entries-table .entry-cat-cell,
  .entries-table .entry-date-cell { display: none; }

  .children-table .child-date-cell { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .footer-subscribe { flex-direction: column; align-items: stretch; padding: 20px; }
  .subscribe-input { width: 100%; }
  .subscribe-form { flex-direction: column; }
  .subscribe-btn { width: 100%; }

  .prose-wrap { padding: 24px 20px; }
  .entry-header-content { padding: 24px 20px; }

  .values-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }

  .bottom-nav { gap: 6px; padding: 8px 12px; }
  .nav-pill { padding: 8px 12px; font-size: 12px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2rem; }
  .children-table .child-action-cell { display: none; }
  .child-main-cell { padding-right: 0; }
}

@media (min-width: 1024px) {
  .hero-img-1 { opacity: 0.6; }
  .hero-img-2 { opacity: 0.45; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
