@charset "utf-8";
/* ==========================================================================
   陈川 · 个人博客 — cc.hao.website
   松墨绿 + 米纸 + 铜色 / 衬线标题 + 无衬线正文
   ========================================================================== */

:root {
  --ink: #13201c;
  --ink-soft: #283a34;
  --blue: #145c4c;
  --blue-bright: #1b6b57;
  --cyan: #3a9782;
  --cyan-soft: #e3f1ec;
  --paper: #f7f4ec;
  --surface: #fffdf7;
  --surface-2: #faf7ef;
  --line: #d9d5c8;
  --line-strong: #c2bdae;
  --muted: #5b6a63;
  --muted-2: #8b968f;
  --gold: #b26f3b;
  --gold-soft: #f7ecdd;
  --green: #2f7d5f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 28, .06);
  --shadow: 0 12px 32px -18px rgba(16, 43, 37, .3);
  --shadow-lg: 0 30px 60px -30px rgba(16, 43, 37, .4);
  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body.cc-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.cc-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(27, 107, 87, .10), transparent 60%),
    radial-gradient(760px 480px at 92% 6%, rgba(58, 151, 130, .10), transparent 62%),
    linear-gradient(180deg, #fbf8f0 0%, #f4f1e8 46%, #fbf8f0 100%);
}

img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sr-only--focusable:focus {
  position: fixed !important;
  z-index: 120;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 10px 16px;
  clip: auto;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.cc-wrap { width: min(var(--wrap), calc(100% - var(--gutter) - var(--gutter))); max-width: var(--wrap); margin-inline: auto; }
.cc-wrap--narrow { width: min(100% - var(--gutter) - var(--gutter), 860px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.cc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(194, 189, 174, .55);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}

.cc-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cc-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.cc-brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; line-height: 1; }
.cc-brand-name { font-family: var(--sans); font-size: 1.62rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); line-height: 1; margin-right: -.1em; }
.cc-brand-mark {
  width: auto; height: 48px; border: 0; border-radius: 0; outline: none; filter: none;
  background: transparent; box-shadow: none;
}
.cc-brand-domain {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .075em;
  color: #5f746c;
  line-height: 1;
  white-space: nowrap;
}
.cc-brand-domain b { font-weight: 700; color: var(--gold); }

.cc-nav { display: flex; align-items: center; gap: 4px; }
.cc-nav > a {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  transition: color .2s, background-color .2s;
}
.cc-nav > a:hover { color: var(--ink); background: rgba(20, 92, 76, .06); }
.cc-nav > a.is-active { color: var(--blue); }
.cc-nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.cc-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.cc-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.cc-main { flex: 1 0 auto; padding: 44px 0 80px; }
.cc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 44px; align-items: start; }
.cc-layout--single { grid-template-columns: minmax(0, 1fr); }
.col-main { min-width: 0; }
.cc-aside { min-width: 0; position: relative; }

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */
.cc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.cc-eyebrow i { width: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; }

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s, border-color .2s, box-shadow .2s, background-color .2s;
}
.cc-btn:hover { transform: translateY(-1px); border-color: #b7c8bc; box-shadow: var(--shadow-sm); }
.cc-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #2d8a76 60%, var(--cyan));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(27, 107, 87, .7);
}
.cc-btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(27, 107, 87, .75); }
.cc-btn i { font-style: normal; }

.cc-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 30px; position: relative; overflow: hidden; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.cc-panel::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--blue), #b07a46);
  transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.cc-panel:hover { transform: translateY(-4px); border-color: #bfcfc3; box-shadow: 0 24px 48px -28px rgba(19, 32, 28, .18); }
.cc-panel:hover::before { transform: scaleY(1); }
.cc-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cc-sec-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 8px 0 16px;
}

/* --------------------------------------------------------------------------
   Home masthead：整幅深绿刊头
   -------------------------------------------------------------------------- */
.cc-masthead {
  position: relative;
  overflow: hidden;
  background: #0e241e;
  color: #f4efe2;
  border-top: 3px solid var(--gold);
}
.cc-masthead-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, .95), transparent 76%);
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, .95), transparent 76%);
  pointer-events: none;
}
.cc-masthead-mark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-46%);
  font-family: var(--serif);
  font-size: clamp(220px, 26vw, 420px);
  font-weight: 900;
  line-height: 1;
  color: rgba(244, 239, 226, .035);
  pointer-events: none;
  user-select: none;
}
.cc-masthead-inner { position: relative; z-index: 1; padding: clamp(26px, 3.6vw, 40px) 0 clamp(24px, 3.2vw, 34px); }
.cc-masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 226, .16);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: #b6ad9a;
}
.cc-masthead-main {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px) 0 clamp(18px, 2.8vw, 26px);
}
.cc-masthead-title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.4vw, 5.1rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #f7f2e6;
}
.cc-masthead-title em { font-style: normal; color: #d9b98c; }
.cc-masthead-lead { max-width: 620px; margin-top: 20px; color: #b6ae9d; font-size: .95rem; line-height: 1.85; }
.cc-br-mobile { display: none; }
.cc-masthead-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 239, 226, .16);
  color: #b3aa98;
  font-size: .78rem;
  letter-spacing: .02em;
}
.cc-masthead-foot b { margin-right: 3px; font-family: var(--serif); font-size: 1.3rem; font-weight: 900; color: #f2ecdc; }
.cc-masthead-foot a { margin-left: auto; color: #e6c79c; font-weight: 700; }
.cc-masthead-foot a i { font-style: normal; transition: transform .22s ease; }
.cc-masthead-foot a:hover i { transform: translate(2px, -2px); }

@media (max-width: 860px) {
  .cc-masthead-lead { max-width: 100%; }
  .cc-br-mobile { display: block; }
  .cc-masthead-mark { right: -6%; opacity: .7; }
  .cc-masthead-foot { gap: 8px 20px; }
  .cc-masthead-foot a { margin-left: 0; }
}

/* 关于页的 meta 行 */
.cc-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; color: var(--muted-2); font-size: .82rem; }
.cc-hero-meta b { color: var(--ink); font-size: .95rem; font-family: var(--serif); font-variant-numeric: tabular-nums; }
.cc-hero-meta a { color: var(--blue); font-weight: 700; }
.cc-hero-meta a i { font-style: normal; font-size: .85em; }

/* --------------------------------------------------------------------------
   Post list
   -------------------------------------------------------------------------- */
.cc-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.cc-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cc-post:hover { transform: translateY(-4px); border-color: #c6d1c7; box-shadow: var(--shadow); }
.cc-post.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; }
.cc-post.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: .86fr 1fr; align-items: stretch; }
.cc-post.is-lead .cc-post-cover, .cc-post.is-wide .cc-post-cover { align-self: stretch; aspect-ratio: auto; width: 100%; }
.cc-post-cover {
  display: block;
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee7d9;
}
.cc-post-cover::before {
  content: "代码川 / 建站实战";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f6f1e7, #f0e7d7 55%, #eaf0e6);
  color: rgba(20, 92, 76, .45);
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: .12em;
}
.cc-post-cover img { position: relative; z-index: 1; }
.cc-post-cover img.is-broken, .cc-article-cover img.is-broken, .cc-latest-item img.is-broken { visibility: hidden; }
.cc-post-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 32, 28, .16));
  opacity: 0;
  transition: opacity .3s;
}
.cc-post:hover .cc-post-cover::after { opacity: 1; }
.cc-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cc-post:hover .cc-post-cover img { transform: scale(1.04); }

.cc-post-body { display: flex; flex-direction: column; min-width: 0; padding: 22px 24px 20px; }
.cc-post.is-lead .cc-post-body { padding: 34px 34px 28px; justify-content: center; }
.cc-post.is-wide .cc-post-body { padding: 30px 32px; justify-content: center; }
.cc-post-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted-2);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cc-post-kicker span { color: var(--cyan); letter-spacing: .14em; }
.cc-post-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
  font-weight: 800;
  color: var(--ink);
}
.cc-post.is-lead .cc-post-title { font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
.cc-post-title a { transition: color .2s; }
.cc-post:hover .cc-post-title a { color: var(--blue); }
.cc-post-excerpt {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-post.is-lead .cc-post-excerpt { -webkit-line-clamp: 3; font-size: .96rem; }
.cc-post-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted-2);
  font-size: .78rem;
}
.cc-post-foot a { color: var(--blue); font-weight: 700; }
.cc-post-foot a i { font-style: normal; margin-left: 2px; transition: margin .2s; }
.cc-post:hover .cc-post-foot a i { margin-left: 6px; }


/* --------------------------------------------------------------------------
   Pager
   -------------------------------------------------------------------------- */
.cc-pager {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cc-pager-step {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.cc-pager-step:hover { color: var(--blue); border-color: #c0cfc4; }
.cc-pager-step.is-disabled { opacity: .42; pointer-events: none; }
.cc-pager-nums { display: flex; align-items: center; gap: 6px; }
.cc-pager-nums a, .cc-pager-nums .is-current {
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: .82rem; font-weight: 700;
  color: var(--muted);
}
.cc-pager-nums a:hover { background: #f6f1e7; color: var(--blue); }
.cc-pager-nums .is-current { background: var(--ink); color: #fff; }
.cc-pager-gap { color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.cc-article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 52px); }
.cc-crumb { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: .78rem; }
.cc-crumb a:hover { color: var(--blue); }
.cc-crumb i { font-style: normal; opacity: .5; }
.cc-crumb span { color: var(--muted); }
.cc-article-title {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
}
.cc-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted-2); font-size: .8rem; }
.cc-article-meta time { color: var(--muted); }
.cc-article-cover { margin: 28px 0 6px; border-radius: 12px; overflow: hidden; background: #eee7d9; aspect-ratio: 16 / 9; }
.cc-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cc-prose { color: #33443d; font-size: 1.02rem; line-height: 1.95; margin-top: 28px; overflow-wrap: break-word; }
.cc-prose > * + * { margin-top: 1.1em; }
.cc-prose h2, .cc-prose h3, .cc-prose h4 { font-family: var(--serif); color: var(--ink); line-height: 1.45; scroll-margin-top: 96px; }
.cc-prose h2 { font-size: 1.6rem; margin-top: 2.1em; padding-left: 14px; border-left: 3px solid var(--blue); }
.cc-prose h3 { font-size: 1.28rem; margin-top: 1.8em; }
.cc-prose h4 { font-size: 1.1rem; margin-top: 1.6em; }
.cc-prose p { margin-top: 1.05em; }
.cc-prose a { color: var(--blue); border-bottom: 1px solid rgba(27, 107, 87, .3); }
.cc-prose a:hover { border-bottom-color: var(--blue); }
.cc-prose strong { color: var(--ink); font-weight: 700; }
.cc-prose ul, .cc-prose ol { padding-left: 1.4em; }
.cc-prose li { margin-top: .45em; }
.cc-prose li::marker { color: var(--blue); }
.cc-prose blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: var(--cyan-soft);
  color: var(--ink-soft);
}
.cc-prose blockquote > * + * { margin-top: .6em; }
.cc-prose pre {
  margin: 1.4em 0;
  padding: 18px 20px;
  border: 1px solid #1c3b33;
  border-radius: 10px;
  background: #102b25;
  color: #f0e7d7;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.75;
  overflow-x: auto;
  position: relative;
}
.cc-prose pre code { font-family: inherit; font-size: inherit; color: inherit; }
.cc-prose code { padding: .12em .42em; border-radius: 5px; background: #f6f1e7; color: #0a3d33; font-family: var(--mono); font-size: .9em; }
.cc-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9rem; }
.cc-prose th, .cc-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.cc-prose th { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.cc-prose img { border-radius: 10px; margin: 1.2em auto; display: block; }
.cc-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.cc-prose .head-anchor {
  margin-left: 8px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: .62em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 0;
  opacity: 0;
  transition: opacity .2s, color .2s;
}
.cc-prose .head-anchor:hover { color: var(--blue); }
.cc-prose h2:hover .head-anchor, .cc-prose h3:hover .head-anchor { opacity: .7; }

.cc-copyright { margin-top: 40px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: .82rem; color: var(--muted); }
.cc-copyright p { display: flex; gap: 12px; }
.cc-copyright p + p { margin-top: 6px; }
.cc-copyright span { flex: none; width: 40px; color: var(--muted-2); }
.cc-copyright a { color: var(--blue); word-break: break-all; }
.cc-copyright .note { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }

.cc-adjacent { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cc-adjacent-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cc-adjacent-card:hover { border-color: #c0cfc4; transform: translateY(-2px); box-shadow: var(--shadow); }
.cc-adjacent-card span { color: var(--muted-2); font-size: .74rem; font-weight: 700; }
.cc-adjacent-card b { font-family: var(--serif); font-size: .98rem; line-height: 1.5; color: var(--ink); }
.cc-adjacent-card[rel="next"] { text-align: right; }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.cc-widget { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 18px; }
.cc-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.cc-widget-head span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--ink); }
.cc-widget-head i { font-style: normal; font-size: .6rem; letter-spacing: .16em; color: var(--muted-2); }
.cc-widget-head a { font-size: .74rem; color: var(--blue); font-weight: 700; }

.cc-toc { position: sticky; top: 92px; z-index: 10; }
.cc-toc-list { display: flex; flex-direction: column; gap: 2px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.cc-toc-link {
  position: relative;
  padding: 7px 10px 7px 14px;
  border-radius: 7px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
  transition: color .2s, background-color .2s;
}
.cc-toc-link::before {
  content: "";
  position: absolute;
  left: 3px; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-50%);
}
.cc-toc-link:hover { color: var(--blue); background: #f4efe4; }
.cc-toc-link.is-sub { padding-left: 24px; font-size: .78rem; color: var(--muted-2); }
.cc-toc-link.is-active, .cc-toc-link.is-current { color: var(--blue); background: #f6f1e7; font-weight: 700; }
.cc-toc-link.is-active::before, .cc-toc-link.is-current::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(27, 107, 87, .14); }
.cc-aside.is-article .cc-toc { margin-bottom: 20px; }

.cc-author-card { text-align: center; }
.cc-avatar { width: auto; height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; outline: none; filter: none; }
.cc-avatar img { width: auto; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; }
.cc-author-name { margin-top: 12px; font-family: var(--serif); font-size: 1.18rem; font-weight: 900; letter-spacing: .06em; color: var(--ink); }
.cc-author-role { margin-top: 3px; color: var(--cyan); font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.cc-author-desc { margin-top: 10px; color: var(--muted); font-size: .82rem; line-height: 1.75; }
.cc-author-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.cc-author-stats a {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  justify-content: start;
  align-items: baseline;
  column-gap: 3px;
}
.cc-author-stats a + a { border-left: 1px solid var(--line); padding-left: 14px; }
.cc-author-stats span { grid-column: 1 / -1; color: var(--muted-2); font-size: .66rem; }
.cc-author-stats b { grid-row: 2; grid-column: 1; font-family: var(--serif); font-size: 1.16rem; color: var(--ink); }
.cc-author-stats em { grid-row: 2; grid-column: 2; font-style: normal; font-size: .62rem; color: var(--muted-2); }
.cc-author-actions { display: flex; gap: 8px; margin-top: 14px; }
.cc-author-actions a {
  flex: 1;
  min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink);
}
.cc-author-actions a:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.cc-wx { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--surface-2); text-align: left; }
.cc-wx img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.cc-wx span { color: var(--muted); font-size: .72rem; line-height: 1.6; }

.cc-latest-list { display: flex; flex-direction: column; gap: 8px; }
.cc-latest-item { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; }
.cc-latest-item:hover { background: var(--surface-2); }
.cc-latest-item img { width: 64px; height: 48px; border-radius: 5px; object-fit: cover; flex: none; background: #eee7d9; }
.cc-latest-item span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cc-latest-item b { font-size: .8rem; line-height: 1.45; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-latest-item em { font-style: normal; font-size: .68rem; color: var(--muted-2); }

.cc-arch-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; border-bottom: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.cc-arch-row:last-child { border-bottom: 0; }
.cc-arch-row:hover { color: var(--blue); }
.cc-arch-row em { font-style: normal; color: var(--muted-2); font-size: .72rem; }

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */
.archive-page { min-width: 0; }
.archive-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.archive-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--cyan); }
.archive-hero-title { margin-top: 10px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.2; }
.archive-hero-sub { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.archive-hero-stats { display: flex; gap: 28px; }
.archive-stat { text-align: right; }
.archive-stat dt { color: var(--muted-2); font-size: .68rem; }
.archive-stat dd { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1.2; }

.archive-years { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.archive-year-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.archive-year-chip:hover { border-color: var(--blue); }
.archive-year-chip-num { font-family: var(--serif); font-size: 1rem; font-weight: 800; color: var(--ink); }
.archive-year-chip-count { font-size: .7rem; color: var(--muted-2); }

.archive-body { display: flex; flex-direction: column; gap: 36px; margin-top: 10px; }
.archive-year-title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.archive-year-num { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--ink); }
.archive-year-rule { flex: 1; height: 1px; background: var(--line); }
.archive-year-count { font-size: .74rem; color: var(--muted-2); }
.archive-months { display: flex; flex-direction: column; gap: 24px; padding-left: 6px; }
.archive-month-title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.archive-month-label { font-size: .86rem; font-weight: 800; color: var(--ink); }
.archive-month-count { font-size: .7rem; color: var(--muted-2); }
.archive-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.archive-item-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255,255,255,.5);
  transition: background-color .2s, border-color .2s;
}
.archive-item-link:hover { background: #fff; border-color: var(--line); }
.archive-item-thumb { flex: none; width: 112px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #eee7d9; }
.archive-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.archive-item-title { font-family: var(--serif); font-size: .98rem; font-weight: 700; color: var(--ink); }
.archive-item-meta { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: .7rem; }
.archive-item-dot { font-style: normal; }
.archive-item-sum { color: var(--muted); font-size: .78rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.archive-item-arrow { flex: none; width: 16px; height: 16px; fill: var(--muted-2); }

/* --------------------------------------------------------------------------
   Page heads / panels / me
   -------------------------------------------------------------------------- */
.cc-page-head { padding: 8px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.cc-page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.22;
  font-weight: 900;
  color: var(--ink);
}
.cc-page-head h1 em { font-style: normal; color: var(--blue); }
.cc-page-head p { max-width: 620px; margin-top: 16px; color: var(--muted); font-size: .98rem; line-height: 1.9; }

.cc-about .cc-prose { margin-top: 0; }
.cc-def { margin-top: 8px; border-top: 1px solid var(--line); }
.cc-def > div { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.cc-def dt { flex: none; width: 62px; color: var(--muted-2); }
.cc-def dd { color: var(--ink); }
.cc-def dd a { color: var(--blue); word-break: break-all; }

.cc-me-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: 32px;
  align-items: stretch;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.cc-me-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.16;
  font-weight: 900;
  color: var(--ink);
}
.cc-me-copy h1 em { font-style: normal; background: linear-gradient(105deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-me-copy > p { margin-top: 16px; max-width: 560px; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.cc-me-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #102b25, #153b31 60%, #1c4a3e);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cc-me-card::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -70px; top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 151, 130, .4), transparent 65%);
}
.cc-me-no { font-size: .62rem; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.cc-me-avatar {
  width: 96px; height: 104px;
  margin: 22px 0 14px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 24px rgba(58, 151, 130, .55);
}
.cc-me-avatar img { width: auto; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; }
.cc-me-card b { display: block; font-family: var(--serif); font-size: 1.4rem; letter-spacing: .08em; }
.cc-me-card > span { display: block; margin-top: 4px; color: #d8c1a0; font-size: .76rem; letter-spacing: .05em; }
.cc-me-card p { margin-top: 12px; color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.8; }
.cc-me-card a { display: inline-block; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .78rem; font-weight: 700; width: 100%; }
.cc-me-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cc-me-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px dashed rgba(20, 92, 76, .16); }
.cc-me-qr img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; flex: none; background: #fff; }
.cc-me-qr span { color: var(--muted); font-size: .76rem; }

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.card, .error-page {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(36px, 7vw, 80px);
  text-align: center;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .18;
}
.error-title { margin-top: -12px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); }
.error-desc { max-width: 480px; margin: 12px auto 0; color: var(--muted); font-size: .92rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn { /* alias，兼容旧模板 */
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 9px;
  background: #fff; color: var(--ink);
  font-size: .86rem; font-weight: 700;
}
.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.cc-footer {
  position: relative;
  margin-top: 20px;
  padding: 48px 0 26px;
  background: #102b25;
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
}
.cc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(27, 107, 87, .2), transparent 70%),
    radial-gradient(480px 280px at 90% 10%, rgba(58, 151, 130, .14), transparent 70%);
}
.cc-footer .cc-wrap { position: relative; }
.cc-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.cc-brand--footer .cc-brand-mark { width: auto; height: 42px; border-radius: 0; box-shadow: none; }
.cc-brand--footer .cc-brand-lockup { gap: 5px; }
.cc-brand--footer .cc-brand-name { color: #fff; font-size: 1.45rem; }
.cc-brand--footer .cc-brand-domain { color: rgba(255, 255, 255, .58); font-size: .55rem; letter-spacing: .06em; }
.cc-brand--footer .cc-brand-domain b { color: #d8c1a0; }
.cc-footer-brand > p { max-width: 340px; margin-top: 16px; color: rgba(255, 255, 255, .5); font-size: .8rem; line-height: 1.85; }
.cc-footer-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.cc-footer-nav h3, .cc-footer-links h3 { color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
.cc-footer-nav > div { display: flex; flex-direction: column; gap: 8px; }
.cc-footer-nav a { color: rgba(255, 255, 255, .58); font-size: .8rem; }
.cc-footer-nav a:hover { color: #d8c1a0; }
.cc-footer-nav i { font-style: normal; color: #d8c1a0; font-size: .82em; margin-left: 2px; }
.cc-footer-qr img { width: 96px; height: 96px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); object-fit: cover; }
.cc-footer-qr span { display: block; margin-top: 8px; color: rgba(255,255,255,.4); font-size: .66rem; }

.cc-footer-links {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.cc-footer-links h3 { margin: 0 8px 0 0; }
.cc-footer-links a {
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .6);
  font-size: .78rem;
  transition: border-color .2s, color .2s, background .2s;
}
.cc-footer-links a:hover { border-color: rgba(216, 193, 160, .6); background: rgba(216, 193, 160, .08); color: #fff; }

.cc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .4);
  font-size: .74rem;
}
.cc-footer-bottom b { color: rgba(255, 255, 255, .72); }
.cc-footer-bottom a { color: rgba(255,255,255,.6); }
.cc-footer-beian { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: .7rem; color: rgba(255,255,255,.35); }
.cc-footer-beian a { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.4); }

/* --------------------------------------------------------------------------
   Reading progress / right rail
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}
.scroll-progress__bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px rgba(58, 151, 130, .55); }
.reading-bar { position: fixed; top: 76px; left: 0; right: 0; height: 2px; z-index: 40; background: rgba(194, 189, 174, .35); }
.reading-bar__fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.right-rail { position: fixed; right: 22px; bottom: 28px; z-index: 45; display: flex; flex-direction: column; gap: 10px; }
.rail-top {
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.rail-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.rail-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; }
.rail-ring-track { stroke: #ece8dd; stroke-width: 2; }
.rail-ring-arc { stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 157; }
.rail-arrow { position: relative; width: 18px; height: 18px; fill: var(--ink); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   2026 大屏与关于页
   -------------------------------------------------------------------------- */
.page-about .cc-me-hero { padding: 8px 0 36px; }
.page-about .cc-me-card { transition: transform .35s ease, box-shadow .35s ease; }
.page-about .cc-me-card:hover { transform: translateY(-3px); box-shadow: 0 36px 70px -34px rgba(16, 43, 37, .55); }
.page-about .cc-me-grid { margin-bottom: 20px; }
.page-about .cc-panel { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.page-about .cc-panel:hover { border-color: #b8c8bd; box-shadow: var(--shadow); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   2026 细节层：给阅读页多一点呼吸、光位与手感
   -------------------------------------------------------------------------- */
.cc-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,151,130,.55), transparent);
  pointer-events: none;
}
.cc-brand-mark {
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  animation: none;
}
.cc-brand:hover .cc-brand-mark { transform: translateY(-1px); filter: none; }
@keyframes brand-breathe {
  0%, 100% { filter: drop-shadow(0 5px 14px rgba(16,43,37,.18)); }
  50% { filter: drop-shadow(0 7px 19px rgba(16,43,37,.26)); }
}
.cc-brand-name { transition: color .25s ease; }
.cc-brand:hover .cc-brand-name { color: var(--blue); }

.cc-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cc-masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(216,193,160,.5), rgba(216,193,160,0));
}
.cc-masthead-title em {
  position: relative;
  display: inline-block;
}
.cc-masthead-foot b { font-variant-numeric: tabular-nums; }
.cc-masthead-lead { text-wrap: pretty; }

.cc-post { position: relative; isolation: isolate; }
.cc-post::before {
  content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 56%, var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cc-post:hover { transform: translateY(-5px) scale(1.008); }
.cc-post:hover::before { transform: scaleX(1); }
.cc-post:hover .cc-post-cover img { transform: scale(1.06); }
.cc-post-cover::after {
  background:
    linear-gradient(180deg, transparent 48%, rgba(19,32,28,.18)),
    linear-gradient(112deg, transparent 26%, rgba(255,255,255,.22) 48%, transparent 68%);
  transform: translateX(-16%);
  transition: opacity .35s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.cc-post:hover .cc-post-cover::after { opacity: 1; transform: translateX(0); }
.cc-post-title a {
  background-image: linear-gradient(90deg, var(--blue), var(--cyan));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: color .25s ease, background-size .35s cubic-bezier(.2,.7,.2,1);
}
.cc-post-title a:hover { background-size: 100% 1px; }
.cc-post-foot a i { transition: margin .2s ease, transform .2s ease; }
.cc-post:hover .cc-post-foot a i { transform: translateX(3px); }

.cc-widget {
  position: relative; overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.cc-widget::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent 86%);
  opacity: 0; transform: scaleX(.2); transform-origin: left;
  transition: transform .45s ease, opacity .3s ease;
}
.cc-widget:hover { border-color: #c4d3c8; box-shadow: var(--shadow); transform: translateY(-2px); }
.cc-widget:hover::before { opacity: 1; transform: scaleX(1); }
.cc-widget-head span { transition: color .25s ease; }
.cc-widget:hover .cc-widget-head span { color: var(--blue); }

/* 目录卡必须继续 sticky：上面的通用卡片规则会写 position，
   这里把它夺回来，否则 top:92px 会变成 relative 位移，和作者卡叠在一起。 */
.cc-toc { position: sticky; top: 92px; z-index: 12; overflow: visible; }
.cc-toc:hover { transform: none; }

.cc-avatar {
  animation: none;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cc-author-card:hover .cc-avatar { transform: rotate(-3deg) scale(1.02); filter: none; }
@keyframes avatar-breathe {
  0%, 100% { filter: drop-shadow(0 12px 26px rgba(19,32,28,.18)); }
  50% { filter: drop-shadow(0 15px 30px rgba(19,32,28,.24)); }
}
.cc-author-stats b { font-variant-numeric: tabular-nums; }
.cc-author-actions a { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.cc-author-actions a:hover { transform: translateY(-1px); }

.cc-article { position: relative; isolation: isolate; }
.cc-article::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; z-index: 1;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 52%, var(--gold));
}
.cc-article-cover { transition: box-shadow .35s ease; }
.cc-article-cover:hover { box-shadow: 0 20px 44px -24px rgba(16,43,37,.4); }
.cc-article-cover img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cc-article-cover:hover img { transform: scale(1.035); }
.cc-prose h2 { border-left-color: var(--blue-bright); }
.cc-prose blockquote {
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(58,151,130,.12), transparent 70%),
    var(--cyan-soft);
  box-shadow: inset 0 0 0 1px rgba(20,92,76,.045);
}
.cc-prose pre { box-shadow: inset 0 1px 0 rgba(244,232,210,.06), 0 18px 34px -26px rgba(16,43,37,.55); }
.cc-prose pre:hover { border-color: #2d5a4c; }

/* 代码块右上角的「复制」按钮：由 main.js 插在每个 pre 的末尾，悬停代码块或键盘聚焦时才出现，
   触屏没有 hover 就常驻显示。它是 pre 的子元素，代码横向滚动时会跟着内容一起走。 */
.cc-prose .code-copy {
  position: absolute; top: 8px; right: 10px;
  padding: 3px 10px;
  border: 1px solid rgba(240, 231, 215, .22);
  border-radius: 6px;
  background: rgba(16, 43, 37, .92);
  color: rgba(240, 231, 215, .72);
  font-family: var(--sans); font-size: 11.5px; line-height: 1.5;
  cursor: pointer; opacity: 0;
  transition: opacity .2s, color .2s, border-color .2s;
}
.cc-prose pre:hover .code-copy, .cc-prose .code-copy:focus-visible { opacity: 1; }
.cc-prose .code-copy:hover, .cc-prose .code-copy.is-done { color: #f0e7d7; border-color: rgba(240, 231, 215, .55); }
@media (hover: none) { .cc-prose .code-copy { opacity: 1; } }
.cc-prose a { transition: color .2s ease, border-color .2s ease; }
.cc-prose a:hover { color: var(--blue-bright); }

.cc-adjacent-card { position: relative; overflow: hidden; }
.cc-adjacent-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.cc-adjacent-card:hover::before { opacity: 1; }
.cc-pager-nums .is-current { box-shadow: 0 8px 20px -10px rgba(16,43,37,.55); }
.cc-pager-step { transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.cc-pager-step:hover { background: #fff; }

.cc-footer::after {
  content: ""; position: absolute; z-index: 0; right: -80px; bottom: -160px;
  width: 460px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(58,151,130,.16), transparent 68%);
  animation: footer-glow 12s ease-in-out infinite alternate;
}
@keyframes footer-glow {
  from { transform: translate3d(0, 0, 0) scale(.94); opacity: .65; }
  to { transform: translate3d(-36px, -22px, 0) scale(1.08); opacity: 1; }
}
.cc-footer .cc-wrap { z-index: 1; }
.cc-footer-links a { transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease; }
.cc-footer-links a:hover { transform: translateY(-1px); }

@media (max-width: 640px) {
  .cc-hero::before { font-size: 150px; top: -22px; right: -18px; }
  .cc-post:hover { transform: none; }
}

/* 大屏：博客版面收口到 1280，正文与侧栏保持稳定比例 */
@media (min-width: 1600px) {
  .cc-main { padding: 54px 0 96px; }
  .cc-header-inner { min-height: 84px; gap: 28px; }
  .cc-brand { gap: 13px; }
  .cc-brand-mark { height: 52px; width: auto; border-radius: 0; }
  .cc-brand-lockup { gap: 7px; }
  .cc-brand-name { font-size: 1.75rem; letter-spacing: .11em; margin-right: -.11em; }
  .cc-brand-domain { font-size: .68rem; letter-spacing: .08em; }
  .cc-nav { gap: 6px; }
  .cc-nav > a { padding: 10px 16px; font-size: .98rem; }
  .cc-layout { grid-template-columns: minmax(0, 1fr) 336px; gap: 50px; }
  .cc-post.is-lead .cc-post-body { padding: 34px; }
  .cc-post.is-wide .cc-post-body { padding: 30px; }
  .cc-footer { padding-top: 58px; }
}
@media (max-width: 1100px) {
  .cc-layout { grid-template-columns: minmax(0, 1fr) 286px; gap: 32px; }
  .cc-post-list { gap: 20px; }
  .cc-post.is-lead .cc-post-body { padding: 26px; }
  .cc-post.is-wide .cc-post-body { padding: 24px; }
}

@media (max-width: 960px) {
  .cc-wrap { width: min(var(--wrap), calc(100% - 36px)); }
  .cc-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 20px; right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }
  .cc-header-inner { position: relative; min-height: 68px; }
  .cc-burger { display: inline-flex; }
  .cc-nav.is-open { display: flex; }
  .cc-nav > a { padding: 11px 14px; }
  .cc-nav > a.is-active::after { display: none; }
  .cc-nav > a.is-active { background: #f6f1e7; }
  .cc-header { z-index: 60; }
  .cc-main { padding-top: 30px; }
  .cc-layout { grid-template-columns: minmax(0, 1fr); }
  .cc-aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: start; }
  .cc-widget { margin-bottom: 0; }
  .cc-toc { position: static; grid-column: 1 / -1; }
  .cc-toc-list { max-height: 320px; }
  .cc-me-hero { grid-template-columns: 1fr; }
  .cc-me-card { max-width: 460px; }
  .reading-bar { top: 68px; }
  .cc-post-list { grid-template-columns: 1fr; }
  .cc-post.is-lead .cc-post-body { padding: 24px; }
}

@media (max-width: 1180px) {
  .cc-hero { grid-template-columns: 1fr; gap: 26px; }
  .cc-hero-copy { max-width: 680px; }
  .cc-hero-index { max-width: none; justify-self: stretch; }
  .cc-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cc-hero-facts > div {
    display: block;
    padding: 11px 18px 10px;
    border-bottom: 0;
    border-right: 1px solid rgba(194, 189, 174, .55);
  }
  .cc-hero-facts > div:first-child { padding-left: 0; }
  .cc-hero-facts > div:last-child { padding-right: 0; border-right: 0; }
  .cc-hero-facts dt { margin-bottom: 4px; }
  .cc-hero-hub { margin-top: 8px; padding-top: 10px; }
}

@media (max-width: 760px) {
  .cc-post.is-lead { display: flex; }
  .cc-post.is-wide { display: flex; grid-column: auto; }
}

@media (max-width: 640px) {
  body.cc-body { font-size: 15px; }
  .cc-wrap { width: calc(100% - 30px); }
  .cc-header-inner { min-height: 64px; }
  .cc-brand { gap: 10px; }
  .cc-brand-name { font-size: 1.3rem; letter-spacing: .08em; margin-right: -.08em; }
  .cc-brand-lockup { gap: 4px; }
  .cc-brand-domain { font-size: .52rem; letter-spacing: .03em; }
  .cc-brand-mark { height: 40px; width: auto; border-radius: 0; }
  .cc-main { padding: 24px 0 56px; }
  .cc-hero { padding-bottom: 28px; margin-bottom: 24px; }
  .cc-hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .cc-hero-lead { font-size: .94rem; }
  .cc-hero-meta { gap: 8px 16px; font-size: .76rem; }
  .cc-post-body { padding: 18px; }
  .cc-post.is-lead .cc-post-title { font-size: 1.36rem; }
  .cc-post-title { font-size: 1.14rem; }
  .cc-post-excerpt { font-size: .86rem; }
  .cc-article { padding: 22px 18px; }
  .cc-article-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cc-article-meta { font-size: .74rem; gap: 6px 12px; }
  .cc-prose { font-size: .98rem; line-height: 1.9; }
  .cc-prose h2 { font-size: 1.36rem; }
  .cc-prose pre { padding: 14px; font-size: .76rem; }
  .cc-copyright { padding: 16px; }
  .cc-copyright p { display: block; }
  .cc-copyright span { display: block; width: auto; margin-bottom: 2px; }
  .cc-adjacent { grid-template-columns: 1fr; }
  .cc-adjacent-card[rel="next"] { text-align: left; }
  .cc-aside { grid-template-columns: 1fr; }
  .cc-author-card { grid-row: auto; }
  .cc-toc { grid-column: auto; }
  .archive-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .archive-hero-stats { gap: 22px; }
  .archive-stat { text-align: left; }
  .archive-item-thumb { width: 74px; }
  .archive-item-sum { display: none; }
  .archive-item-title { font-size: .9rem; }
  .cc-panel { padding: 20px; }
  .cc-me-copy h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .cc-me-grid { grid-template-columns: 1fr; }
  .cc-me-qr { flex-direction: column; align-items: flex-start; }
  .cc-footer { padding-top: 34px; }
  .cc-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cc-footer-nav { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cc-footer-qr { grid-column: 1 / -1; }
  .cc-footer-bottom { flex-direction: column; }
  .cc-pager { gap: 8px; }
  .cc-pager-step { padding: 0 10px; font-size: .76rem; }
  .cc-pager-nums { gap: 2px; }
  .cc-pager-nums a, .cc-pager-nums .is-current { min-width: 30px; height: 30px; font-size: .76rem; }
  .right-rail { right: 14px; bottom: 18px; }
  .rail-top { width: 42px; height: 42px; }
  .error-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .cc-post-kicker span { display: none; }
  .cc-article-meta span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .cc-brand-mark, .cc-hero-title em, .cc-hero::after, .cc-footer::after, .cc-avatar { animation: none !important; }
  .cc-post:hover, .cc-widget:hover, .cc-article-cover:hover img { transform: none !important; }
  .cc-post, .cc-widget, .cc-avatar, .cc-article-cover img, .cc-post-cover::after { transition: none !important; }
}

@media print {
  .cc-header, .cc-footer, .cc-aside, .right-rail, .reading-bar, .scroll-progress { display: none !important; }
  .cc-article { border: 0; box-shadow: none; padding: 0; }
  body.cc-body { background: #fff; }
  .cc-prose .code-copy { display: none !important; }
}


/* 主理人页：整页当一张人物版式来做，左边自述，右边名片 */
.page-about .cc-me-hero {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 360px);
  position: relative; gap: 44px; padding: 26px 0 44px; border-bottom: 0; margin-bottom: 34px;
}
.page-about .cc-me-hero::before {
  content: "川"; position: absolute; right: 30%; top: -42px;
  font-family: var(--serif); font-size: 240px; line-height: 1; font-weight: 900;
  color: rgba(20, 92, 76, .06); pointer-events: none; user-select: none;
}
.page-about .cc-me-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.page-about .cc-me-copy .cc-eyebrow { position: relative; }
.page-about .cc-me-copy .cc-eyebrow::after {
  content: ""; display: inline-block; width: 64px; height: 1px; margin-left: 12px;
  vertical-align: 4px; background: linear-gradient(90deg, rgba(20, 92, 76, .45), transparent);
}
.page-about .cc-me-copy h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.01em; }
.page-about .cc-me-copy > p { margin-top: 20px; max-width: 34em; font-size: 1.02rem; line-height: 2; }
.page-about .cc-hero-meta { gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.page-about .cc-hero-meta > span {
  padding: 7px 12px; border: 1px solid rgba(20, 92, 76, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .6); font-size: .78rem; letter-spacing: .02em;
}
.page-about .cc-hero-meta > a { margin-left: 4px; }
.page-about .cc-me-card {
  padding: 30px 28px 26px; border-radius: 20px;
  border: 1px solid rgba(216, 193, 160, .28);
  background:
    radial-gradient(340px 200px at 100% 0%, rgba(58, 151, 130, .32), transparent 70%),
    linear-gradient(150deg, #102b25 0%, #153b31 62%, #1b463b 100%);
  box-shadow: 0 40px 74px -44px rgba(10, 43, 35, .75);
  display: flex; flex-direction: column;
}
.page-about .cc-me-card::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; pointer-events: none;
}
.page-about .cc-me-avatar { width: 112px; height: 112px; margin: 20px 0 18px; }
.page-about .cc-me-avatar img { border-radius: 0; box-shadow: none; }
.page-about .cc-me-card b { font-size: 1.6rem; letter-spacing: .12em; }
.page-about .cc-me-card > span { margin-top: 6px; font-size: .8rem; letter-spacing: .08em; }
.page-about .cc-me-card p { margin-top: 14px; font-size: .85rem; line-height: 1.9; }
.page-about .cc-me-card a { margin-top: auto; padding-top: 16px; font-size: .8rem; }
.page-about .cc-me-grid { gap: 22px; margin-bottom: 22px; }
.page-about .cc-panel { padding: 26px 26px 24px; }
.page-about .cc-about { margin-top: 2px; }
@media (max-width: 860px) {
  .page-about .cc-me-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 10px; }
  .page-about .cc-me-hero::before { font-size: 160px; right: -10px; top: -30px; }
  .page-about .cc-me-card { max-width: 100%; }
}

/* 主理人名片：头像与身份同一行，标签收口，避免大字孤零零悬在卡里 */
.page-about .cc-me-profile {
  display: flex; align-items: center; gap: 18px; margin: 24px 0 18px;
}
.page-about .cc-me-avatar {
  width: 94px; height: 72px; margin: 0; flex: none;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.page-about .cc-me-id { min-width: 0; }
.page-about .cc-me-id b { display: block; font-size: 1.55rem; letter-spacing: .12em; line-height: 1.2; }
.page-about .cc-me-id span { display: block; margin-top: 6px; color: #d8c1a0; font-size: .76rem; letter-spacing: .06em; }
.page-about .cc-me-card > .cc-me-no { margin-top: 0; }
.page-about .cc-me-card p { margin-top: 0; }
.page-about .cc-me-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.page-about .cc-me-tags em {
  padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
  background: rgba(255, 255, 255, .06); font-size: .68rem; font-style: normal;
  color: rgba(255, 255, 255, .76); letter-spacing: .02em;
}

/* 字标：代码川用宋体落笔，川字图标轻微侧倾 */
.cc-brand-lockup { position: relative; }
.cc-brand-name {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 900; letter-spacing: .1em;
  color: #12211c; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
.cc-brand-lockup::after {
  content: ""; position: absolute; left: 1px; bottom: -5px; width: 54%; height: 5px;
  background: linear-gradient(90deg, rgba(178, 111, 59, .5), transparent);
  border-radius: 50%; transform: rotate(-1.2deg);
}
.cc-brand-mark { transition: transform .3s ease; transform: rotate(-2deg); }
.cc-brand:hover .cc-brand-mark { transform: translateY(-2px); }
@media (max-width: 860px) {
  .cc-brand-name { font-size: 1.55rem; letter-spacing: .08em; }
}

/* 品牌字标：宋体落字，无侧倾、无阴影 */
@font-face {
  font-family: "HaoBrandSerif";
  src: url("../fonts/brand-serif.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HaoBrandSans";
  src: url("../fonts/brand-sans.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
.cc-brand-mark { height: 46px; transform: none; }
.cc-brand-lockup::after { content: none; }
.cc-brand-name {
  font-family: "HaoBrandSerif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.74rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #12211c;
  text-shadow: none;
  margin-right: -.05em;
}
.cc-brand-domain {
  font-family: "HaoBrandSans", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .05em;
}
.cc-brand--footer .cc-brand-name { font-size: 1.5rem; }
@media (max-width: 860px) {
  .cc-brand-name { font-size: 1.52rem; letter-spacing: .04em; }
  .cc-brand-domain { font-size: .64rem; }
}


/* 与 www 对齐：宋体 Bold 中文、等宽域名、铜色手写底线、图标同角度 */
@font-face {
  font-family: "HaoBrandHei";
  src: url("../fonts/brand-hei.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HaoBrandMono";
  src: url("../fonts/brand-mono.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
.cc-brand-mark {
  height: 46px;
  transform: none;
  transition: transform .3s ease;
}
.cc-brand:hover .cc-brand-mark { transform: translateY(-2px); }
.cc-brand-name {
  font-family: "HaoBrandHei", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 1.94rem;
  letter-spacing: .05em;
  color: #12211c;
}
.cc-brand-domain {
  font-family: "HaoBrandMono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .02em;
}
.cc-header .cc-brand-lockup::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 64%;
  height: 6px;
  background: linear-gradient(90deg, rgba(178, 111, 59, .55), rgba(178, 111, 59, .12) 70%, transparent);
  border-radius: 50%;
  transform: rotate(-1.2deg);
}
.cc-brand--footer .cc-brand-name { font-size: 1.5rem; }
.cc-brand--footer .cc-brand-lockup::after { content: none; }
@media (max-width: 860px) {
  .cc-brand-name { font-size: 1.7rem; letter-spacing: .06em; }
  .cc-brand-domain { font-size: .66rem; }
}


/* 字标排版：与 www 同一套尺度 */
.cc-brand { gap: 13px; }
.cc-brand-mark { height: 46px; }
.cc-brand-lockup { gap: 7px; }
.cc-brand-name { font-size: 1.80rem; letter-spacing: .04em; margin-right: -.04em; }
.cc-brand-domain { font-size: .65625rem; letter-spacing: .03em; }
.cc-header .cc-brand-lockup::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, rgba(178, 111, 59, .40), rgba(178, 111, 59, .10) 78%, transparent);
  border-radius: 40%; transform: rotate(-1deg);
}

/* 页头图标悬停：与 www 同款浮动 */
.cc-brand-mark {
  transform: translateY(0);
  transition: transform .34s cubic-bezier(.2, .7, .2, 1), filter .34s ease;
  will-change: transform;
}
.cc-brand:hover .cc-brand-mark {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 12px rgba(16, 43, 37, .16));
}

/* 字标字号：与 www 对齐 */
.cc-brand-name { font-size: 1.62rem; letter-spacing: .06em; margin-right: -.06em; }
.cc-brand-domain { font-size: .59375rem; letter-spacing: .035em; }
.cc-brand-mark { height: 44px; }

/* 关于 / me.html：与页头同宽，按人物版式排：左侧自述，右侧名片 */
.page-about .cc-layout { grid-template-columns: minmax(0, 1fr); max-width: none; }
.page-about .cc-me-hero {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 360px);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: 10px 0 clamp(30px, 4vw, 46px);
  margin-bottom: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.page-about .cc-me-copy h1 {
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.page-about .cc-me-copy > p { max-width: 56ch; font-size: 1.02rem; line-height: 1.95; }
.page-about .cc-me-copy > p.cc-me-lead { word-break: keep-all; overflow-wrap: break-word; }
.page-about .cc-me-card {
  width: 100%;
  max-width: 360px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(216, 193, 160, .28);
  box-shadow: 0 30px 56px -34px rgba(10, 43, 35, .65);
}
.page-about .cc-me-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  grid-auto-rows: 1fr;
  margin-bottom: clamp(16px, 2vw, 22px);
}
.page-about .cc-me-grid .cc-panel {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: clamp(24px, 3vw, 32px);
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px -24px rgba(19, 32, 28, .24);
}
.page-about .cc-me-grid .cc-panel:hover {
  border-color: #b8c8bd;
  box-shadow: 0 18px 38px -26px rgba(19, 32, 28, .28);
  transform: translateY(-2px);
}
.page-about .cc-me-grid .cc-sec-title { font-size: 1.22rem; }
.page-about .cc-me-grid .cc-prose { flex: 1; }
.page-about .cc-me-grid .cc-panel-actions { margin-top: 22px; }
.page-about .cc-about { margin-top: clamp(18px, 2vw, 24px); padding: clamp(26px, 3vw, 34px); }
.page-about .cc-about .cc-def {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
  margin-top: 14px;
}
.page-about .cc-about .cc-def > div { padding: 11px 0; }
.page-about .cc-me-qr { margin-top: auto; }
@media (max-width: 900px) {
  .page-about .cc-me-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-about .cc-me-card { max-width: 100%; }
  .page-about .cc-me-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-about .cc-me-card { padding: 22px; }
  .page-about .cc-me-qr { flex-direction: column; align-items: flex-start; }
  .page-about .cc-me-grid .cc-panel { min-height: 0; }
  .page-about .cc-about .cc-def { grid-template-columns: minmax(0, 1fr); }
}

/* 关于页的小边注：一张表情包，别做成主视觉 */
.cc-meme { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cc-meme img { flex: none; width: 72px; height: 72px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cc-meme figcaption { font-size: .72rem; line-height: 1.6; color: var(--muted-2); }


/* 关于页四宫格：标题与正文收紧，别让面板里空一大块 */
.cc-me-grid .cc-sec-title { margin-bottom: 10px; }
.cc-me-grid .cc-prose { margin-top: 10px; }

