/* dozycat 官网 — 实现自「dozycat 官网.dc.html」（Claude Design） */

:root {
  --paper: #FAFAF8;
  --bg: #EDECE8;
  --ink: #2E2E33;
  --ink-soft: #6E6C66;
  --muted: #A6A39B;
  --faint: #B9B6AE;
  --line: #E8E6E0;
  --line-soft: #F0EEE9;
  --line-strong: #DEDCD5;
  --coral: #FF8A75;
  --blush: #FFB3A6;
  --blush-soft: #FFD9D1;
  --blue: #7C8DB5;
  --night: #232326;
  --night-muted: #8B8B93;
  --night-soft: #B9B8BE;
  --night-ink: #EDECE8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--coral); }

h1, h2, h3, p { margin: 0; }

.kicker {
  font-size: 12px;
  letter-spacing: .4em;
  color: var(--muted);
  font-weight: 500;
}

.dot { color: var(--coral); }

/* ---- buttons ---- */
.btn { border-radius: 999px; display: inline-block; }
.btn-ink { background: var(--ink); color: var(--paper); padding: 10px 24px; font-size: 14px; }
.btn-ink:hover { color: var(--paper); opacity: .85; }
.btn-coral { background: var(--coral); color: #fff; padding: 15px 36px; font-size: 15px; font-weight: 500; }
.btn-coral:hover { color: #fff; background: #E86F5A; }
.btn-ghost { border: 1px solid var(--line-strong); padding: 15px 36px; font-size: 15px; color: var(--ink-soft); }
.btn-lg { padding: 16px 44px; font-size: 16px; }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.logo-cn {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Serif SC', serif;
  font-size: 19px; font-weight: 600; letter-spacing: .08em;
}
.logo-cn .dot { margin-left: -.08em; }
.nav-links { display: flex; gap: 36px; align-items: center; font-size: 14px; }
.lang-switch { color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.nav-links .active { color: var(--coral); }

/* ---- hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 32px 0;
  text-align: center;
}
.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 760px;
  margin-top: 20px;
  text-wrap: pretty;
}
.hero-sub {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 520px;
  margin-top: 24px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; }

/* ---- 猫（通用结构，尺寸按实例） ---- */
.cat { position: relative; }
.cat .ear, .cat .head, .cat .eye, .cat .eye-closed, .cat .nose, .cat .cheek { position: absolute; }

.breathe { animation: breathe 3.4s ease-in-out infinite alternate; }
.blink { animation: blink 6s infinite; }
@keyframes breathe { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-8px) scale(1.02); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.15); } }

/* hero 猫 300×260 */
.cat-hero { width: 300px; height: 260px; margin-top: 72px; }
.cat-hero .ear { top: 12px; width: 80px; height: 76px; background: #fff; box-shadow: 0 10px 30px rgba(46,46,51,.08); }
.cat-hero .ear-l { left: 32px; border-radius: 75% 25% 50% 30%; transform: rotate(-4deg); }
.cat-hero .ear-r { right: 32px; border-radius: 25% 75% 30% 50%; transform: rotate(4deg); }
.cat-hero .head {
  top: 36px; left: 10px; right: 10px; bottom: 0;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(180deg, #FFFFFF 65%, #F4F3EF);
  box-shadow: 0 28px 60px rgba(46,46,51,.12);
}
.cat-hero .eye { top: 104px; width: 30px; height: 18px; border-radius: 4px 4px 30px 30px; background: var(--ink); }
.cat-hero .eye-l { left: 76px; }
.cat-hero .eye-r { right: 76px; }
.cat-hero .nose { top: 132px; left: 50%; width: 16px; height: 12px; margin-left: -8px; border-radius: 40% 40% 60% 60%; background: var(--blush); }
.cat-hero .cheek { top: 120px; width: 20px; height: 10px; border-radius: 50%; background: var(--blush-soft); opacity: .8; }
.cat-hero .cheek-l { left: 44px; }
.cat-hero .cheek-r { right: 44px; }
.cat-shadow {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 20px; border-radius: 50%;
  background: rgba(46,46,51,.06);
}

/* ---- statement ---- */
.statement {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 64px 0;
  display: flex; justify-content: center;
}
.statement p {
  font-size: 28px; font-weight: 300; line-height: 1.9;
  color: var(--ink-soft); max-width: 680px; text-align: center; text-wrap: pretty;
}
.statement strong { color: var(--ink); font-weight: 400; }

/* ---- features ---- */
.features {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 64px 0;
  display: flex; flex-direction: column; gap: 48px;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 56px; }
.feature { display: flex; flex-direction: column; gap: 20px; }
.feature h3 { font-size: 18px; font-weight: 500; }
.feature p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); margin-top: -12px; }

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.card-memory {
  height: 150px; padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.memory-row {
  display: flex; gap: 12px; align-items: baseline;
  border-bottom: 1px solid var(--line-soft); padding-bottom: 10px;
  font-size: 13px;
}
.memory-row.last { border-bottom: 0; padding-bottom: 0; }
.memory-date { font-size: 11px; color: var(--faint); }
.mind { color: var(--blue); font-style: normal; }

.card-energy { height: 150px; padding: 20px 22px; display: flex; align-items: center; }
.energy-cell { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.energy-label { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.energy-num { font-size: 32px; font-weight: 300; line-height: 1; }
.bar { width: 80%; height: 3px; border-radius: 2px; background: var(--bg); position: relative; overflow: hidden; display: block; }
.fill { position: absolute; inset: 0; border-radius: 2px; display: block; }
.fill-mind { background: var(--blue); }
.fill-body { background: var(--coral); }
.energy-divider { width: 1px; background: var(--line); align-self: stretch; margin: 0 18px; }

.card-nudge { height: 150px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.nudge {
  background: #F7F6F3; border-radius: 12px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.nudge-text { font-size: 13px; line-height: 1.7; }

/* 线稿小猫（nudge 卡 30×27） */
.cat-mini { width: 30px; height: 27px; flex-shrink: 0; }
.cat-mini .ear { top: 0; width: 9px; height: 8px; background: #fff; border: 1px solid var(--line); }
.cat-mini .ear-l { left: 3px; border-radius: 75% 25% 50% 30%; }
.cat-mini .ear-r { right: 3px; border-radius: 25% 75% 30% 50%; }
.cat-mini .head { top: 3px; left: 0; right: 0; bottom: 0; border-radius: 50% 50% 46% 46%; background: #fff; border: 1px solid var(--line); }
.cat-mini .eye { top: 9px; width: 4px; height: 2px; border-radius: 0 0 4px 4px; background: var(--ink); }
.cat-mini .eye-l { left: 7px; }
.cat-mini .eye-r { right: 7px; }

/* ---- night band ---- */
.night { margin-top: 140px; background: var(--night); color: var(--night-ink); }
.night-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 110px 64px;
  display: flex; align-items: center; gap: 96px;
}
.night-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.kicker-night { color: var(--night-muted); }
.night h2 { font-size: 40px; font-weight: 300; line-height: 1.4; }
.night-sub { font-size: 15px; line-height: 2; color: var(--night-soft); max-width: 400px; }
.recap-row {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(237,236,232,.1);
  max-width: 400px; font-size: 15px;
}
.recap-row.last { border-bottom: 0; }
.recap-row span { font-size: 12px; color: var(--night-muted); }

.night-cat-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cat-night { width: 240px; height: 206px; }
.cat-night .ear { top: 8px; width: 64px; height: 60px; background: var(--paper); }
.cat-night .ear-l { left: 26px; border-radius: 75% 25% 50% 30%; transform: rotate(-4deg); }
.cat-night .ear-r { right: 26px; border-radius: 25% 75% 30% 50%; transform: rotate(4deg); }
.cat-night .head {
  top: 28px; left: 8px; right: 8px; bottom: 0;
  border-radius: 50% 50% 46% 46%;
  background: var(--paper);
  box-shadow: 0 0 100px rgba(250,250,248,.18);
}
.cat-night .eye-closed { top: 84px; width: 26px; height: 3px; border-radius: 3px; background: var(--night); }
.cat-night .eye-l { left: 60px; }
.cat-night .eye-r { right: 60px; }
.cat-night .nose { top: 98px; left: 50%; width: 13px; height: 10px; margin-left: -7px; border-radius: 40% 40% 60% 60%; background: var(--blush); }
.night-caption { font-size: 13px; color: var(--night-muted); }

/* ---- platforms ---- */
.platforms {
  max-width: 1200px; margin: 0 auto;
  padding: 140px 64px 0;
  display: flex; flex-direction: column; gap: 48px;
}
.platform-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.platform { display: flex; flex-direction: column; gap: 20px; }
.platform h3 { font-size: 18px; font-weight: 500; }
.platform p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); margin-top: -12px; }

.desktop-mock {
  background: linear-gradient(170deg, #F2F1ED, #E9E7E1);
  height: 300px; position: relative; overflow: hidden;
}
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 26px;
  background: rgba(250,250,248,.7);
  display: flex; align-items: center; padding: 0 14px; gap: 12px;
  font-size: 11px; color: var(--ink-soft);
}
.menubar-app { font-weight: 600; }
.menubar-right { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.dot-coral { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); display: inline-block; }
.doc-window {
  position: absolute; top: 56px; left: 44px;
  width: 300px; height: 200px; max-width: 60%;
  background: #fff; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(46,46,51,.1);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.doc-window .line { height: 8px; border-radius: 4px; background: #F4F3EF; display: block; }
.desktop-pet {
  position: absolute; right: 40px; bottom: 28px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.bubble {
  background: #fff; border-radius: 12px 12px 3px 12px;
  padding: 10px 14px; font-size: 12px; line-height: 1.7;
  box-shadow: 0 8px 24px rgba(46,46,51,.12);
  max-width: 190px;
}
.cat-desk { width: 86px; height: 74px; }
.cat-desk .ear { top: 3px; width: 23px; height: 21px; background: #fff; box-shadow: 0 3px 10px rgba(46,46,51,.08); }
.cat-desk .ear-l { left: 9px; border-radius: 75% 25% 50% 30%; transform: rotate(-4deg); }
.cat-desk .ear-r { right: 9px; border-radius: 25% 75% 30% 50%; transform: rotate(4deg); }
.cat-desk .head {
  top: 10px; left: 3px; right: 3px; bottom: 0;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(180deg, #FFFFFF 65%, #F4F3EF);
  box-shadow: 0 8px 18px rgba(46,46,51,.12);
}
.cat-desk .eye { top: 28px; width: 9px; height: 5px; border-radius: 2px 2px 9px 9px; background: var(--ink); }
.cat-desk .eye-l { left: 21px; }
.cat-desk .eye-r { right: 21px; }

.phone-frame-wrap {
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.phone {
  width: 170px; height: 340px;
  border-radius: 28px; border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 44px rgba(46,46,51,.1);
  margin-top: 120px;
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.phone-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cat-phone { width: 56px; height: 48px; }
.cat-phone .ear { top: 0; width: 15px; height: 14px; background: #fff; border: 1px solid var(--line); }
.cat-phone .ear-l { left: 6px; border-radius: 75% 25% 50% 30%; }
.cat-phone .ear-r { right: 6px; border-radius: 25% 75% 30% 50%; }
.cat-phone .head { top: 6px; left: 0; right: 0; bottom: 0; border-radius: 50% 50% 46% 46%; background: #fff; border: 1px solid var(--line); }
.cat-phone .eye { top: 17px; width: 6px; height: 4px; border-radius: 0 0 6px 6px; background: var(--ink); }
.cat-phone .eye-l { left: 14px; }
.cat-phone .eye-r { right: 14px; }
.phone-greeting { font-size: 13px; font-weight: 300; }
.phone-energy {
  display: flex;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 0;
}
.pe-cell { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pe-label { font-size: 8px; letter-spacing: .15em; color: var(--muted); }
.pe-num { font-size: 16px; font-weight: 300; line-height: 1; }
.pe-bar { width: 80%; height: 2px; background: var(--bg); position: relative; display: block; }
.pe-bar span { position: absolute; inset: 0; display: block; }
.phone-list { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: var(--ink-soft); }
.phone-list span { display: flex; gap: 6px; align-items: center; }
.li-dot { width: 4px; height: 4px; border-radius: 50%; display: inline-block; }

/* ---- cta ---- */
.cta {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: 160px 32px 140px; text-align: center;
}
.cta h2 { font-size: 44px; font-weight: 300; line-height: 1.4; }
.cta-platforms {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5em; font-size: 15px;
}
.platform-available { color: var(--ink); font-weight: 500; }
.platform-divider { color: var(--line-strong); }
.platform-unavailable { color: var(--faint); cursor: not-allowed; }
.cta-note { font-size: 13px; color: var(--muted); }

/* Quiet contact links at the foot of every page. */
.footer-contact { display: flex; justify-content: center; gap: 12px; padding: 0 24px 24px; }
.footer-contact a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--muted); border-radius: 50%; }
.footer-contact a:hover { color: var(--coral); background: rgba(128, 128, 128, .06); }
.footer-contact a:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.footer-contact svg { width: 21px; height: 21px; }
.contact-xhs { width: 30px; height: 30px; background: currentColor; -webkit-mask: url('assets/contact/xiaohongshu.svg') center / contain no-repeat; mask: url('assets/contact/xiaohongshu.svg') center / contain no-repeat; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 64px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--coral); }

/* ---- 懒猫君小传（章回体主页） ---- */
.story-hero .hero-sub { max-width: 560px; }
.hero-turn { color: var(--ink); }
.hero-turn strong { font-weight: 500; }
.scroll-hint { margin-top: 56px; font-size: 12px; color: var(--faint); letter-spacing: .1em; }

.chapter, .interlude {
  max-width: 1000px; margin: 0 auto;
  padding: 130px 32px 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.chapter-no {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px; letter-spacing: .5em; color: var(--coral);
  padding-left: .5em; /* 抵消末字距，保持居中 */
}
.chapter-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px; font-weight: 600; letter-spacing: .02em;
  margin-top: 14px;
}
.prose {
  max-width: 620px; margin-top: 26px;
  display: flex; flex-direction: column; gap: 18px;
  text-align: left;
}
.prose p {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px; line-height: 2.3; color: #43423E;
  text-wrap: pretty;
}
.prose em { font-style: normal; color: var(--blue); }
.prose-center { text-align: center; }

.fig { margin: 44px 0 0; display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.fig img {
  max-width: 100%; height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(46,46,51,.18);
}
.fig-narrow img { border-radius: 0; box-shadow: none; } /* 透明底的桌宠截图 */
.fig-duo .fig-duo-side { flex-shrink: 0; }
.fig-note {
  margin-top: 26px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--blue);
}
.fig-note-dash { width: 14px; height: 1px; background: var(--blue); flex-shrink: 0; }

.interlude .fig img { box-shadow: 0 24px 60px rgba(46,46,51,.12); }

/* 脚注 */
sup.fn { font-size: 11px; line-height: 0; }
sup.fn a { color: var(--coral); padding: 0 2px; }
.footnotes {
  max-width: 1000px; margin: 0 auto;
  padding: 0 32px 40px;
  display: flex; flex-direction: column; align-items: center;
}
.footnotes-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px; letter-spacing: .5em; padding-left: .5em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 40px; margin-bottom: 18px;
  width: 620px; max-width: 100%; text-align: center;
}
.footnotes ol {
  margin: 0; padding-left: 20px;
  max-width: 620px;
  display: flex; flex-direction: column; gap: 10px;
}
.footnotes li {
  font-size: 12.5px; line-height: 2;
  color: var(--muted);
}
.footnotes li a { color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); }
.footnotes li a:hover { color: var(--coral); border-color: var(--coral); }
.fn-back { border-bottom: none !important; margin-left: 4px; }

/* ---- 懒猫手记（Markdown → Blog） ---- */
.blog-page { min-height: 100vh; }
.blog-site-nav .logo { color: var(--ink); }
.blog-site-nav .logo:hover { color: var(--ink); }

.blog-index {
  max-width: 1000px;
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: 100px 32px 140px;
}
.blog-index-hero { max-width: 680px; }
.blog-index-hero h1 {
  margin-top: 18px;
  font-family: 'Noto Serif SC', serif;
  font-size: 52px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.blog-index-hero > p {
  max-width: 550px;
  margin-top: 24px;
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink-soft);
}
.blog-list { margin-top: 92px; border-top: 1px solid var(--line-strong); }
.blog-card { border-bottom: 1px solid var(--line-strong); }
.blog-card-link {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 42px;
  padding: 42px 4px;
  color: var(--ink);
}
.blog-card-link:hover { color: var(--ink); }
.blog-card-link:hover .blog-card-title,
.blog-card-link:hover .blog-card-arrow { color: var(--coral); }
.blog-card-visual {
  position: relative;
  height: 150px;
  border-radius: 6px 24px 6px 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAF0F2;
  color: #526A77;
  isolation: isolate;
}
.cover-smile { background: #FAEEE1; color: #B36D45; border-radius: 24px 24px 6px 6px; }
.cover-rest { background: #EDF0E8; color: #6C7960; border-radius: 24px 6px 24px 6px; }
.cover-eyebrow {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.2;
}
.cover-orbit {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid currentColor;
  opacity: .15;
  border-radius: 50%;
  right: -30px;
  top: 28px;
  z-index: -1;
}
.cover-smile .cover-orbit { width: 86px; height: 86px; right: 42px; top: 37px; background: #E9B971; border: 0; opacity: .13; }
.cover-rest .cover-orbit { width: 180px; height: 180px; right: -12px; top: 55px; }
.cover-icon { display: block; width: 52px; height: 52px; margin-top: 2px; transition: transform .2s ease; }
.cover-caption { position: absolute; bottom: 14px; left: 16px; font-size: 14px; letter-spacing: .18em; }
.blog-card-link:hover .cover-icon { transform: translateY(-3px); }
.blog-card-link:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) {
  .cover-icon { transition: none; }
  .blog-card-link:hover .cover-icon { transform: none; }
}
.blog-card-copy { display: flex; flex-direction: column; align-items: flex-start; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.post-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFF0ED;
  color: #D96552;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .08em;
}
.article-meta {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}
.blog-card-title {
  margin-top: 12px;
  font-family: 'Noto Serif SC', serif;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 600;
  transition: color .15s;
}
.blog-card-description {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.blog-card-arrow { font-size: 22px; color: var(--faint); transition: color .15s; }

.blog-article { padding: 88px 32px 140px; }
.article-hero { max-width: 760px; margin: 0 auto; }
.article-back {
  display: inline-block;
  margin-bottom: 58px;
  font-size: 13px;
  color: var(--muted);
}
.article-hero h1 {
  margin-top: 18px;
  font-family: 'Noto Serif SC', serif;
  font-size: 52px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.article-dek {
  max-width: 660px;
  margin-top: 24px;
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  line-height: 2;
  color: var(--ink-soft);
}
.article-energy {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 46px;
}
.article-energy > span { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.article-energy i { display: block; height: 100%; border-radius: inherit; }
.article-energy-mind { background: var(--blue); }
.article-energy-body { background: var(--coral); }

.markdown-body {
  max-width: 720px;
  margin: 84px auto 0;
  font-family: 'Noto Serif SC', serif;
  color: #43423E;
}
.markdown-body h2 {
  margin: 80px 0 24px;
  padding-top: 8px;
  font-size: 29px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .01em;
}
.markdown-body h3 { margin: 52px 0 20px; font-size: 21px; line-height: 1.6; font-weight: 600; }
.markdown-body p,
.markdown-body li { font-size: 16px; line-height: 2.25; }
.markdown-body p + p { margin-top: 24px; }
.markdown-body figure { margin: 36px 0; }
.markdown-body figure img { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; border-radius: 8px; }
.markdown-body figcaption { margin-top: 12px; text-align: center; font-size: 13px; line-height: 1.8; color: var(--muted); }
.markdown-body strong { color: var(--ink); font-weight: 600; }
.markdown-body em { color: var(--blue); font-style: normal; }
.markdown-body a { border-bottom: 1px solid var(--line-strong); }
.markdown-body a:hover { border-color: var(--coral); }
.markdown-body code {
  padding: .15em .4em;
  border-radius: 5px;
  background: #F0EFEB;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .84em;
}
.markdown-body pre {
  margin: 30px 0;
  padding: 24px 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #F4F3EF;
}
.markdown-body pre code {
  padding: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre;
}
.markdown-body ul,
.markdown-body ol { margin: 24px 0; padding-left: 1.5em; }
.markdown-body hr { width: 80px; margin: 72px auto; border: 0; border-top: 1px solid var(--line-strong); }

.article-end {
  max-width: 720px;
  margin: 100px auto 0;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.article-end-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--coral);
  border-radius: 50%;
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  color: var(--coral);
}
.article-end p { margin-top: 20px; font-family: 'Noto Serif SC', serif; font-size: 14px; line-height: 2; color: var(--muted); }
.article-end a { display: inline-block; margin-top: 24px; font-size: 13px; color: var(--ink-soft); }

/* 尾声接夜色带 */
#ending.night { margin-top: 150px; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .nav { padding: 20px 24px; }
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn):not(.lang-switch):not(.nav-blog) { display: none; }
  .blog-site-nav .nav-links a:not(.btn):not(.nav-blog) { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 40px; }
  .chapter, .interlude { padding: 88px 20px 0; }
  .chapter-title { font-size: 26px; }
  .prose p { font-size: 15px; }
  .fig { margin-top: 32px; }
  .fig-duo { flex-direction: column; align-items: center; }
  #ending.night { margin-top: 100px; }
  .statement { padding: 80px 24px 0; }
  .statement p { font-size: 21px; }
  .features, .platforms { padding: 80px 24px 0; }
  .feature-grid, .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .night { margin-top: 96px; }
  .night-inner { flex-direction: column; gap: 56px; padding: 72px 24px; }
  .night h2 { font-size: 32px; }
  .cta { padding: 100px 24px 90px; }
  .cta h2 { font-size: 32px; }
  .footer-inner { padding: 24px; flex-direction: column; gap: 14px; }
  .blog-index { padding: 64px 20px 96px; }
  .blog-index-hero h1,
  .article-hero h1 { font-size: 36px; }
  .blog-list { margin-top: 64px; }
  .blog-card-link { grid-template-columns: 1fr 24px; gap: 18px; padding: 30px 0; }
  .blog-card-visual { display: none; }
  .blog-card-title { font-size: 21px; }
  .blog-article { padding: 56px 20px 100px; }
  .article-back { margin-bottom: 42px; }
  .article-dek { font-size: 16px; }
  .markdown-body { margin-top: 64px; }
  .markdown-body h2 { margin-top: 60px; font-size: 25px; }
  .markdown-body p,
  .markdown-body li { font-size: 15px; line-height: 2.15; }
  .markdown-body pre { margin-left: -4px; margin-right: -4px; padding: 20px 18px; }
}

@media (max-width: 480px) {
  .nav { padding: 18px 16px; }
  .nav-links { gap: 10px; }
  .nav .btn-ink { padding: 9px 14px; font-size: 13px; }
  .logo-cn { gap: 7px; font-size: 17px; }
  .logo-cn .cat-mini { display: none; }
}
