/* ============================================================
   晚风集 · 设计系统
   气质：治愈（暖纸底、低饱和、大留白） + 高级感（衬线标题、发丝线、克制动效）
   ============================================================ */

:root {
  --paper:        #faf7f2;
  --paper-2:      #f4f0e9;
  --card:         #fffdfa;
  --ink:          #2c2823;
  --ink-2:        #5b544b;
  --ink-3:        #8d8478;
  --ink-4:        #b4aca1;
  --line:         rgba(44, 40, 35, .09);
  --line-2:       rgba(44, 40, 35, .055);
  --accent:       #7d9b8a;
  --accent-deep:  #5f7d6c;
  --accent-soft:  #e9f0eb;
  --sand:         #c2a878;
  --sand-soft:    #f4ece0;
  --rose:         #b98f88;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;

  --sh-s: 0 1px 2px rgba(44, 40, 35, .04);
  --sh-m: 0 2px 6px rgba(44, 40, 35, .045), 0 16px 44px -22px rgba(44, 40, 35, .22);
  --sh-l: 0 4px 10px rgba(44, 40, 35, .05), 0 28px 70px -30px rgba(44, 40, 35, .3);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --w: 1120px;
  --ease: cubic-bezier(.22, .68, .28, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 纸纹与光感：极淡的暖色晕染，避免大面积纯色 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 252, 244, .95), transparent 62%),
    radial-gradient(900px 520px at 92% 6%, rgba(233, 240, 235, .7), transparent 60%),
    radial-gradient(800px 700px at 50% 108%, rgba(244, 236, 224, .8), transparent 62%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(125, 155, 138, .22); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(44, 40, 35, .13); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(44, 40, 35, .24); background-clip: content-box; }

/* ===================== 启动态 ===================== */
.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--ink-3);
  font-size: 14px;
  letter-spacing: .18em;
}
.boot-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(.7); opacity: .4; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* ===================== 布局骨架 ===================== */
#app { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; }

.page { min-height: 60vh; padding-bottom: 90px; }

/* 顶栏 */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(250, 247, 242, .82);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .4s var(--ease);
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -22px rgba(44, 40, 35, .5); }

.nav-inner {
  width: 100%; max-width: var(--w); margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex; align-items: center; gap: 30px;
}

.brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}
.brand:hover { opacity: .7; }
.brand em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 99px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(44, 40, 35, .035); }
.nav-links a.router-link-active { color: var(--accent-deep); background: var(--accent-soft); }

.nav-user { display: flex; align-items: center; gap: 10px; }

.avatar-mini {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--sh-s);
  transition: transform .35s var(--ease);
}
.avatar-mini:hover { transform: translateY(-2px) scale(1.04); }

.avatar-fallback {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-soft), var(--sand-soft));
  color: var(--accent-deep);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--line);
  box-shadow: var(--sh-s);
}

.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 10px; }
.nav-toggle::before {
  content: ""; display: block; width: 17px; height: 1.5px; margin: 0 auto;
  background: var(--ink-2);
  box-shadow: 0 -5.5px 0 var(--ink-2), 0 5.5px 0 var(--ink-2);
}

/* 页脚 */
.foot {
  border-top: 1px solid var(--line-2);
  padding: 44px 0 56px;
  color: var(--ink-3);
  font-size: 13.5px;
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { transition: color .3s var(--ease); }
.foot a:hover { color: var(--accent-deep); }
.foot-sig { font-family: var(--serif); letter-spacing: .08em; }

/* ===================== 通用元件 ===================== */
.eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 22px; height: 1px; background: var(--ink-4); margin-right: 12px;
}

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin: 0 0 26px;
}
.sec-title {
  font-family: var(--serif);
  font-size: 25px; font-weight: 600; letter-spacing: .06em;
  margin: 0;
}
.sec-title span { color: var(--ink-4); font-size: 15px; margin-left: 12px; letter-spacing: .1em; font-family: var(--sans); }
.sec-more { font-size: 14px; color: var(--ink-3); transition: color .3s var(--ease), gap .3s var(--ease); }
.sec-more:hover { color: var(--accent-deep); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px;
  font-size: 12.5px;
  line-height: 1.7;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  color: var(--ink-2);
  white-space: nowrap;
  transition: all .3s var(--ease);
}
a.chip:hover { border-color: rgba(125, 155, 138, .5); color: var(--accent-deep); background: var(--accent-soft); }

.chip-type { background: var(--sand-soft); border-color: rgba(194, 168, 120, .35); color: #8a6f3d; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px;
  border-radius: 99px;
  font-size: 14.5px;
  letter-spacing: .04em;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--sh-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), opacity .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-m); background: #1f1c18; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-line {
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-line:hover { background: rgba(44, 40, 35, .035); color: var(--ink); border-color: rgba(44, 40, 35, .18); box-shadow: none; }

.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); }

.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { box-shadow: var(--sh-m); border-color: var(--line); }

.hr { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* 入场动效 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; }
}

/* ===================== 首页 Hero ===================== */
.hero { padding: 92px 0 76px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 0 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-deep), var(--sand));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-words {
  font-family: var(--serif);
  font-size: clamp(17px, 2.3vw, 21px);
  color: var(--ink-2);
  letter-spacing: .1em;
  min-height: 2em;
  margin: 0 0 20px;
}
.hero-words .fade-word { animation: wordIn .9s var(--ease); display: inline-block; }
@keyframes wordIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-desc { max-width: 620px; color: var(--ink-3); font-size: 15.5px; line-height: 2; margin: 0 0 32px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat b {
  display: block;
  font-family: var(--serif);
  font-size: 27px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink);
}
.hero-stat span { font-size: 13px; color: var(--ink-4); letter-spacing: .14em; }

/* 首页分区 */
.block { padding: 62px 0; }
.block + .block { border-top: 1px solid var(--line-2); }

/* 置顶大卡 */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.feature-media { position: relative; min-height: 360px; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.045); }
.feature-body {
  padding: 52px 50px;
  background: var(--card);
  display: flex; flex-direction: column; justify-content: center;
}
.feature-body h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.35; font-weight: 600; letter-spacing: .03em;
  margin: 16px 0 16px;
  transition: color .4s var(--ease);
}
.feature:hover .feature-body h3 { color: var(--accent-deep); }
.feature-body p { color: var(--ink-3); font-size: 15px; line-height: 2; margin: 0 0 26px; }

/* 文章卡片网格 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.pcard { display: flex; flex-direction: column; overflow: hidden; }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-media .chip-type { position: absolute; left: 16px; top: 16px; background: rgba(255, 253, 250, .92); backdrop-filter: blur(6px); }

.pcard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 {
  font-family: var(--serif);
  font-size: 20px; line-height: 1.5; font-weight: 600; letter-spacing: .02em;
  margin: 0 0 10px;
  transition: color .4s var(--ease);
}
.pcard:hover h3 { color: var(--accent-deep); }
.pcard-body p {
  color: var(--ink-3); font-size: 14px; line-height: 1.95;
  margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; color: var(--ink-4);
  padding-top: 14px; border-top: 1px solid var(--line-2);
}
.pcard-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); opacity: .6; }
.pcard-foot .push { margin-left: auto; display: flex; gap: 12px; }

/* 紧凑列表（最新） */
.plist { display: flex; flex-direction: column; }
.prow {
  display: grid; grid-template-columns: 68px 1fr auto;
  gap: 22px; align-items: baseline;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line-2);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.prow:hover { background: rgba(255, 255, 255, .55); padding-left: 16px; padding-right: 16px; border-radius: var(--r); }
.prow-date { font-size: 12.5px; color: var(--ink-4); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.prow-main h3 {
  font-family: var(--serif); font-size: 18.5px; font-weight: 600; letter-spacing: .02em;
  margin: 0 0 6px; transition: color .4s var(--ease);
}
.prow:hover .prow-main h3 { color: var(--accent-deep); }
.prow-main p {
  margin: 0; font-size: 13.5px; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.prow-meta { font-size: 12.5px; color: var(--ink-4); display: flex; gap: 10px; align-items: center; white-space: nowrap; }

/* ===================== 列表页筛选 ===================== */
.page-head { padding: 66px 0 34px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 600; letter-spacing: .05em;
  margin: 0 0 12px;
}
.page-sub { color: var(--ink-3); font-size: 15px; margin: 0; }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 34px;
}
.filters .label { font-size: 13px; color: var(--ink-4); letter-spacing: .12em; margin-right: 4px; }

.search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, .7);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.search:focus-within { border-color: rgba(125, 155, 138, .55); box-shadow: 0 0 0 4px rgba(125, 155, 138, .1); }
.search input { border: 0; background: none; outline: none; width: 150px; font-size: 14px; }
.search input::placeholder { color: var(--ink-4); }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 52px; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: 99px; border: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px;
  transition: all .3s var(--ease);
}
.pager button:hover:not(:disabled) { border-color: rgba(125, 155, 138, .5); color: var(--accent-deep); background: var(--accent-soft); }
.pager button:disabled { opacity: .35; cursor: not-allowed; }
.pager .cur { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .pinfo { font-size: 13px; color: var(--ink-4); letter-spacing: .06em; padding: 0 8px; }

/* ===================== 文章详情 ===================== */
.art-hero { padding: 74px 0 40px; text-align: center; }
.art-hero .chip-type { margin-bottom: 22px; }
.art-title {
  font-family: var(--serif);
  font-size: clamp(29px, 5vw, 46px);
  line-height: 1.32; font-weight: 600; letter-spacing: .03em;
  margin: 0 auto 24px;
  max-width: 860px;
}
.art-meta {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px; font-size: 13.5px; color: var(--ink-4);
}
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); opacity: .6; }
.art-summary {
  max-width: 700px; margin: 26px auto 0;
  color: var(--ink-2); font-size: 15.5px; line-height: 2.1;
  padding: 20px 26px;
  border-left: 2px solid var(--accent);
  background: rgba(233, 240, 235, .42);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  text-align: left;
}
.art-cover { margin: 44px 0 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-m); }

.art-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.art-body { max-width: 780px; margin: 0 auto; padding: 24px 0 0; }

/* Markdown 正文排版 */
.md { font-size: 16.5px; line-height: 2.05; color: var(--ink-2); }
.md > *:first-child { margin-top: 0; }
.md h1, .md h2, .md h3, .md h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.5;
  scroll-margin-top: 96px;
}
.md h1 { font-size: 30px; margin: 2.2em 0 .8em; }
.md h2 {
  font-size: 25px; margin: 2.4em 0 .9em; padding-bottom: .5em;
  border-bottom: 1px solid var(--line-2);
}
.md h2::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 4px; height: 18px; border-radius: 2px;
  background: var(--accent); margin-right: 12px;
}
.md h3 { font-size: 20px; margin: 2em 0 .7em; }
.md h4 { font-size: 17px; margin: 1.7em 0 .6em; color: var(--ink-2); }
.md p { margin: 1.15em 0; }
.md a { color: var(--accent-deep); border-bottom: 1px solid rgba(95, 125, 108, .3); transition: border-color .3s var(--ease); }
.md a:hover { border-color: var(--accent-deep); }
.md strong { color: var(--ink); font-weight: 600; }
.md ul, .md ol { padding-left: 1.4em; margin: 1.1em 0; }
.md li { margin: .5em 0; }
.md li::marker { color: var(--accent); }
.md blockquote {
  margin: 1.7em 0; padding: 6px 0 6px 26px;
  border-left: 2px solid var(--sand);
  color: var(--ink-3); font-family: var(--serif); font-size: 16.5px;
  background: linear-gradient(90deg, rgba(244, 236, 224, .5), transparent);
}
.md blockquote p { margin: .5em 0; }
.md hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.md img { border-radius: var(--r); margin: 1.8em auto; box-shadow: var(--sh-m); }
.md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: rgba(125, 155, 138, .1);
  color: var(--accent-deep);
  padding: .18em .45em;
  border-radius: 6px;
}
.md pre {
  margin: 1.7em 0; padding: 20px 22px;
  background: #2f2c28;
  border-radius: var(--r);
  overflow-x: auto;
  box-shadow: var(--sh-m);
  line-height: 1.75;
}
.md pre code { background: none; color: #e8e2d8; padding: 0; font-size: 13.5px; }
.md table { width: 100%; border-collapse: collapse; margin: 1.7em 0; font-size: 14.5px; }
.md th, .md td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.md th { background: rgba(244, 240, 233, .6); font-weight: 600; color: var(--ink); }

/* 文章尾部 */
.art-foot { max-width: 780px; margin: 56px auto 0; }
.art-tags { display: flex; flex-wrap: wrap; gap: 9px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.art-actions { display: flex; justify-content: center; padding: 26px 0 8px; }
.like-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .8);
  color: var(--ink-2); font-size: 14.5px;
  box-shadow: var(--sh-s);
  transition: all .4s var(--ease);
}
.like-btn:hover { transform: translateY(-2px); border-color: rgba(185, 143, 136, .5); color: var(--rose); box-shadow: var(--sh-m); }
.like-btn.on { background: var(--accent-soft); border-color: rgba(125, 155, 138, .45); color: var(--accent-deep); }
.like-btn svg { width: 17px; height: 17px; }
.like-btn.on svg { fill: var(--accent); stroke: var(--accent); }

.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.art-nav a {
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--card);
  transition: all .45s var(--ease);
}
.art-nav a:hover { border-color: var(--line); box-shadow: var(--sh-m); transform: translateY(-3px); }
.art-nav .k { font-size: 12px; color: var(--ink-4); letter-spacing: .16em; display: block; margin-bottom: 8px; }
.art-nav .t { font-family: var(--serif); font-size: 16px; line-height: 1.6; font-weight: 600; }
.art-nav .next { text-align: right; }

/* 目录 */
.toc {
  position: fixed;
  top: 118px; right: max(24px, calc((100vw - var(--w)) / 2 - 130px));
  width: 190px;
  max-height: 62vh;
  overflow-y: auto;
  font-size: 13px;
  display: none;
}
.toc .toc-h { font-size: 11.5px; letter-spacing: .22em; color: var(--ink-4); margin-bottom: 12px; }
.toc a {
  display: block; padding: 5px 0 5px 12px;
  color: var(--ink-4); border-left: 1px solid var(--line);
  line-height: 1.6; transition: all .3s var(--ease);
}
.toc a:hover, .toc a.on { color: var(--accent-deep); border-left-color: var(--accent); }
.toc a.lv3 { padding-left: 24px; font-size: 12.5px; }
@media (min-width: 1440px) { .toc { display: block; } }

/* ===================== 评论 ===================== */
.cmt-sec { max-width: 780px; margin: 0 auto; padding-top: 60px; }
.cmt-form { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); }
.cmt-form textarea {
  width: 100%; min-height: 84px; padding: 0; border: 0; outline: none; resize: vertical;
  background: none; font-size: 15px; line-height: 1.9; color: var(--ink);
}
.cmt-form textarea::placeholder { color: var(--ink-4); }
.cmt-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.cmt-tip { font-size: 13px; color: var(--ink-4); }

.cmt-list { margin-top: 34px; display: flex; flex-direction: column; gap: 24px; }
.cmt {
  display: grid; grid-template-columns: 42px 1fr; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-2);
}
.cmt-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.cmt-avatar-fallback {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-soft), var(--sand-soft));
  color: var(--accent-deep); font-size: 15px; font-weight: 600;
}
.cmt-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.cmt-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cmt-time { font-size: 12.5px; color: var(--ink-4); }
.cmt-body { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.cmt-reply-btn { font-size: 12.5px; color: var(--ink-4); margin-top: 8px; transition: color .3s var(--ease); }
.cmt-reply-btn:hover { color: var(--accent-deep); }
.cmt-children {
  margin-top: 18px; padding-left: 18px;
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 18px;
}

/* ===================== 标签 / 分类 / 归档 ===================== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 14px; }
.tag-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14.5px;
  box-shadow: var(--sh-s);
  transition: all .4s var(--ease);
}
.tag-pill:hover { transform: translateY(-3px); box-shadow: var(--sh-m); border-color: rgba(125, 155, 138, .4); }
.tag-pill .n { font-size: 12.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; }

.cat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card { padding: 30px 32px; }
.cat-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; margin: 0 0 10px; }
.cat-card p { color: var(--ink-3); font-size: 14px; margin: 0 0 18px; line-height: 1.9; }
.cat-card .n { font-family: var(--serif); font-size: 13px; color: var(--accent-deep); letter-spacing: .1em; }

.tl { position: relative; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-group { margin-bottom: 46px; }
.tl-group h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .06em;
  margin: 0 0 18px; position: relative;
}
.tl-group h3::before {
  content: ""; position: absolute; left: -30px; top: .62em;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.tl-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  transition: padding .4s var(--ease), color .4s var(--ease);
}
.tl-item:hover { padding-left: 10px; }
.tl-item .d { font-size: 12.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; width: 44px; flex: none; }
.tl-item .t { font-size: 15.5px; color: var(--ink-2); transition: color .4s var(--ease); }
.tl-item:hover .t { color: var(--accent-deep); }

/* ===================== 关于 ===================== */
.about-hero {
  display: grid; grid-template-columns: 148px 1fr; gap: 40px; align-items: center;
  padding: 76px 0 56px;
}
.about-avatar {
  width: 148px; height: 148px; border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--sh-l);
  border: 5px solid var(--card);
}
.about-name { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 42px); font-weight: 600; letter-spacing: .05em; margin: 0 0 10px; }
.about-tagline { color: var(--accent-deep); font-size: 15px; letter-spacing: .12em; margin: 0 0 14px; font-family: var(--serif); }
.about-intro { color: var(--ink-3); font-size: 15.5px; line-height: 2.05; margin: 0; max-width: 560px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; }
.about-facts div { font-size: 13.5px; color: var(--ink-3); }
.about-facts b { color: var(--ink-4); font-weight: 400; letter-spacing: .1em; margin-right: 6px; }

.about-body { display: grid; grid-template-columns: 1fr 300px; gap: 54px; align-items: start; }
.about-side { position: sticky; top: 106px; display: flex; flex-direction: column; gap: 26px; }
.side-card { padding: 26px 28px; }
.side-card h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .06em; margin: 0 0 16px; }
.social-list { display: flex; flex-direction: column; gap: 12px; }
.social-list a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); transition: color .3s var(--ease), transform .3s var(--ease); }
.social-list a:hover { color: var(--accent-deep); transform: translateX(3px); }
.social-list a i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-side { display: flex; flex-direction: column; gap: 18px; }
.tl-side-item { padding-left: 16px; border-left: 1px solid var(--line); }
.tl-side-item .y { font-family: var(--serif); font-size: 15px; color: var(--accent-deep); letter-spacing: .08em; }
.tl-side-item .t { font-size: 14px; color: var(--ink); margin: 3px 0 2px; }
.tl-side-item .d { font-size: 12.5px; color: var(--ink-4); line-height: 1.7; }

/* ===================== 登录 / 注册 / 个人中心 ===================== */
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 88px 0 40px; }
.auth-card { padding: 44px 40px; border-radius: var(--r-lg); }
.auth-title { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .05em; margin: 0 0 8px; text-align: center; }
.auth-sub { text-align: center; color: var(--ink-4); font-size: 13.5px; margin: 0 0 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 8px; }
.field input {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .75);
  outline: none;
  font-size: 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus { border-color: rgba(125, 155, 138, .6); box-shadow: 0 0 0 4px rgba(125, 155, 138, .1); }
.auth-card .btn { width: 100%; margin-top: 10px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--ink-4); margin-top: 22px; }
.auth-alt a { color: var(--accent-deep); border-bottom: 1px solid rgba(95, 125, 108, .3); }

.me-head { display: flex; align-items: center; gap: 22px; padding: 70px 0 34px; }
.me-avatar { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); box-shadow: var(--sh-m); }
.me-avatar-fallback {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-soft), var(--sand-soft));
  color: var(--accent-deep); font-family: var(--serif); font-size: 28px;
  box-shadow: var(--sh-m);
}
.me-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .05em; margin: 0 0 4px; }
.me-sub { color: var(--ink-4); font-size: 13.5px; margin: 0; }
.me-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-2); margin-bottom: 34px; }
.me-tabs button {
  padding: 12px 20px; font-size: 14.5px; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .3s var(--ease);
}
.me-tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.me-cmt-item { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.me-cmt-item .t { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.me-cmt-item .c { color: var(--ink-3); font-size: 14px; line-height: 1.9; }
.me-cmt-item .d { font-size: 12.5px; color: var(--ink-4); margin-top: 8px; }

/* ===================== 状态 ===================== */
.empty, .loading { padding: 90px 0; text-align: center; color: var(--ink-4); font-size: 14.5px; letter-spacing: .1em; }
.empty-icon { font-family: var(--serif); font-size: 34px; color: var(--line); display: block; margin-bottom: 14px; }
.empty a { color: var(--accent-deep); }

.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, #efeae1 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-sm); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.toast-box { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  padding: 12px 24px; border-radius: 99px;
  background: rgba(44, 40, 35, .93); color: var(--paper);
  font-size: 14px; letter-spacing: .04em;
  box-shadow: var(--sh-l);
  animation: toastIn .45s var(--ease);
}
.toast.err { background: rgba(150, 76, 70, .95); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 路由过渡 */
.fade-enter-active, .fade-leave-active { transition: opacity .38s var(--ease), transform .38s var(--ease); }
.fade-enter-from { opacity: 0; transform: translateY(10px); }
.fade-leave-to { opacity: 0; }

/* ===================== 响应式 ===================== */
@media (max-width: 1000px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 260px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-body { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .cat-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap, .nav-inner { padding: 0 20px; }
  .nav-inner { height: 62px; gap: 14px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: fixed; inset: 62px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250, 247, 242, .97);
    backdrop-filter: blur(14px);
    padding: 10px 20px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .4s var(--ease);
    margin-left: 0;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 10px; border-radius: var(--r-sm); }
  .nav-user { margin-left: 0; }
  .hero { padding: 58px 0 46px; }
  .hero-stats { gap: 24px; }
  .block { padding: 46px 0; }
  .grid, .grid-3 { grid-template-columns: 1fr; gap: 22px; }
  .feature-body { padding: 34px 26px; }
  .prow { grid-template-columns: 1fr; gap: 8px; }
  .prow-date { order: 2; }
  .prow-meta { display: none; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav .next { text-align: left; }
  .about-hero { grid-template-columns: 1fr; gap: 24px; padding: 52px 0 40px; }
  .about-avatar { width: 108px; height: 108px; }
  .me-head { padding: 48px 0 26px; }
  .auth-wrap { padding: 54px 0 30px; }
  .auth-card { padding: 32px 24px; }
  .cmt { grid-template-columns: 34px 1fr; gap: 12px; }
  .cmt-avatar, .cmt-avatar-fallback { width: 34px; height: 34px; font-size: 13px; }
  .tl { padding-left: 24px; }
  .tl-group h3::before { left: -24px; width: 9px; height: 9px; }
}
