@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

/* ============================================================
   CSS 自定义属性
============================================================ */
:root {
  --c-primary: #ff0080;
  --c-secondary: #ff00ff;
  --c-dark: #26171f;
  --c-dark2: #1a0f16;
  --c-dark3: #2e1c28;
  --c-surface: #341e2e;
  --c-surface2: #3d2438;
  --c-text: #f5e6f0;
  --c-text-muted: #c9a8be;
  --c-border: rgba(255, 0, 128, 0.2);
  --c-glow: rgba(255, 0, 128, 0.35);
  --c-glow2: rgba(255, 0, 255, 0.25);
  --radius-card: 18px;
  --radius-pill: 999px;
  --font-head: 'Lexend Mega', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --nav-h: 68px;
  --announce-h: 36px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--c-dark2);
  color: var(--c-text);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--c-dark2);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-secondary); }
ul, menu { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

/* ============================================================
   极光背景
============================================================ */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}

.aurora-layer.a1 {
  width: 70vw; height: 50vh;
  top: -15vh; left: -20vw;
  background: radial-gradient(ellipse, #ff0080 0%, transparent 70%);
  animation-duration: 14s;
}

.aurora-layer.a2 {
  width: 60vw; height: 60vh;
  top: 20vh; right: -15vw;
  background: radial-gradient(ellipse, #ff00ff 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -6s;
}

.aurora-layer.a3 {
  width: 50vw; height: 40vh;
  bottom: 5vh; left: 30vw;
  background: radial-gradient(ellipse, #a000ff 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -3s;
}

.aurora-dim .aurora-layer { opacity: 0.3; }

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4vw, -3vh) scale(1.08); }
  66% { transform: translate(-3vw, 4vh) scale(0.95); }
  100% { transform: translate(2vw, 2vh) scale(1.04); }
}

/* ============================================================
   公告栏
============================================================ */
.announce-bar {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, var(--c-dark2) 0%, var(--c-surface) 50%, var(--c-dark2) 100%);
  border-bottom: 1px solid var(--c-border);
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.announce-bar span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(15vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   Header / Nav
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(38, 23, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}

.main-nav { position: relative; }

/* details/summary nav */
.nav-details { position: relative; }
.nav-details[open] > summary .nav-hamburger { opacity: 0.5; }

.nav-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.nav-summary::-webkit-details-marker { display: none; }
.nav-summary::marker { display: none; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark { border-radius: 6px; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* desktop: hide summary brand + hamburger, show full menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.nav-right { justify-content: flex-end; }

.nav-logo-center {
  flex-shrink: 0;
  padding: 0 1rem;
}

.brand-center {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-center:hover {
  opacity: 0.85;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-pill:hover,
.nav-pill[aria-current="page"] {
  color: var(--c-text);
  background: rgba(255, 0, 128, 0.15);
  border-color: var(--c-border);
}

/* ============================================================
   Buttons
============================================================ */
.btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 0 18px var(--c-glow);
  text-decoration: none;
  white-space: nowrap;
}

.btn-capsule:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px var(--c-glow), 0 0 60px var(--c-glow2);
  filter: brightness(1.1);
  color: #fff;
}

.btn-hero {
  height: 52px;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-large {
  height: 56px;
  padding: 0 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  height: 36px;
  padding: 0 1rem;
  font-size: 0.8rem;
}

/* ============================================================
   眉题 / Eyebrow
============================================================ */
small.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.4rem;
}

/* ============================================================
   极光网格装饰
============================================================ */
.hero-grid-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 128, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 128, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: inherit;
  pointer-events: none;
}

.prism-deco {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #ff0080, #ff00ff, #a000ff, #0080ff, #00ffff, #ff0080
  );
  filter: blur(18px);
  opacity: 0.6;
  animation: prism-spin 8s linear infinite;
}

.prism-deco.large { width: 240px; height: 240px; }
.prism-deco.small { width: 80px; height: 80px; }

@keyframes prism-spin {
  to { filter: blur(18px) hue-rotate(360deg); }
}

.shimmer-bar {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-primary), var(--c-secondary), transparent);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: shimmer-move 3s linear infinite;
}

@keyframes shimmer-move {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   卡片通用
============================================================ */
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(255,0,128,0.08) 0%, rgba(255,0,255,0.05) 100%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}

.channel-card:hover .card-glow,
.child-card:hover .card-glow { opacity: 1; }

/* ============================================================
   主页 — Hero
============================================================ */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 45vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: center;
  gap: 2rem;
  padding: 4rem 5vw 3rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  grid-column: 1;
  grid-row: 1;
}

.hero-h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 20%, var(--c-primary) 60%, var(--c-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0;
}

.hero-aside {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  background: rgba(255,0,128,0.1);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  max-width: 38ch;
  line-height: 1.6;
}

/* ============================================================
   主页 — 频道网格
============================================================ */
.channels-section {
  position: relative;
  z-index: 2;
  padding: 3rem 5vw;
}

.channels-section > h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 2rem;
  color: var(--c-text);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.channel-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,0,128,0.2);
  border-color: var(--c-primary);
}

.channel-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
}

.channel-card h3 a { color: inherit; }
.channel-card h3 a:hover { color: var(--c-primary); }

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

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.card-links li a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-text-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-border);
  transition: all var(--transition);
}

.card-links li a:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
  background: rgba(255,0,128,0.1);
}

/* ============================================================
   主页 — 内容区块
============================================================ */
.content-section {
  position: relative;
  z-index: 2;
  padding: 3rem 5vw;
  display: grid;
  grid-template-columns: auto 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.content-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.content-aside h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-text);
}

.content-aside p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.main-content-body {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}

/* ============================================================
   主页 — 最新文章
============================================================ */
.recent-section {
  position: relative;
  z-index: 2;
  padding: 3rem 5vw;
}

.recent-section > h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 1.5rem;
  color: var(--c-text);
}

.art-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.art-row {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
  transition: border-color var(--transition), transform var(--transition);
}

.art-row:hover {
  border-color: var(--c-primary);
  transform: translateX(4px);
}

.art-meta { grid-column: 1; grid-row: 1 / 3; display: flex; align-items: center; }
.art-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.art-row h3 { font-size: 0.95rem; font-weight: 800; grid-column: 2; grid-row: 1; }
.art-row h3 a { color: var(--c-text); }
.art-row h3 a:hover { color: var(--c-primary); }
.art-row p { font-size: 0.82rem; color: var(--c-text-muted); grid-column: 2; grid-row: 2; }

/* ============================================================
   面包屑
============================================================ */
.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 5vw 0;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span[aria-hidden] { color: var(--c-border); }

/* ============================================================
   频道页
============================================================ */
.channel-main { position: relative; z-index: 2; }

.channel-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 5vw 2rem;
  align-items: center;
  min-height: 30vh;
}

.channel-hero-text { grid-column: 1; }
.channel-hero-text h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 20%, var(--c-primary) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.channel-aside-top {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-secondary);
  border: 1px solid var(--c-secondary);
  background: rgba(255,0,255,0.08);
}

.channel-aside-top p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 38ch;
}

.channel-hero-fig {
  grid-column: 1; grid-row: 2;
  display: flex; justify-content: flex-start; padding: 0;
}

/* channel content section */
.channel-content-section {
  display: grid;
  grid-template-columns: 20px 1fr 3fr;
  gap: 2rem;
  padding: 2rem 5vw 3rem;
  align-items: start;
}

.section-figure {
  grid-column: 1;
  padding-top: 2rem;
}

.channel-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + var(--announce-h) + 1rem);
}

.channel-body { grid-column: 3; }

/* children section */
.children-section {
  position: relative;
  z-index: 2;
  padding: 0 5vw 4rem;
}

.children-section > h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 1.5rem;
  color: var(--c-text);
}

.child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.child-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.child-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary);
  box-shadow: 0 8px 30px rgba(255,0,128,0.18);
}

.child-card h3 { font-size: 0.95rem; font-weight: 800; }
.child-card h3 a { color: var(--c-text); }
.child-card h3 a:hover { color: var(--c-primary); }
.child-card p { font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.6; flex: 1; }
.child-date { font-size: 0.72rem; color: var(--c-primary); font-weight: 600; }

/* ============================================================
   侧边栏通用
============================================================ */
.sidebar-h2 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-link {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  border: 1px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
}

.sidebar-link:hover {
  color: var(--c-primary);
  border-color: var(--c-border);
  background: rgba(255,0,128,0.07);
}

/* ============================================================
   文章页
============================================================ */
.article-main { position: relative; z-index: 2; }

.article-header-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem 2rem;
  padding: 2rem 5vw 1.5rem;
  align-items: start;
}

.article-hero-figure {
  grid-column: 2;
  grid-row: 1 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.art-placeholder {
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface2) 100%);
  border: 1px solid var(--c-border);
}

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

.article-meta-aside {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.article-channel-tag a {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-secondary);
  border: 1px solid var(--c-secondary);
  background: rgba(255,0,255,0.08);
  letter-spacing: 0.05em;
}

.article-channel-tag a:hover { background: rgba(255,0,255,0.18); color: var(--c-secondary); }

.article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.art-pub-date, .art-mod-date {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

.article-title-block {
  grid-column: 1;
  grid-row: 2;
}

.article-title-block h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--c-text);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.article-lead {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 52ch;
}

/* article body */
.article-body-section {
  display: grid;
  grid-template-columns: 20px 1fr 3fr;
  gap: 2rem;
  padding: 2rem 5vw 4rem;
  align-items: start;
}

.article-body-fig { grid-column: 1; padding-top: 2rem; }

.article-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + var(--announce-h) + 1rem);
}

.article-prose {
  grid-column: 3;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

.article-prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: var(--c-text);
}

.article-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--c-primary);
}

.article-prose p { margin-bottom: 1rem; }
.article-prose ul, .article-prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-prose li { margin-bottom: 0.4rem; }
.article-prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-prose strong { color: var(--c-text); font-weight: 700; }

/* ============================================================
   关于页 / 隐私页 通用
============================================================ */
.about-main, .privacy-main { position: relative; z-index: 2; }

.about-intro-section, .privacy-header-section {
  display: grid;
  grid-template-columns: auto 1fr 2fr;
  gap: 2rem;
  padding: 3rem 5vw 2rem;
  align-items: center;
  min-height: 28vh;
}

.about-fig, .privacy-fig {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-aside, .privacy-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  background: rgba(255,0,128,0.08);
  letter-spacing: 0.1em;
}

.about-quick-links, .privacy-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-quick-links a, .privacy-nav-links a {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.about-quick-links a:hover, .privacy-nav-links a:hover { color: var(--c-primary); }

.about-title-block h1, .privacy-title-block h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.about-lead, .privacy-title-block p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.about-content-section, .privacy-body-section {
  display: grid;
  grid-template-columns: 20px 1fr 3fr;
  gap: 2rem;
  padding: 2rem 5vw 4rem;
  align-items: start;
}

.about-content-fig, .privacy-body-fig { grid-column: 1; padding-top: 2rem; }

.about-sidebar, .privacy-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + var(--announce-h) + 1rem);
}

.about-prose, .privacy-prose {
  grid-column: 3;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

.about-prose h2, .privacy-prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: var(--c-text);
}

.about-prose h3, .privacy-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--c-primary);
}

.about-prose p, .privacy-prose p { margin-bottom: 1rem; }
.about-prose ul, .privacy-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.about-prose li, .privacy-prose li { margin-bottom: 0.4rem; }
.about-prose a, .privacy-prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }

.privacy-date {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

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

.footer-cta {
  background: linear-gradient(135deg, rgba(255,0,128,0.15) 0%, rgba(255,0,255,0.1) 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 3rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-cta h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--c-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 5vw;
}

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-brand {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col > strong {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.08em;
}

.footer-col p {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.footer-col ul li a:hover { color: var(--c-primary); }

.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom > span {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links li a {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
}

.footer-bottom-links li a:hover { color: var(--c-primary); }

/* ============================================================
   Scroll Reveal 动效
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ============================================================
   移动端 — 375px
============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* nav */
  .nav-summary { padding: 0 1rem; }
  .nav-brand .brand-text { font-size: 0.75rem; }

  .nav-menu {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 1rem 1rem;
    gap: 0.5rem;
    border-top: 1px solid var(--c-border);
    background: rgba(38, 23, 31, 0.97);
  }

  .nav-left, .nav-right {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-logo-center { display: none; }

  .nav-pill {
    height: 40px;
    padding: 0 0.8rem;
    font-size: 0.78rem;
  }

  /* hero */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 1rem 1.5rem;
    gap: 1.25rem;
  }

  .hero-content, .hero-aside { grid-column: 1; }
  .hero-aside { grid-row: 2; }
  .hero-content { grid-row: 1; }

  /* channels */
  .channels-section { padding: 2rem 1rem; }
  .channel-grid { grid-template-columns: 1fr; }

  /* content section */
  .content-section {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  .content-figure { display: none; }
  .content-aside { grid-column: 1; }
  .main-content-body { grid-column: 1; }

  /* recent */
  .recent-section { padding: 2rem 1rem; }
  .art-row { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0.3rem; }
  .art-meta { grid-column: 1; grid-row: auto; }
  .art-date { writing-mode: horizontal-tb; }
  .art-row h3, .art-row p { grid-column: 1; grid-row: auto; }

  /* channel page */
  .channel-hero-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    min-height: auto;
    gap: 1rem;
  }
  .channel-hero-text { grid-column: 1; grid-row: 1; }
  .channel-aside-top { grid-column: 1; grid-row: 2; }
  .channel-hero-fig { display: none; }

  .channel-content-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 2rem;
  }
  .section-figure { display: none; }
  .channel-sidebar { grid-column: 1; position: static; }
  .channel-body { grid-column: 1; }

  .children-section { padding: 0 1rem 3rem; }
  .child-list { grid-template-columns: 1fr; }

  /* article page */
  .article-header-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 1.5rem 1rem 1rem;
    gap: 1rem;
  }
  .article-hero-figure { grid-column: 1; grid-row: 1; min-height: 160px; }
  .article-meta-aside { grid-column: 1; grid-row: 2; }
  .article-title-block { grid-column: 1; grid-row: 3; }

  .article-body-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
  }
  .article-body-fig { display: none; }
  .article-sidebar { grid-column: 1; position: static; }
  .article-prose { grid-column: 1; }

  /* about/privacy */
  .about-intro-section, .privacy-header-section {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 1.5rem;
    min-height: auto;
  }
  .about-fig, .privacy-fig { display: none; }
  .about-aside, .privacy-aside { grid-column: 1; }
  .about-title-block, .privacy-title-block { grid-column: 1; }

  .about-content-section, .privacy-body-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
  }
  .about-content-fig, .privacy-body-fig { display: none; }
  .about-sidebar, .privacy-sidebar { grid-column: 1; position: static; }
  .about-prose, .privacy-prose { grid-column: 1; }

  /* footer */
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
  }

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

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

  /* tap area */
  .btn-capsule { min-height: 44px; }
  .footer-col ul li a { min-height: 40px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .announce-bar span { font-size: 0.7rem; }
}

/* ============================================================
   prefers-reduced-motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   内容排版辅助
============================================================ */
.content-prose {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-text);
}

.content-prose h2 { font-size: 1.3rem; font-weight: 800; margin: 1.75rem 0 0.65rem; }
.content-prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 0.45rem; color: var(--c-primary); }
.content-prose p { margin-bottom: 0.9rem; }
.content-prose ul, .content-prose ol { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.content-prose li { margin-bottom: 0.35rem; }
.content-prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }

.empty-tip {
  color: var(--c-text-muted);
  font-size: 0.88rem;
  padding: 1rem 0;
}
