/* ===== 字体 ===== */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Patrick+Hand&display=swap');

/* ===== 变量 ===== */
:root {
  --c-dark: #1a1a2e;
  --c-accent: #e94560;
  --c-cream: #f5f0e8;
  --c-dark2: #16213e;
  --c-muted: #a89f95;
  --c-card-bg: #232342;
  --c-text: #f5f0e8;
  --c-text-dark: #1a1a2e;
  --c-border: rgba(245,240,232,0.12);
  --radius: 28px;
  --radius-sm: 12px;
  --font-hand: 'Kalam', 'Patrick Hand', 'Ma Shan Zheng', cursive;
  --font-body: 'Patrick Hand', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --header-h: 72px;
  --subnav-h: 44px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  background: var(--c-dark);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, button { font-family: inherit; }

/* ===== 全屏遮罩菜单 ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-dark2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  color: var(--c-cream);
  line-height: 1;
  padding: 8px 12px;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-close:hover { color: var(--c-accent); }

.overlay-nav nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.overlay-nav nav ul li a {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-cream);
  padding: 10px 24px;
  display: block;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  line-height: 1.4;
}
.overlay-nav nav ul li a:hover {
  color: var(--c-accent);
  background: rgba(233,69,96,0.08);
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand-name {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-cream);
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-search {
  display: flex;
  align-items: center;
  background: rgba(245,240,232,0.08);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--c-accent); }
.header-search input {
  background: transparent;
  border: none;
  color: var(--c-cream);
  padding: 8px 14px;
  font-size: 0.95rem;
  outline: none;
  width: 160px;
}
.header-search input::placeholder { color: var(--c-muted); }
.header-search button {
  padding: 8px 12px;
  color: var(--c-muted);
  font-size: 1rem;
  min-height: 40px;
  transition: color var(--transition);
}
.header-search button:hover { color: var(--c-accent); }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger:hover span { background: var(--c-accent); }

/* 二级粘性锚点条 */
.subnav {
  background: rgba(22,33,62,0.98);
  border-top: 1px solid var(--c-border);
}
.subnav ul {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--c-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  min-height: 44px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
.subnav ul li a:hover,
.subnav ul li a[aria-current="page"] {
  color: var(--c-cream);
  border-bottom-color: var(--c-accent);
}

/* ===== Hero 满屏 ===== */
.parallax-hero, .section-hero, .story-hero, .tag-hero, .about-hero, .privacy-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg, .section-hero-bg, .story-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img, .section-hero-bg img, .story-hero-bg img,
.hero-img, .section-hero-img, .story-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.85) 70%, rgba(26,26,46,0.98) 100%);
}
.hero-content, .section-hero-content, .story-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 40px 100px;
}
.hero-eyebrow {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-h1, .section-h1, .story-h1, .tag-h1, .about-h1, .privacy-h1 {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-cream);
  margin-bottom: 20px;
}
.hero-lead, .section-lead, .tag-lead {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.8);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 700;
  min-height: 44px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 24px rgba(233,69,96,0.35);
}
.hero-btn:hover { background: #c73050; transform: translateY(-2px); }

/* 斜切底边 */
.hero-slash {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* ===== 标签页、关于页、隐私页 Hero（无大图） ===== */
.tag-hero, .about-hero, .privacy-hero {
  min-height: 40vh;
  background: linear-gradient(135deg, var(--c-dark2) 0%, var(--c-dark) 100%);
  justify-content: flex-end;
}
.tag-hero::before, .about-hero::before, .privacy-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,69,96,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.tag-hero-inner, .about-hero-inner, .privacy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 80px 40px 100px;
}

/* ===== 主内容区 ===== */
.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb a { color: var(--c-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--c-muted); }

/* ===== prose-section（正文区，带侧标签和装饰） ===== */
.content-section {
  display: grid;
  grid-template-columns: 40px 200px 1fr;
  grid-template-rows: auto;
  gap: 0 32px;
  margin-bottom: 80px;
  align-items: start;
}
.section-deco {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.deco-line {
  display: block;
  width: 2px;
  height: 100%;
  min-height: 80px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  border-radius: 2px;
}
.section-label {
  grid-column: 2;
  grid-row: 1;
  padding-top: 4px;
}
.label-tag {
  font-family: var(--font-hand);
  font-size: 0.85rem;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  border-left: 3px solid var(--c-accent);
  padding-left: 8px;
}
.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-links li a {
  font-size: 0.9rem;
  color: var(--c-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--c-border);
  display: block;
  transition: color var(--transition);
}
.aside-links li a:hover { color: var(--c-accent); }
.prose-body {
  grid-column: 3;
  grid-row: 1;
}

/* ===== 正文排版 ===== */
.prose-body h2 { font-family: var(--font-hand); font-size: 1.7rem; color: var(--c-cream); margin: 2rem 0 0.5rem; }
.prose-body h3 { font-family: var(--font-hand); font-size: 1.3rem; color: var(--c-cream); margin: 1.5rem 0 0.4rem; }
.prose-body p { margin-bottom: 1.2em; color: rgba(245,240,232,0.88); line-height: 1.8; }
.prose-body ul, .prose-body ol { margin: 1em 0 1.2em 1.4em; color: rgba(245,240,232,0.85); }
.prose-body li { margin-bottom: 0.5em; line-height: 1.75; }
.prose-body a { color: var(--c-accent); text-decoration: underline; }
.prose-body a:hover { color: #ff6b84; }
.prose-body hr { border: none; border-top: 1px solid var(--c-border); margin: 2rem 0; }
.prose-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 12px 20px;
  background: rgba(233,69,96,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5em 0;
  color: rgba(245,240,232,0.8);
  font-style: italic;
}

/* hr 装饰 */
hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 16px 0 32px;
}

/* ===== 卡片区块标题 ===== */
.block-heading {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-cream);
  margin-bottom: 8px;
}

/* ===== 首页分类卡片网格 ===== */
.sections-grid {
  margin-bottom: 80px;
}
.sections-grid, .children-section, .tag-list-section, .stories-list {
  /* section > div×n */
}
.sections-grid > div,
.children-section > div,
.tag-list-section > div {
  /* 直接子 div */
}

/* 卡片样式（纯色、圆角28px） */
.home-card, .section-card, .tag-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  animation: fadeSlideUp 0.55s forwards;
}
.home-card:hover, .section-card:hover, .tag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* 卡片网格排布 */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  /* block-heading + hr 不是 div，需保留 section>div 结构 */
}
/* 但 block-heading 和 hr 不是 div，所以我们用 .sections-grid 包裹，让 div 是 section 的直接子 */

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.card-fig {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-dark2);
}
.card-fig img, .card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.home-card:hover .card-thumb,
.section-card:hover .card-thumb,
.tag-card:hover .card-thumb {
  transform: scale(1.05);
}
.card-fig-empty { min-height: 140px; background: linear-gradient(135deg, var(--c-dark2), rgba(233,69,96,0.15)); }
.card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-date { font-size: 0.82rem; color: var(--c-muted); margin-bottom: 8px; display: block; }
.card-title {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-cream);
  margin-bottom: 10px;
  line-height: 1.4;
}
.card-desc { font-size: 0.92rem; color: var(--c-muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.card-arrow, .card-read {
  font-size: 0.9rem;
  color: var(--c-accent);
  font-weight: 700;
  align-self: flex-start;
  transition: transform var(--transition);
}
.home-card:hover .card-arrow, .section-card:hover .card-read, .tag-card:hover .card-read {
  transform: translateX(4px);
}

/* ===== 首页精选故事列表 ===== */
.stories-list { margin-bottom: 80px; }
.stories-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-item {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  opacity: 0;
  animation: fadeSlideUp 0.5s forwards;
}
.story-link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  transition: background var(--transition);
}
.story-link:hover { background: rgba(233,69,96,0.04); }
.story-num {
  font-family: var(--font-hand);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(233,69,96,0.25);
  line-height: 1;
  min-width: 48px;
  padding-top: 4px;
}
.story-meta { flex: 1; }
.story-date { font-size: 0.82rem; color: var(--c-muted); display: block; margin-bottom: 6px; }
.story-title {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-cream);
  margin-bottom: 6px;
  line-height: 1.4;
}
.story-link:hover .story-title { color: var(--c-accent); }
.story-excerpt { font-size: 0.9rem; color: var(--c-muted); line-height: 1.6; }

/* ===== 栏目页子页卡片（section > div×n，直接子） ===== */
.children-section {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
/* block-heading 和 hr 要独占行 */
.children-section > h2, .children-section > hr,
.tag-list-section > h2, .tag-list-section > hr,
.sections-grid > h2, .sections-grid > hr {
  grid-column: 1 / -1;
}

.tag-list-section {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

/* ===== 文章页布局 ===== */
.story-hero {
  min-height: 60vh;
}
.story-hero-plain {
  background: linear-gradient(135deg, var(--c-dark2) 0%, rgba(233,69,96,0.1) 100%);
}
.story-hero-content {
  padding-bottom: 80px;
}
.story-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
}
.story-pub-date, .story-mod-date { color: var(--c-muted); }
.story-category {
  background: rgba(233,69,96,0.15);
  color: var(--c-accent);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(233,69,96,0.3);
}
.story-main { padding-top: 40px; }
.story-layout {
  display: grid;
  grid-template-columns: 40px 240px 1fr;
  gap: 0 32px;
  align-items: start;
}
.story-lead-figure {
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  padding-top: 6px;
}
.deco-num {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: rgba(233,69,96,0.4);
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}
.story-sidebar {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 24px);
}
.story-content {
  grid-column: 3;
  grid-row: 1;
}
.sidebar-inner {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-heading {
  font-family: var(--font-hand);
  font-size: 0.88rem;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  border-left: 2px solid var(--c-accent);
  padding-left: 8px;
}
.related-list { display: flex; flex-direction: column; gap: 0; }
.related-item {
  border-bottom: 1px solid var(--c-border);
}
.related-item a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  color: var(--c-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.related-item a:hover { color: var(--c-cream); }
.related-title { font-size: 0.9rem; line-height: 1.4; }
.related-item time { font-size: 0.78rem; }
.sidebar-address { font-size: 0.88rem; color: var(--c-muted); line-height: 1.6; font-style: normal; }
.sidebar-address a { color: var(--c-accent); }

.inline-figure { margin: 1.5em 0; border-radius: var(--radius-sm); overflow: hidden; }
.story-inline-img { width: 100%; border-radius: var(--radius-sm); }

/* ===== 关于/隐私页布局 ===== */
.about-layout, .privacy-layout {
  display: grid;
  grid-template-columns: 40px 220px 1fr;
  gap: 0 32px;
  align-items: start;
}
.about-deco { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.deco-circle {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
}
.about-sidebar, .privacy-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 24px); }
.about-content, .privacy-content { grid-column: 3; grid-row: 1; }
.about-main .section-deco { grid-column: 1; }
.privacy-layout .section-deco { grid-column: 1; }

/* ===== 特殊日期显示 ===== */
.privacy-date {
  display: block;
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 12px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-dark2);
  border-top: 1px solid var(--c-border);
  margin-top: 80px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo-name {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-cream);
  display: block;
  margin-bottom: 10px;
}
.footer-tagline { font-size: 0.9rem; color: var(--c-muted); line-height: 1.65; }
.footer-subscribe {}
.subscribe-label {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  color: var(--c-accent);
  margin-bottom: 12px;
  display: block;
}
.subscribe-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--c-border);
  margin-bottom: 14px;
}
.subscribe-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--c-cream);
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}
.subscribe-form input::placeholder { color: var(--c-muted); }
.subscribe-form button {
  background: var(--c-accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  transition: background var(--transition);
}
.subscribe-form button:hover { background: #c73050; }
.footer-contact { font-size: 0.88rem; color: var(--c-muted); font-style: normal; line-height: 1.6; }
.footer-contact a { color: var(--c-accent); }
.footer-links-col h4 {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  color: var(--c-cream);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col ul li a {
  font-size: 0.9rem;
  color: var(--c-muted);
  padding: 4px 0;
  transition: color var(--transition);
  display: block;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.footer-links-col ul li a:hover { color: var(--c-accent); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 0.85rem; color: var(--c-muted); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links li a {
  font-size: 0.85rem;
  color: var(--c-muted);
  transition: color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.footer-bottom-links li a:hover { color: var(--c-accent); }

/* ===== 空状态 ===== */
.empty-tip { color: var(--c-muted); font-size: 0.95rem; padding: 24px 0; grid-column: 1/-1; }

/* ===== 动效 ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stagger-item { opacity: 0; animation: fadeSlideUp 0.5s forwards; }

/* Intersection Observer 触发类 */
.io-animate { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.io-animate.is-visible { opacity: 1; transform: none; }

/* 视差滚动辅助 */
.parallax-hero .hero-bg {
  will-change: transform;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-btn:hover { transform: none; }
  .home-card:hover, .section-card:hover, .tag-card:hover { transform: none; }
}

/* ===== 响应式 ===== */

/* ≥1024px 宽屏已是默认 */
@media (max-width: 1023px) {
  .content-section {
    grid-template-columns: 0 180px 1fr;
    gap: 0 20px;
  }
  .section-deco { display: none; }
  .story-layout { grid-template-columns: 0 200px 1fr; }
  .story-lead-figure { display: none; }
  .about-layout, .privacy-layout { grid-template-columns: 0 200px 1fr; }
  .about-deco { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .header-search { display: none; }
  .brand-name { font-size: 1rem; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .parallax-hero, .section-hero, .story-hero { min-height: 100svh; }
  .hero-content, .section-hero-content, .story-hero-content { padding: 0 20px 90px; }
  .tag-hero-inner, .about-hero-inner, .privacy-hero-inner { padding: 60px 20px 90px; }

  .content-section {
    display: block;
  }
  .section-label { margin-bottom: 20px; }
  .prose-body { margin-top: 0; }

  .sections-grid, .children-section, .tag-list-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-layout { display: block; }
  .story-sidebar { position: static; margin-bottom: 32px; }
  .sidebar-inner { border-radius: var(--radius-sm); }

  .about-layout, .privacy-layout { display: block; }
  .about-sidebar, .privacy-sidebar { position: static; margin-bottom: 28px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }

  .subnav ul { padding: 0 12px; }
  .subnav ul li a { padding: 8px 10px; font-size: 0.83rem; min-height: 40px; }

  .story-item { }
  .story-link { padding: 16px 0; }
  .story-num { font-size: 1.8rem; min-width: 36px; }
}

@media (max-width: 374px) {
  .hero-h1, .section-h1, .story-h1, .tag-h1, .about-h1, .privacy-h1 { font-size: 1.7rem; }
  .block-heading { font-size: 1.4rem; }
}
