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

/* ===== CSS 自定义属性 ===== */
:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --ink: #172620;
  --ink-80: rgba(23,38,32,0.8);
  --ink-40: rgba(23,38,32,0.4);
  --ink-10: rgba(23,38,32,0.1);
  --mint-dark: #7ee8c0;
  --sky-dark: #7bb8cc;
  --bg: #0f1e18;
  --bg-card: #1a2f27;
  --bg-card2: #1e3530;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --border: 3px solid rgba(180,253,225,0.35);
  --border-strong: 4px solid rgba(180,253,225,0.55);
  --shadow-clay: 4px 6px 14px rgba(0,0,0,0.5), inset -2px -3px 8px rgba(0,0,0,0.25), inset 1px 1px 6px rgba(180,253,225,0.12);
  --shadow-hover: 6px 10px 20px rgba(0,0,0,0.6), inset -2px -3px 8px rgba(0,0,0,0.3), inset 1px 1px 8px rgba(180,253,225,0.18);
  --shadow-btn: 3px 4px 10px rgba(0,0,0,0.4), inset -1px -2px 4px rgba(0,0,0,0.2);
  --font: 'Noto Sans Thai', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --text: #d8f5eb;
  --text-muted: rgba(216,245,235,0.6);
  --text-faint: rgba(216,245,235,0.35);
  --topbar-h: 36px;
  --header-h: 100px;
  --transition: 0.2s ease-out;
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mint-dark); }
ul, ol { padding-left: 1.4em; }

/* ===== 顶部公告条 ===== */
.topbar {
  background: linear-gradient(90deg, var(--mint) 0%, var(--sky) 100%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}

/* ===== 站点头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(15,30,24,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border);
}

.brand-row {
  padding: 14px 24px 8px;
  border-bottom: 1px solid rgba(180,253,225,0.1);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-link:hover { color: var(--mint); }

.brand-logo,
.brand-logomark {
  height: 36px;
  width: auto;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mint);
  text-shadow: 0 0 20px rgba(180,253,225,0.4);
}

.main-nav {
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  min-width: max-content;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover,
.nav-link--active {
  color: var(--mint);
  background: rgba(180,253,225,0.1);
  border-color: rgba(180,253,225,0.25);
}

/* ===== Clay 卡片基础 ===== */
.clay-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-clay);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.clay-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

/* ===== 按钮 ===== */
.btn-more,
.btn-read,
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: var(--border);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--bounce) 200ms, box-shadow var(--transition);
  min-height: 44px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
}
.btn-more,
.btn-read {
  background: linear-gradient(135deg, rgba(180,253,225,0.15), rgba(173,216,230,0.12));
  color: var(--mint);
  margin-top: 12px;
}
.btn-more:hover,
.btn-read:hover {
  transform: scale(1.04);
  background: rgba(180,253,225,0.22);
  color: #fff;
}
.btn-hero {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--ink);
  font-size: 16px;
  padding: 13px 32px;
  border-color: rgba(255,255,255,0.3);
  margin-top: 20px;
  box-shadow: 4px 6px 18px rgba(0,0,0,0.4), inset -1px -2px 6px rgba(0,0,0,0.15);
}
.btn-hero:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 6px 10px 24px rgba(0,0,0,0.5);
  color: var(--ink);
}

/* ===== 首页 Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-img-wrap {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-clay);
  border: var(--border-strong);
}
.hero-img-wrap--a {
  width: 45%;
  max-width: 420px;
  aspect-ratio: 3/4;
  top: 8%;
  left: 4%;
  transform: rotate(-4deg);
  z-index: 2;
}
.hero-img-wrap--b {
  width: 42%;
  max-width: 380px;
  aspect-ratio: 3/4;
  bottom: 6%;
  right: 4%;
  transform: rotate(3deg);
  z-index: 2;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sash {
  position: absolute;
  top: 30%;
  left: -10%;
  right: -10%;
  height: 38%;
  background: linear-gradient(135deg, rgba(180,253,225,0.12) 0%, rgba(173,216,230,0.10) 50%, rgba(23,38,32,0) 100%);
  transform: skewY(-8deg);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 24px;
  max-width: 600px;
  backdrop-filter: blur(2px);
}

.hero-h1 {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 40px rgba(180,253,225,0.25);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== 首页内容区通用 section ===== */
.section-channels,
.section-articles,
.home-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 15px;
  color: var(--text-faint);
}

/* ===== 首页 channel 卡片网格 ===== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.chan-card { display: flex; flex-direction: column; }

.card-thumb-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--bg);
}
.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.chan-card:hover .card-thumb-wrap img { transform: scale(1.05); }

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--mint); }
.card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* ===== 首页 article 卡片网格 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.art-card { display: flex; flex-direction: column; }
.art-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.art-tag, .art-tag-badge, .child-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(180,253,225,0.15);
  color: var(--mint);
  border: 1.5px solid rgba(180,253,225,0.3);
  margin-bottom: 8px;
}
.art-date, .child-date {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 8px;
}
.art-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.45; }
.art-title a { color: var(--text); }
.art-title a:hover { color: var(--mint); }
.art-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* ===== 频道页 ===== */
.channel-hero {
  background: linear-gradient(160deg, rgba(180,253,225,0.08), rgba(173,216,230,0.06));
  border-bottom: var(--border);
  padding: 60px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.channel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(180,253,225,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.channel-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.channel-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mint);
  background: rgba(180,253,225,0.12);
  border: 1.5px solid rgba(180,253,225,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.channel-h1 { font-size: clamp(24px,4vw,42px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.02em; }
.channel-desc { font-size: 16px; color: var(--text-muted); line-height: 1.65; }

.channel-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: start;
}

.channel-main { min-width: 0; }

.children-section { margin-top: 56px; }
.children-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(180,253,225,0.2);
}

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

.child-card {
  display: flex;
  flex-direction: column;
  animation: staggerIn 0.45s var(--bounce) both;
  animation-delay: calc(var(--stagger, 0) * 0.07s);
}
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.child-thumb-wrap {
  height: 160px;
  overflow: hidden;
  background: var(--bg);
}
.child-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.child-card:hover .child-thumb-wrap img { transform: scale(1.06); }

.child-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.child-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.child-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.child-title a { color: var(--text); }
.child-title a:hover { color: var(--mint); }
.child-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* ===== 侧边栏 ===== */
.channel-sidebar,
.art-sidebar,
.about-sidebar,
.privacy-sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-block { padding: 20px; }
.sidebar-block-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(180,253,225,0.2);
}

.sidebar-links { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
  border: 1.5px solid transparent;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidebar-link:hover {
  background: rgba(180,253,225,0.1);
  color: var(--mint);
  border-color: rgba(180,253,225,0.2);
}

.sidebar-info { display: flex; flex-direction: column; gap: 8px; }
.info-label { font-size: 12px; color: var(--text-faint); letter-spacing: 0.04em; }
.info-value { font-size: 14px; color: var(--text); display: block; }

/* ===== 文章页 ===== */
.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: start;
}

.art-main { min-width: 0; }

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.bc-item a { color: var(--text-faint); }
.bc-item a:hover { color: var(--mint); }
.bc-item--current { color: var(--text-muted); }
.bc-sep { color: var(--text-faint); }

/* 文章头部 */
.art-header { margin-bottom: 36px; }
.art-hero-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  border: var(--border);
  box-shadow: var(--shadow-clay);
  max-height: 420px;
}
.art-hero-img { width: 100%; height: 100%; object-fit: cover; max-height: 420px; }

.art-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.art-pubdate { font-size: 13px; color: var(--text-faint); }
.art-category-link {
  font-size: 13px;
  color: var(--sky);
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(173,216,230,0.12);
  border: 1.5px solid rgba(173,216,230,0.25);
}
.art-category-link:hover { background: rgba(173,216,230,0.22); color: var(--sky); }

.art-h1 {
  font-size: clamp(22px,3.5vw,38px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.art-lead { font-size: 17px; color: var(--text-muted); line-height: 1.65; }

/* 相关文章 */
.related-section { margin-top: 60px; padding-top: 36px; border-top: 2px solid rgba(180,253,225,0.15); }
.related-title { font-size: 20px; font-weight: 700; color: var(--mint); margin-bottom: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.sib-card { display: flex; flex-direction: column; }
.sib-card-body { padding: 16px; flex: 1; }
.sib-date { font-size: 12px; color: var(--text-faint); }
.sib-title { font-size: 15px; font-weight: 600; margin: 8px 0 6px; line-height: 1.4; }
.sib-title a { color: var(--text); }
.sib-title a:hover { color: var(--mint); }
.sib-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ===== 正文容器 ===== */
.page-article { min-width: 0; }

.content-section { }
.content-inner.prose {
  max-width: 760px;
}
.content-inner.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--mint);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--mint);
  line-height: 1.3;
}
.content-inner.prose h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--sky);
  margin: 32px 0 12px;
  line-height: 1.35;
}
.content-inner.prose h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}
.content-inner.prose p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.content-inner.prose ul,
.content-inner.prose ol {
  margin: 16px 0 20px 22px;
}
.content-inner.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
  font-size: 16px;
  color: var(--text);
}
.content-inner.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(180,253,225,0.4);
  text-underline-offset: 3px;
}
.content-inner.prose a:hover {
  text-decoration-color: var(--mint);
}
.content-inner.prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(180,253,225,0.06);
  border-left: 4px solid var(--mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}
.content-inner.prose code {
  background: rgba(180,253,225,0.12);
  border: 1px solid rgba(180,253,225,0.2);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 14px;
  color: var(--mint);
  font-family: 'Courier New', monospace;
}
.content-inner.prose pre {
  background: rgba(0,0,0,0.4);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.content-inner.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
}
.content-inner.prose strong { color: #fff; font-weight: 600; }
.content-inner.prose hr {
  border: none;
  border-top: 2px solid rgba(180,253,225,0.15);
  margin: 36px 0;
}
.content-inner.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.content-inner.prose th,
.content-inner.prose td {
  padding: 11px 16px;
  border: 1.5px solid rgba(180,253,225,0.15);
  text-align: left;
}
.content-inner.prose th {
  background: rgba(180,253,225,0.1);
  color: var(--mint);
  font-weight: 600;
}
.content-inner.prose td { color: var(--text); }

/* home prose */
.home-content .content-inner.prose { max-width: 100%; }

/* ===== 关于页 ===== */
.about-hero {
  position: relative;
  padding: 70px 24px 55px;
  text-align: center;
  overflow: hidden;
  border-bottom: var(--border);
}
.about-hero-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.about-hero-deco--a {
  width: 400px;
  height: 400px;
  background: rgba(180,253,225,0.08);
  top: -80px;
  left: -80px;
}
.about-hero-deco--b {
  width: 350px;
  height: 350px;
  background: rgba(173,216,230,0.07);
  bottom: -60px;
  right: -60px;
}
.about-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.about-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sky);
  background: rgba(173,216,230,0.12);
  border: 1.5px solid rgba(173,216,230,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.about-h1 { font-size: clamp(24px,4vw,42px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.02em; }
.about-lead { font-size: 17px; color: var(--text-muted); line-height: 1.65; }

.about-layout,
.privacy-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: start;
}

.about-main, .privacy-main { min-width: 0; }

.about-info-card .about-info-list { display: flex; flex-direction: column; gap: 14px; }
.about-info-item { display: flex; flex-direction: column; gap: 4px; }

/* ===== 隐私政策页 ===== */
.privacy-hero {
  background: linear-gradient(160deg, rgba(173,216,230,0.08), rgba(180,253,225,0.05));
  border-bottom: var(--border);
  padding: 60px 24px 48px;
  text-align: center;
}
.privacy-hero-inner { max-width: 680px; margin: 0 auto; }
.privacy-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.privacy-h1 { font-size: clamp(22px,3.5vw,36px); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.privacy-lead { font-size: 16px; color: var(--text-muted); }
.privacy-updated { font-size: 13px; color: var(--text-faint); margin-top: 12px; }

/* ===== 页脚 ===== */
.site-footer {
  background: rgba(5,12,9,0.98);
  border-top: var(--border);
  padding: 60px 24px 24px;
  margin-top: 40px;
}

.footer-brand-row {
  text-align: center;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
  opacity: 0.85;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(180,253,225,0.15);
}
.footer-col-text { font-size: 13px; color: var(--text-faint); line-height: 1.7; }

.footer-nav-dl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.footer-nav-dl dt { display: contents; }
.footer-nav-dl dd { margin: 0; }
.footer-nav-dl a {
  font-size: 13px;
  color: var(--text-faint);
  display: block;
  padding: 5px 0;
  transition: color var(--transition);
  min-height: 32px;
  display: flex;
  align-items: center;
}
.footer-nav-dl a:hover { color: var(--mint); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(180,253,225,0.08);
  font-size: 13px;
  color: var(--text-faint);
}

/* ===== 动效 (stagger) ===== */
@media (prefers-reduced-motion: no-preference) {
  .child-card {
    animation: staggerIn 0.45s var(--bounce) both;
    animation-delay: calc(var(--stagger, 0) * 0.07s);
  }
  .chan-card, .art-card {
    animation: staggerIn 0.4s var(--bounce) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .channel-layout,
  .article-layout,
  .about-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .channel-sidebar,
  .art-sidebar,
  .about-sidebar,
  .privacy-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-block { flex: 1 1 240px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .brand-row { padding: 12px 16px 8px; }
  .brand-name { font-size: 18px; }
  .nav-inner { padding: 6px 12px; gap: 2px; }
  .nav-link { font-size: 13px; padding: 8px 10px; }

  .hero { min-height: 70vh; }
  .hero-img-wrap--a { width: 48%; top: 5%; left: 2%; }
  .hero-img-wrap--b { width: 46%; bottom: 4%; right: 2%; }
  .hero-h1 { font-size: 26px; }

  .section-channels,
  .section-articles,
  .home-content {
    padding: 40px 16px;
  }
  .channels-grid,
  .articles-grid { grid-template-columns: 1fr; }

  .channel-layout,
  .article-layout,
  .about-layout,
  .privacy-layout {
    padding: 28px 16px 48px;
    gap: 24px;
  }

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

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand-name { font-size: clamp(36px,12vw,64px); }
  .site-footer { padding: 40px 16px 20px; }

  .art-h1 { font-size: 22px; }
  .channel-h1 { font-size: 24px; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 18px; }
  .hero-img-wrap--a, .hero-img-wrap--b { width: 55%; }
  .hero-img-wrap--a { left: -4%; }
  .hero-img-wrap--b { right: -4%; }
  .sidebar-block { flex: 1 1 100%; }
}
