/* ============================================================
   100155822.xyz — 站点样式
   风格：清新 / 留白 / 圆润几何
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #fbfdfc;
  --bg-deep: #f3f9f5;
  --card: #ffffff;
  --ink: #1e2a25;
  --ink-2: #5b6a64;
  --ink-3: #93a29c;
  --mint: #4f9d84;
  --mint-deep: #3c7f69;
  --mint-soft: #e4f2ec;
  --mint-line: #cfe7db;
  --warm: #dd8a4d;
  --line: rgba(30, 42, 37, .08);
  --line-strong: rgba(30, 42, 37, .15);
  --shadow-sm: 0 1px 2px rgba(30, 42, 37, .04), 0 6px 16px -8px rgba(30, 42, 37, .10);
  --shadow-md: 0 2px 6px rgba(30, 42, 37, .05), 0 20px 44px -20px rgba(30, 42, 37, .22);
  --radius: 22px;
  --radius-sm: 13px;
  --maxw: 1100px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

/* ---------- 背景画布 ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 12% -10%, #eaf5ef 0%, transparent 60%),
    radial-gradient(50rem 36rem at 92% 8%, #f7f0e6 0%, transparent 55%),
    linear-gradient(180deg, #fbfdfc 0%, #f7fbf9 50%, #fbfdfc 100%);
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
main { flex: 1 0 auto; position: relative; z-index: 1; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 252, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--mint) 0%, #6fbfa4 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -4px rgba(79, 157, 132, .55);
}
.brand-mark svg { width: 14px; height: 14px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(79, 157, 132, .08); }
.site-nav a.active { color: var(--mint-deep); background: var(--mint-soft); font-weight: 550; }

/* ---------- 首页 hero ---------- */
.hero {
  padding: 66px 0 40px;
  text-align: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(79, 157, 132, .18);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -.028em;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: .08em;
  height: .34em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79,157,132,.22), rgba(221,138,77,.20));
  z-index: -1;
}
.hero-sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 16.5px;
  color: var(--ink-2);
}

/* ---------- 轮播 ---------- */
.carousel-block { padding: 12px 0 8px; }

.carousel {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  background: var(--mint-soft);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
@media (max-width: 640px) {
  .carousel { aspect-ratio: 4 / 5; border-radius: 20px; }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide.active img { transform: scale(1.0); }

.slide-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 90px 34px 30px;
  background: linear-gradient(to top, rgba(12, 22, 18, .70) 0%, rgba(12, 22, 18, .34) 46%, transparent 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.slide-name {
  display: block;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.slide-desc {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  opacity: .86;
  letter-spacing: .02em;
}
.slide-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.slide:hover .slide-go { background: rgba(255, 255, 255, .30); transform: translateX(2px); }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .28s var(--ease), background .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4);
}
.carousel:hover .car-btn { opacity: 1; }
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 20px; }
.car-btn.next { right: 20px; }
.car-btn:active { transform: translateY(-50%) scale(.94); }
@media (hover: none) { .car-btn { opacity: .9; } }

.car-dots {
  position: absolute;
  bottom: 22px;
  right: 30px;
  z-index: 5;
  display: flex;
  gap: 7px;
}
.car-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: width .4s var(--ease), background .3s var(--ease);
}
.car-dot.active { width: 24px; background: #fff; }

/* ---------- 分区标题 ---------- */
.section {
  padding: 76px 0 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-title {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.018em;
}
.section-title .num {
  display: inline-block;
  margin-right: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  transform: translateY(-3px);
}
.section-link {
  font-size: 14px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.section-link:hover { color: var(--mint-deep); gap: 9px; }

/* ---------- 导航卡片 ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.link-card:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--mint-line);
  box-shadow: var(--shadow-md);
}
.link-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: var(--mint-deep);
}
.link-icon svg { width: 22px; height: 22px; }
.link-body { min-width: 0; flex: 1; }
.link-name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.link-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-arrow {
  color: var(--ink-3);
  transition: transform .25s var(--ease), color .25s var(--ease);
  font-size: 15px;
}
.link-card:hover .link-arrow { color: var(--mint); transform: translate(2px, -2px); }

/* ---------- 博客卡片 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.post-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.post-card:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--mint-line);
  box-shadow: var(--shadow-md);
}
.post-date {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.post-title {
  margin: 12px 0 10px;
  font-size: 19px;
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: -.012em;
}
.post-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  letter-spacing: .02em;
}
.post-read {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- 页脚 ---------- */
.site-footer {
  flex: 0 0 auto;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-inner a { transition: color .2s var(--ease); }
.footer-inner a:hover { color: var(--mint-deep); }
.footer-beians {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}
.footer-beian svg { width: 14px; height: 14px; opacity: .6; }
.footer-beian img {
  width: auto;
  height: 20px;
  display: block;
}

/* ============================================================
   猫猫页
   ============================================================ */
.page-head {
  padding: 56px 0 34px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 650;
  letter-spacing: -.025em;
}
.page-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--ink-3);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.back-link:hover { color: var(--mint-deep); gap: 9px; }

.cat-tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding-bottom: 4px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: all .28s var(--ease);
}
.cat-tab .swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--tab-color, var(--mint));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tab-color, var(--mint)) 20%, transparent);
}
.cat-tab:hover {
  border-color: var(--mint-line);
  color: var(--ink);
  background: #fff;
}
.cat-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.cat-tab.active .swatch { box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }

.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeUp .5s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.cat-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; gap: 24px; }
}

.cat-profile {
  position: sticky;
  top: 88px;
  padding: 26px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.cat-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--mint-soft);
}
.cat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cat-profile h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.015em;
}
.cat-breed {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.cat-facts {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 13.5px;
}
.cat-facts li {
  display: flex;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}
.cat-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.cat-facts .k { color: var(--ink-3); flex: 0 0 52px; }
.cat-facts .v { color: var(--ink); }
.cat-note {
  margin: 0;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  font-size: 13px;
  line-height: 1.65;
  color: var(--mint-deep);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gallery-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.gallery-count { font-size: 13px; color: var(--ink-3); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 13px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mint-soft);
  cursor: zoom-in;
  position: relative;
}
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery figure:hover img { transform: scale(1.045); }
.gallery figure::after {
  content: "查看大图";
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 11.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s var(--ease);
}
.gallery figure:hover::after { opacity: 1; transform: none; }

/* 某个月只有一张时，略微放大但不铺满 */
.gallery.single {
  grid-template-columns: 1fr;
  max-width: 460px;
}
.gallery.single figure { aspect-ratio: auto; }
.gallery.single figure img { height: auto; }

/* 按月分组 */
.gallery-month { margin-bottom: 36px; }
.gallery-month:last-child { margin-bottom: 0; }
.month-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.month-title {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -.006em;
  color: var(--ink);
}
.month-count {
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.gallery-empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-3);
  font-size: 14px;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 20, 17, .9);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  transform: scale(.96);
  transition: transform .35s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: background .2s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .24); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  z-index: 3;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox-nav:active { transform: translateY(-50%) scale(.93); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

.lightbox-bar {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(20, 26, 23, .62);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  z-index: 3;
}
#lightbox-count {
  font-variant-numeric: tabular-nums;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
#lightbox-date:empty { display: none; }
#lightbox-date:empty + #lightbox-count { border-left: 0; padding-left: 0; }

@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox img { max-height: 78vh; }
}

/* ============================================================
   博客
   ============================================================ */
.post-list { border-top: 1px solid var(--line); }
.post-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 32px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.post-item:hover { background: rgba(255, 255, 255, .68); padding-left: 14px; padding-right: 14px; }
.post-item time {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
  letter-spacing: .02em;
}
.post-item h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -.012em;
  transition: color .2s var(--ease);
}
.post-item:hover h2 { color: var(--mint-deep); }
.post-item p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.72;
}
.post-item .tags { display: flex; gap: 7px; flex-wrap: wrap; }
@media (max-width: 680px) {
  .post-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 2px; }
}

/* 文章正文 */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 40px;
}
.article h1 {
  margin: 0 0 16px;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.022em;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.article-body {
  font-size: 16.5px;
  line-height: 1.92;
  color: #2b3833;
}
.article-body h2 {
  margin: 2.1em 0 .7em;
  font-size: 23px;
  font-weight: 640;
  letter-spacing: -.015em;
  scroll-margin-top: 90px;
}
.article-body h3 {
  margin: 1.8em 0 .6em;
  font-size: 18.5px;
  font-weight: 620;
  scroll-margin-top: 90px;
}
.article-body p { margin: 0 0 1.3em; }
.article-body a {
  color: var(--mint-deep);
  border-bottom: 1px solid var(--mint-line);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.article-body a:hover { border-color: var(--mint); }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--mint-line);
  color: var(--ink-2);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code {
  padding: .16em .42em;
  border-radius: 6px;
  background: rgba(79, 157, 132, .10);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  color: var(--mint-deep);
}
.article-body pre {
  margin: 1.6em 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: #1f2b26;
  overflow-x: auto;
  line-height: 1.62;
}
.article-body pre code {
  padding: 0;
  background: none;
  color: #d8e8e0;
  font-size: 13.5px;
}
.article-body hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.article-body img {
  margin: 1.6em auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14.5px;
}
.article-body th, .article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.article-body th { font-weight: 600; background: rgba(79, 157, 132, .05); }

.article-nav {
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* 空状态 / 加载 */
.state {
  padding: 70px 20px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}
.state strong { display: block; color: var(--ink-2); font-weight: 550; margin-bottom: 6px; }

/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 44px 0 30px; }
  .section { padding: 56px 0 0; }
  .section-title { font-size: 22px; }
  .header-inner { height: 62px; }
  .site-nav a { padding: 7px 11px; font-size: 13.5px; }
  .brand span { display: none; }
  .slide-meta { padding: 70px 20px 22px; }
  .car-dots { bottom: 16px; right: 18px; }
  .cat-profile { position: static; }
  .article-body { font-size: 16px; }
}
