@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Merriweather:wght@300;400;700&display=swap');

/* ===== CSS 自定义属性 ===== */
:root {
  --color-primary: #eb879c;
  --color-secondary: #ffb6c1;
  --color-dark: #26171a;
  --color-dark-80: rgba(38, 23, 26, 0.8);
  --color-dark-60: rgba(38, 23, 26, 0.6);
  --color-dark-10: rgba(38, 23, 26, 0.08);
  --color-primary-light: rgba(235, 135, 156, 0.15);
  --color-primary-mid: rgba(235, 135, 156, 0.35);
  --color-bg: #fdf5f7;
  --color-bg-card: rgba(255, 245, 248, 0.72);
  --color-text: #26171a;
  --color-text-muted: #7a4a52;
  --color-border: rgba(235, 135, 156, 0.25);
  --color-white: #ffffff;

  --font-display: 'Abril Fatface', Georgia, serif;
  --font-body: 'Merriweather', Georgia, serif;
  --font-ui: system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(38, 23, 26, 0.08), 0 1px 2px rgba(38, 23, 26, 0.04);
  --shadow-md: 0 4px 16px rgba(38, 23, 26, 0.10), 0 2px 4px rgba(38, 23, 26, 0.06);
  --shadow-lg: 0 8px 32px rgba(38, 23, 26, 0.12), 0 4px 8px rgba(38, 23, 26, 0.06);
  --shadow-glass: 0 8px 24px rgba(235, 135, 156, 0.18), 0 2px 6px rgba(38, 23, 26, 0.08);

  --transition: 220ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 160ms ease;

  --sidebar-w: 220px;
  --bottom-nav-h: 64px;
  --content-max: 820px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-dark); }
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== 布局骨架 ===== */
.page-wrap {
  display: flex;
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-h);
}

.main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ===== 侧边栏（aside 在内容左侧） ===== */
.sidebar-nav {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  padding: 2rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-nav nav > ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-nav nav > ul > li > a.nav-pill {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav nav > ul > li > a.nav-pill:hover,
.sidebar-nav nav > ul > li > a.nav-pill.is-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.sidebar-nav nav > ul > li > a.nav-pill:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sidebar-related {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.sidebar-related h2 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.sidebar-related h2 > span { display: inline; }

.sidebar-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-link-list li a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.sidebar-link-list li a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ===== 主内容区 ===== */
main {
  flex: 1;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ===== 正文容器契约: main > div > article ===== */
main > div {
  width: 100%;
}

main > div > article {
  margin-bottom: 3rem;
}

.content-section {
  margin-bottom: 3rem;
}

/* ===== Hero（首页） ===== */
.hero {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(135deg, var(--color-dark) 0%, #3d1e25 55%, #5a2535 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.hero-text {
  text-align: right;
  flex: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 300;
}

.btn-hero {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(235, 135, 156, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 48px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-hero:hover {
  background: #d9637e;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235, 135, 156, 0.55);
}

.hero-deco {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
}

.deco-circle--1 {
  width: 120px;
  height: 120px;
  background: var(--color-primary-mid);
  top: 10px;
  left: 10px;
  animation: pulse 3s ease-in-out infinite;
}

.deco-circle--2 {
  width: 80px;
  height: 80px;
  background: rgba(255, 182, 193, 0.25);
  top: 30px;
  left: 30px;
  animation: pulse 3s ease-in-out 0.5s infinite;
}

.deco-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  z-index: 2;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.hero-slant {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 3;
}

/* ===== 频道 Banner ===== */
.channel-banner {
  background: linear-gradient(120deg, var(--color-dark) 0%, #4a2030 100%);
  padding: 3rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.channel-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.channel-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.channel-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.channel-banner p {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 300;
}

/* ===== Tag Banner ===== */
.tag-banner {
  background: linear-gradient(120deg, #3d1e25 0%, var(--color-dark) 100%);
  padding: 2.5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.tag-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.tag-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.tag-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.tag-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.tag-banner p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ===== About Banner ===== */
.about-banner {
  background: linear-gradient(135deg, #26171a 0%, #5a2535 100%);
  padding: 3rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.about-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.about-icon { font-size: 3rem; margin-bottom: 1rem; }

.about-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.about-banner p {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 300;
}

/* ===== Privacy Banner ===== */
.privacy-banner {
  background: linear-gradient(120deg, #26171a 0%, #3d2030 100%);
  padding: 2.5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.privacy-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.privacy-banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.privacy-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.privacy-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

/* ===== 文章顶部 ===== */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.article-date {
  font-family: var(--font-ui);
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.article-date--mod { opacity: 0.8; }

.article-channel-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.775rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.article-channel-tag:hover {
  background: var(--color-primary-mid);
  color: var(--color-dark);
}

.article-hero-wrap {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  list-style: none;
}

.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-list li:not(:last-child)::after { content: '›'; color: var(--color-border); }
.breadcrumb-list a { color: var(--color-primary); }
.breadcrumb-list a:hover { color: var(--color-dark); }

/* ===== 玻璃拟态卡片 ===== */
.glass {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 135, 156, 0.2);
  border-radius: 10px;
  box-shadow: var(--shadow-glass);
}

.card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(235, 135, 156, 0.25), 0 4px 8px rgba(38, 23, 26, 0.08);
}

.card-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.35;
}

.card h3 > span { display: inline; }

.card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.6;
}

.card-date {
  font-family: var(--font-ui);
  font-size: 0.775rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding: 0.45rem 1.1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.card-link:hover {
  background: #d9637e;
  color: var(--color-white);
  transform: translateX(2px);
}

/* ===== 卡片网格（ul > li > div 结构契约） ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.card-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.card-grid > li {
  display: flex;
}

.card-grid > li > div {
  width: 100%;
}

/* ===== 功能列表卡片 ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.feature-list li { display: flex; }
.feature-list li > div { width: 100%; }

.feature-card {
  padding: 1.5rem;
  transition: transform var(--transition);
}

.feature-card:hover { transform: translateY(-3px); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.feature-card h3 > span { display: inline; }
.feature-card p { font-size: 0.875rem; color: var(--color-text-muted); }

/* ===== 目录列表 ===== */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  list-style: none;
}

.toc-list li a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-dark-80);
  transition: color var(--transition-fast);
}

.toc-list li a:hover { color: var(--color-primary); }

/* ===== 联系块 ===== */
.contact-block {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-block p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== 按钮 ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(235, 135, 156, 0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

.btn-cta:hover {
  background: #d9637e;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235, 135, 156, 0.5);
}

/* ===== 正文排版 ===== */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 72ch;
}

.prose h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-dark); margin: 2rem 0 0.75rem; }
.prose h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-dark); margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-secondary); }
.prose a:hover { color: var(--color-dark); }
.prose strong { color: var(--color-dark); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1.25rem;
  background: var(--color-primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-muted);
}
.prose img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.prose code {
  background: var(--color-dark-10);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

/* ===== 标题样式 ===== */
.content-section > h2,
.sidebar-related h2,
.related-section h2,
.about-features h2,
.privacy-toc h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-section > h2 > span,
.related-section h2 > span,
.about-features h2 > span,
.privacy-toc h2 > span {
  display: inline;
}

.content-section > h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.4em;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--color-dark);
  margin-top: auto;
}

.footer-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #d9637e 100%);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  flex: 1;
}

.footer-bottom {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-address {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  flex: 1;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links li a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
}

.footer-links li a:hover { color: var(--color-secondary); }

.footer-copy {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.775rem;
  color: rgba(255,255,255,0.35);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== 底部固定胶囊导航 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(38, 23, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(235, 135, 156, 0.2);
  height: var(--bottom-nav-h);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.bottom-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0.5rem;
  list-style: none;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  min-width: 56px;
  min-height: 48px;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  transition: background var(--transition), color var(--transition);
}

.bnav-item:hover,
.bnav-item:focus-visible {
  background: var(--color-primary-mid);
  color: var(--color-white);
}

.bnav-icon { font-size: 1.2rem; line-height: 1; }
.bnav-label { font-size: 0.65rem; white-space: nowrap; }

.bnav-brand {
  flex: 0 0 auto;
}

.bnav-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(235, 135, 156, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.bnav-brand-link:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(235, 135, 156, 0.45);
}

.brand-logo-sm { width: 28px; height: 28px; object-fit: contain; }
.brand-logo { max-height: 36px; object-fit: contain; }

.brand-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--color-white);
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

/* ===== 滚动揭示动画 ===== */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 280ms ease calc(var(--i, 0) * 60ms),
              transform 280ms ease calc(var(--i, 0) * 60ms);
}

.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .deco-circle--1,
  .deco-circle--2 {
    animation: none;
  }
}

/* ===== 空提示 ===== */
.empty-tip {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  :root { --sidebar-w: 180px; }
  main { padding: 1.5rem 1.25rem; }
  .hero-inner { gap: 1.5rem; }
  .hero-deco { width: 100px; height: 100px; }
  .deco-circle--1 { width: 90px; height: 90px; }
  .deco-circle--2 { width: 60px; height: 60px; }
  .deco-icon { font-size: 2.2rem; }
}

@media (max-width: 700px) {
  .sidebar-nav { display: none; }
  .page-wrap { flex-direction: column; }
  .main-wrap { width: 100%; }
  main { padding: 1.25rem 1rem; }

  .hero { min-height: 70vh; padding: 0 1.25rem; }
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    padding: 2.5rem 0 5rem;
    gap: 1.25rem;
  }
  .hero-text { text-align: center; }
  .btn-hero { margin: 0 auto; }

  .channel-banner,
  .tag-banner,
  .about-banner,
  .privacy-banner {
    padding: 2rem 1.25rem 3rem;
  }

  .card-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .card-grid--small { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem 1.25rem;
  }
  .footer-bottom { padding: 1.25rem; }

  .breadcrumb { padding: 0.6rem 1rem; }
  .article-header h1 { font-size: 1.5rem; }
}

@media (max-width: 400px) {
  .card-grid { grid-template-columns: 1fr; }
  .bottom-nav-list { padding: 0 0.25rem; }
  .bnav-item { padding: 0.4rem 0.5rem; min-width: 44px; }
  .bnav-label { font-size: 0.6rem; }
}
