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

/* ===== 变量与重置 ===== */
:root {
  --red: #ff0000;
  --pink: #ff1493;
  --dark: #261717;
  --dark2: #1a0f0f;
  --dark3: #0f0808;
  --light: #fff8f8;
  --muted: #b07070;
  --nav-w: 240px;
  --radius: 28px;
  --radius-sm: 12px;
  --font: 'Outfit', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: var(--font);
  background: var(--dark3);
  color: var(--light);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul, ol, menu { list-style: none; }

/* ===== 极光动画 ===== */
@keyframes aurora-shift {
  0%   { background-position: 0% 50%; filter: saturate(1.2) hue-rotate(0deg); }
  50%  { background-position: 100% 50%; filter: saturate(1.5) hue-rotate(20deg); }
  100% { background-position: 0% 50%; filter: saturate(1.2) hue-rotate(0deg); }
}

@keyframes aurora-morph {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1) rotate(0deg); }
  33%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: scale(1.04) rotate(3deg); }
  66%      { border-radius: 70% 30% 40% 60% / 40% 70% 60% 30%; transform: scale(0.97) rotate(-2deg); }
}

@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

@keyframes gradient-sweep {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

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

/* ===== 极光底纹辅助 ===== */
.hero-aurora,
.banner-aurora,
.about-aurora,
.tag-aurora,
.privacy-aurora,
.article-aurora,
.default-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,20,147,0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,0,0,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(255,20,147,0.25) 0%, transparent 50%),
    conic-gradient(from 180deg at 50% 50%, #261717 0deg, #3d1a1a 90deg, #261717 180deg, #1a0d0d 270deg, #261717 360deg);
  background-size: 200% 200%;
  animation: aurora-shift 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ===== 布局骨架 ===== */
.page-wrap {
  display: flex;
  min-height: 100vh;
}

/* ===== 左侧竖排导航（details + summary + menu） ===== */
.site-nav {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--nav-w);
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark3) 100%);
  border-right: 1px solid rgba(255,20,147,0.18);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.site-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(255,20,147,0.15);
  user-select: none;
}

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

.nav-brand {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--dark2) 80%, transparent);
  z-index: 2;
}

.brand-text {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  flex: 1;
}

.nav-toggle-icon {
  font-size: 1.4rem;
  color: var(--muted);
  flex-shrink: 0;
}

.nav-search {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,20,147,0.1);
}

.nav-search input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,20,147,0.25);
  border-radius: var(--radius-sm);
  color: var(--light);
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition);
}

.nav-search input:focus { border-color: var(--pink); }
.nav-search input::placeholder { color: var(--muted); }

.nav-menu {
  padding: 12px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nav-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,248,248,0.8);
  letter-spacing: 0.02em;
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-menu li a:hover,
.nav-menu li a[aria-current="page"] {
  background: rgba(255,20,147,0.12);
  color: var(--pink);
  border-left-color: var(--pink);
}

/* ===== 内容区域 ===== */
.content-area {
  margin-left: var(--nav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

main { flex: 1; }

/* ===== 通用 section + aside 布局（契约：main > section > figure/aside） ===== */
.content-section {
  display: flex;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  width: 100%;
}

.sidebar {
  width: 220px;
  flex-shrink: 0;
  padding-right: 28px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.sidebar small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 6px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.sidebar-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-list li a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,248,248,0.85);
  padding: 6px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.sidebar-list li a:hover { color: var(--pink); }

.sidebar-list li small {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.sidebar-link {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-list li a {
  display: flex;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255,248,248,0.8);
  padding: 8px 0;
  min-height: 40px;
  transition: color var(--transition);
}

.sidebar-nav-list li a:hover { color: var(--pink); }

.main-content {
  flex: 1;
  min-width: 0;
}

/* ===== 面包屑 ===== */
.breadcrumb-aside {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 16px 32px;
  position: relative;
  z-index: 2;
}

.breadcrumb-aside a { color: var(--muted); }
.breadcrumb-aside a:hover { color: var(--pink); }
.breadcrumb-aside span[aria-hidden] { color: rgba(255,20,147,0.5); }

/* ===== Hero 区（home） ===== */
.hero-section {
  display: flex;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,20,147,0.15);
}

.hero-figure {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  background: var(--dark2);
  min-height: 70vh;
}

.hero-figure .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  animation: float-y 8s ease-in-out infinite;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 52px;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,0,0,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(255,20,147,0.1) 0%, transparent 50%);
}

/* 极光网格底纹 */
.hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,20,147,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,20,147,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

.hero-text > * { position: relative; z-index: 1; }

.eyebrow-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.4);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.hero-h1 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 30%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,248,248,0.75);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
  min-height: 48px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(255,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,0,0,0.5);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,20,147,0.5);
  min-height: 48px;
  transition: background var(--transition), border-color var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,20,147,0.12);
  border-color: var(--pink);
  color: var(--pink);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 10px 0;
  min-height: 40px;
  margin-top: 32px;
}

.btn-back:hover { color: var(--pink); }

/* ===== 精选卡片网格 ===== */
.featured-section {
  padding: 48px 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--light);
  margin-bottom: 28px;
}

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

.card {
  background: linear-gradient(135deg, rgba(38,23,23,0.9), rgba(26,15,15,0.95));
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,20,147,0.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,0,0,0.2);
  border-color: rgba(255,20,147,0.35);
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.card-img {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark2);
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card:hover .card-thumb { transform: scale(1.04); }

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.4;
}

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

.card-date {
  font-size: 0.74rem;
  color: rgba(176,112,112,0.7);
  margin-top: 4px;
}

/* ===== 页面 Header（section/about/tag/privacy） ===== */
.page-header-section,
.about-header-section,
.tag-header-section,
.privacy-header-section,
.article-header-section {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 36px;
}

.section-banner,
.about-hero-figure,
.tag-banner-figure,
.privacy-banner-figure,
.article-hero-figure,
.default-banner-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.page-h1,
.about-h1,
.tag-h1,
.privacy-h1,
.article-h1 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 20%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  line-height: 1.15;
}

.page-subtitle,
.tag-desc {
  font-size: 0.95rem;
  color: rgba(255,248,248,0.7);
  padding: 12px 32px 0;
  max-width: 700px;
  position: relative;
  z-index: 2;
  line-height: 1.65;
}

/* ===== 文章页 ===== */
.article-header-section {
  min-height: 280px;
}

.article-hero-figure {
  position: absolute;
  inset: 0;
}

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 32px 12px;
  position: relative;
  z-index: 2;
}

.article-date {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.4);
  border-radius: 999px;
  padding: 4px 12px;
  min-height: 28px;
  transition: background var(--transition);
}

.tag-pill:hover {
  background: rgba(255,20,147,0.15);
  color: var(--pink);
}

/* ===== 文章正文 Prose ===== */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,248,248,0.88);
  max-width: 780px;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--light);
  margin: 2.2em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,20,147,0.25);
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--light);
  margin: 1.8em 0 0.6em;
}

.prose p { margin-bottom: 1.3em; }

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.3em;
  list-style: revert;
}

.prose li { margin-bottom: 0.5em; }

.prose a {
  color: var(--pink);
  border-bottom: 1px solid rgba(255,20,147,0.3);
  transition: border-color var(--transition);
}

.prose a:hover { border-color: var(--pink); }

.prose blockquote {
  border-left: 3px solid var(--pink);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: rgba(255,20,147,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: rgba(255,248,248,0.75);
}

.prose code {
  background: rgba(255,20,147,0.1);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: var(--pink);
}

/* ===== 文章 Footer Nav ===== */
.article-footer-nav { margin-top: 40px; }

/* ===== 相关文章列表 ===== */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.related-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related-list li a {
  font-size: 0.82rem;
  color: rgba(255,248,248,0.8);
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.related-list li a:hover { color: var(--pink); }
.related-list li small { font-size: 0.7rem; color: var(--muted); }

.sidebar-tags {
  border-top: 1px solid rgba(255,20,147,0.12);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.no-related { font-size: 0.8rem; color: var(--muted); }

/* ===== 栏目子页列表 ===== */
.child-list-wrap {
  margin-top: 48px;
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-item {
  background: linear-gradient(135deg, rgba(38,23,23,0.8), rgba(26,15,15,0.9));
  border-radius: var(--radius);
  border: 1px solid rgba(255,20,147,0.1);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.story-item:hover {
  border-color: rgba(255,20,147,0.3);
  transform: translateX(4px);
}

.story-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  color: inherit;
}

.story-img {
  width: 80px;
  height: 60px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--dark2);
}

.list-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--pink);
  background: rgba(255,20,147,0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.story-info { flex: 1; min-width: 0; }

.story-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1.4;
  margin-bottom: 4px;
}

.story-desc {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-date {
  font-size: 0.72rem;
  color: rgba(176,112,112,0.7);
  display: block;
  margin-top: 4px;
}

/* ===== 标签页文章列表 ===== */
.tag-story-list-wrap { margin-top: 40px; }

.tag-story-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-story-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(38,23,23,0.7);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,20,147,0.1);
  transition: border-color var(--transition);
}

.tag-story-item:hover { border-color: rgba(255,20,147,0.3); }

.tag-story-item a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,248,248,0.85);
  flex: 1;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.tag-story-item a:hover { color: var(--pink); }
.tag-story-item small { font-size: 0.72rem; color: var(--muted); }

.tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* ===== About 页 ===== */
.about-h1 {
  padding: 0 32px;
}

.about-body { margin-bottom: 48px; }

.about-links { margin-top: 48px; }

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: rgba(38,23,23,0.7);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,20,147,0.1);
}

.channel-list li a {
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255,248,248,0.9);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.channel-list li a:hover { color: var(--pink); }
.channel-list li small { font-size: 0.75rem; color: var(--muted); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,20,147,0.15);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
  max-width: 240px;
}

.footer-brand-name {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--red), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  flex: 1;
}

.footer-nav a {
  font-size: 0.78rem;
  color: rgba(255,248,248,0.65);
  padding: 6px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--pink); }

.footer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-copy a {
  color: var(--muted);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-copy a:hover { color: var(--pink); }

/* ===== h2 前 small 眉题 ===== */
.section-heading {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--light);
  margin-bottom: 24px;
}

small + h2,
small + h3 {
  margin-top: 4px;
}

/* ===== 移动端响应 ===== */
@media (max-width: 900px) {
  :root { --nav-w: 0px; }

  .page-wrap { flex-direction: column; }

  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: auto;
    width: 100%;
    height: auto;
    max-height: 100vh;
    border-right: none;
    border-bottom: 1px solid rgba(255,20,147,0.18);
    z-index: 200;
    overflow-y: auto;
  }

  .site-nav[open] .nav-menu { display: flex; }
  .site-nav:not([open]) .nav-menu { display: none; }
  .site-nav:not([open]) .nav-search { display: none; }

  .nav-menu { flex-direction: row; flex-wrap: wrap; padding: 8px 12px 16px; }
  .nav-menu li a { font-size: 0.78rem; padding: 10px 12px; }

  .content-area {
    margin-left: 0;
    margin-top: 60px;
  }

  .hero-section {
    flex-direction: column;
    min-height: auto;
  }

  .hero-figure {
    flex: none;
    height: 200px;
    min-height: auto;
  }

  .hero-text {
    padding: 36px 24px 40px;
  }

  .content-section {
    flex-direction: column;
    padding: 24px 20px 40px;
  }

  .sidebar {
    width: 100%;
    padding-right: 0;
    padding-bottom: 28px;
    position: static;
    border-bottom: 1px solid rgba(255,20,147,0.12);
    margin-bottom: 28px;
  }

  .page-h1,
  .about-h1,
  .tag-h1,
  .privacy-h1,
  .article-h1 {
    padding: 0 20px;
    font-size: 1.5rem;
  }

  .page-subtitle, .tag-desc {
    padding: 10px 20px 0;
  }

  .breadcrumb-aside { padding: 12px 20px; }

  .featured-section { padding: 32px 20px 40px; }

  .card-grid { grid-template-columns: 1fr; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .footer-copy { align-items: flex-start; }

  .article-meta { padding: 0 20px 12px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.5rem; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .story-link { padding: 14px 16px; }
  .story-img { width: 60px; height: 45px; }
}
