/* ===== 基础重置与变量 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-bg: #000000;
  --c-bg2: #121212;
  --c-bg3: #1a1a1a;
  --c-border: #2a2a2a;
  --c-border-hi: #3a3a3a;
  --c-text: #e0e0e0;
  --c-text-dim: #888888;
  --c-text-dimmer: #555555;
  --c-accent: #c8a96e;
  --c-accent2: #4fc3f7;
  --c-accent3: #ce93d8;
  --c-white: #ffffff;
  --c-danger: #ef5350;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --nav-h: 64px;
  --max-w: 1200px;
  --prose-max: 760px;
  --transition: 0.2s ease;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--c-white);
}
a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ===== 点阵底纹 ===== */
.hero-dot-bg,
.cat-hero-dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ===== 站点包装 ===== */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== HERO（首页） ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 0 24px;
  overflow: hidden;
  background: var(--c-bg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-top: clamp(100px, 18vh, 180px);
  padding-bottom: 80px;
}

.hero-h1 {
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(200, 169, 110, 0.15);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--c-text-dim);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--c-border-hi);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-bg2);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.hero-tag:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(200, 169, 110, 0.08);
}

/* ===== 区块标题 ===== */
.section-heading {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading span {
  position: relative;
}
.section-heading span::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--c-accent);
  margin-top: 4px;
  border-radius: 1px;
}
.heading-count {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.heading-count::after {
  display: none;
}

/* ===== 首页各区块 ===== */
.content-section,
.home-content {
  padding: 60px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.content-inner {
  min-width: 0;
}

.categories-section,
.latest-section {
  padding: 60px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* ===== 分类卡片格 ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.cat-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg2);
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.cat-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

.cat-card__inner {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
  color: var(--c-text);
  height: 100%;
}
.cat-card__inner:hover {
  color: var(--c-text);
}

.cat-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-white);
}
.cat-card__title span {
  display: block;
}

.cat-card__desc {
  font-size: 0.875rem;
  color: var(--c-text-dim);
  line-height: 1.6;
  flex: 1;
}

.cat-card__count {
  font-size: 0.8rem;
  color: var(--c-accent);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cat-card__arrow {
  font-size: 1rem;
  color: var(--c-text-dimmer);
  align-self: flex-end;
  transition: color var(--transition);
}
.cat-card:hover .cat-card__arrow {
  color: var(--c-accent);
}

/* ===== 入口卡片格 ===== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.entry-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg2);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.entry-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

.entry-card__link {
  display: flex;
  flex-direction: column;
  color: var(--c-text);
  height: 100%;
}
.entry-card__link:hover {
  color: var(--c-text);
}

.entry-card__thumb {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-bg3);
}
.entry-card__thumb .entry-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.entry-card:hover .entry-card__img {
  transform: scale(1.04);
}

.entry-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.entry-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.4;
}
.entry-card__title span {
  display: block;
}

.entry-card__desc {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  line-height: 1.5;
  flex: 1;
}

.entry-card__date {
  font-size: 0.78rem;
  color: var(--c-text-dimmer);
  margin-top: 4px;
}

/* ===== ecard (category/tag 页通用) ===== */
.ecard {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg2);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.ecard:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

.ecard__link {
  display: flex;
  flex-direction: column;
  color: var(--c-text);
  height: 100%;
}
.ecard__link:hover {
  color: var(--c-text);
}

.ecard__thumb {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-bg3);
}
.ecard__thumb .ecard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ecard:hover .ecard__img {
  transform: scale(1.04);
}

.ecard__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.ecard__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.4;
}
.ecard__title span {
  display: block;
}

.ecard__desc {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  line-height: 1.5;
  flex: 1;
}

.ecard__date {
  font-size: 0.78rem;
  color: var(--c-text-dimmer);
}

/* ===== 侧边栏通用 ===== */
.home-aside,
.cat-aside,
.entry-aside,
.tag-aside,
.about-aside,
.privacy-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.aside-block {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.aside-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aside-title span {
  display: block;
  border-bottom: 1px solid var(--c-border-hi);
  padding-bottom: 10px;
}

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

.aside-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--c-border-hi);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--c-text-dim);
  background: transparent;
  transition: all var(--transition);
}
.aside-tag:hover,
.aside-tag--active {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(200, 169, 110, 0.08);
}

.aside-cat-list li {
  border-bottom: 1px solid var(--c-border);
  padding: 6px 0;
}
.aside-cat-list li:last-child {
  border-bottom: none;
}
.aside-cat-list a {
  font-size: 0.875rem;
  color: var(--c-text);
  display: block;
  padding: 2px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.aside-cat-list a:hover,
.aside-cat-list a.active {
  color: var(--c-accent);
  padding-left: 6px;
}

.aside-nav-list li {
  padding: 5px 0;
}
.aside-nav-list a {
  font-size: 0.875rem;
  color: var(--c-text-dim);
  display: block;
}
.aside-nav-list a:hover {
  color: var(--c-accent);
}

/* ===== 分类页 ===== */
.main-category,
.main-tag,
.main-about,
.main-privacy {
  flex: 1;
}

.cat-hero-section,
.tag-hero-section {
  position: relative;
  padding: 80px 24px 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}

.cat-hero-content,
.tag-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cat-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.cat-h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cat-desc {
  font-size: 1rem;
  color: var(--c-text-dim);
  max-width: 600px;
  line-height: 1.8;
}

.cat-body-section,
.tag-body-section {
  padding: 52px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.cat-body-content,
.tag-body-content {
  min-width: 0;
}

.cat-content-prose,
.tag-content-prose {
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}

.cat-entries-label {
  margin-bottom: 8px;
}

.entries-list-section,
.tag-entries-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* ===== 入口详情页 ===== */
.main-entry {
  flex: 1;
}

.entry-header-section {
  padding: 60px 24px 40px;
  border-bottom: 1px solid var(--c-border);
}

.entry-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-dimmer);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--c-text-dimmer);
}
.breadcrumb a:hover {
  color: var(--c-accent);
}
.breadcrumb span {
  color: var(--c-text);
}

.entry-h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.entry-date,
.entry-date-mod {
  font-size: 0.82rem;
  color: var(--c-text-dimmer);
}

.entry-cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--c-border-hi);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--c-accent);
  background: rgba(200, 169, 110, 0.08);
}

.entry-hero-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  max-height: 520px;
}
.entry-hero-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.entry-body-section {
  padding: 52px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.entry-body-content {
  min-width: 0;
}

.entry-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text);
  max-width: var(--prose-max);
}

.entry-gallery {
  margin-top: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-bg2);
  aspect-ratio: 3/4;
}
.gallery-item .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.related-section {
  padding: 52px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--c-border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.rel-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg2);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.rel-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

.rel-card__link {
  display: flex;
  flex-direction: column;
  color: var(--c-text);
}
.rel-card__link:hover {
  color: var(--c-text);
}

.rel-card__thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg3);
}
.rel-card__thumb .rel-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rel-card:hover .rel-card__img {
  transform: scale(1.04);
}

.rel-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rel-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.4;
}
.rel-card__title span {
  display: block;
}

.rel-card__desc {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}

/* ===== 关于页 ===== */
.about-header-section,
.privacy-header-section {
  padding: 80px 24px 52px;
  border-bottom: 1px solid var(--c-border);
}

.about-header-inner,
.privacy-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-h1,
.privacy-h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--c-text-dim);
  max-width: 600px;
  line-height: 1.8;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--c-text-dimmer);
  margin-top: 12px;
  display: block;
}

.about-body-section,
.privacy-body-section {
  padding: 52px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

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

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

.about-nav-section {
  margin-top: 48px;
}

.about-cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.about-cat-list li a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg2);
  color: var(--c-text);
  transition: border-color var(--transition);
}
.about-cat-list li a:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
}
.about-cat-list strong {
  font-size: 0.95rem;
  color: var(--c-white);
}
.about-cat-list span {
  font-size: 0.82rem;
  color: var(--c-text-dim);
}

.about-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.85rem;
}
.about-info-list li:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--c-text-dim);
}

/* ===== 正文 prose 内样式 ===== */
.entry-prose h2,
.entry-prose h3,
.cat-content-prose h2,
.cat-content-prose h3,
.tag-content-prose h2,
.tag-content-prose h3,
.about-prose h2,
.about-prose h3,
.privacy-prose h2,
.privacy-prose h3,
.content-inner h2,
.content-inner h3 {
  color: var(--c-white);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}
.entry-prose h2,
.cat-content-prose h2,
.tag-content-prose h2,
.about-prose h2,
.privacy-prose h2,
.content-inner h2 {
  font-size: 1.35rem;
  border-left: 3px solid var(--c-accent);
  padding-left: 12px;
}
.entry-prose h3,
.cat-content-prose h3,
.tag-content-prose h3,
.about-prose h3,
.privacy-prose h3,
.content-inner h3 {
  font-size: 1.1rem;
}
.entry-prose p,
.cat-content-prose p,
.tag-content-prose p,
.about-prose p,
.privacy-prose p,
.content-inner p {
  margin-bottom: 1.2rem;
}
.entry-prose a,
.cat-content-prose a,
.tag-content-prose a,
.about-prose a,
.privacy-prose a,
.content-inner a {
  color: var(--c-accent2);
  border-bottom: 1px solid rgba(79, 195, 247, 0.3);
}
.entry-prose a:hover,
.cat-content-prose a:hover,
.tag-content-prose a:hover,
.about-prose a:hover,
.privacy-prose a:hover,
.content-inner a:hover {
  border-bottom-color: var(--c-accent2);
}
.entry-prose ul,
.about-prose ul,
.privacy-prose ul,
.content-inner ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.entry-prose ol,
.about-prose ol,
.privacy-prose ol,
.content-inner ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 48px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer > article {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.footer-brand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 28px;
}

.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--c-text-dim);
  line-height: 1.7;
  grid-column: 1;
  margin-top: 8px;
}

.footer-links {
  padding-bottom: 24px;
}

.footer-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.footer-dl dt,
.footer-dl dd {
  flex: 0 0 50%;
  padding: 4px 0;
}
.footer-dl a {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  transition: color var(--transition);
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
}
.footer-dl a:hover {
  color: var(--c-accent);
}

.footer-copy {
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
}
.copyright {
  font-size: 0.8rem;
  color: var(--c-text-dimmer);
  text-align: center;
}

/* ===== 底部导航栏 ===== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  height: var(--nav-h);
}

.bottom-nav-inner {
  height: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 8px;
}

.bottom-nav-dl {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  gap: 0;
}

.bottom-nav-dl dt,
.bottom-nav-dl dd {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bnav-brand {
  flex: 1.2 !important;
}
.bnav-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 40px;
  line-height: 1.2;
  text-align: center;
  transition: background var(--transition);
}
.bnav-brand a:hover {
  background: var(--c-white);
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-text-dim);
  font-size: 0.72rem;
  font-weight: 500;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 4px;
  border-radius: var(--radius);
  transition: color var(--transition);
  text-align: center;
  line-height: 1.3;
}
.bnav-item:hover,
.bnav-item--active {
  color: var(--c-accent);
}

.bnav-icon {
  font-size: 0.72rem;
  letter-spacing: -0.01em;
}

/* ===== 滚动显现动效 ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 断点 ===== */
@media (max-width: 900px) {
  .content-section,
  .home-content,
  .cat-body-section,
  .tag-body-section,
  .entry-body-section,
  .about-body-section,
  .privacy-body-section {
    grid-template-columns: 1fr;
  }

  .home-aside,
  .cat-aside,
  .entry-aside,
  .tag-aside,
  .about-aside,
  .privacy-aside {
    order: -1;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-desc {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 0 16px;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .cat-hero-section,
  .tag-hero-section {
    padding: 60px 16px 40px;
  }

  .cat-body-section,
  .tag-body-section,
  .entry-body-section,
  .about-body-section,
  .privacy-body-section,
  .content-section,
  .home-content,
  .categories-section,
  .latest-section,
  .related-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .entry-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .entries-list-section,
  .tag-entries-section,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    padding: 40px 16px 24px;
  }

  .footer-dl {
    flex-direction: column;
  }
  .footer-dl dt,
  .footer-dl dd {
    flex: none;
    width: 100%;
  }

  .bottom-nav-bar {
    height: calc(var(--nav-h) + 8px);
  }
}

@media (min-width: 901px) {
  .home-aside,
  .cat-aside,
  .entry-aside,
  .tag-aside,
  .about-aside,
  .privacy-aside {
    position: sticky;
    top: 24px;
    align-self: start;
  }
}
