/* =========================================================
   Narrate · 叙  —  Typecho Theme Stylesheet
   Fusion of d-d.design (孤斗) & thyuu.com (风记星辰)
   Design language: 简约 / 优雅 / 阅读优先 / 编辑杂志感
   ========================================================= */
@import url("font.css");
/* ---------- Design Tokens ---------- */
:root {
  /* Color — Light */
  --bg:           #fbfbfa;
  --bg-soft:      #f4f4f2;
  --surface:      #ffffff;
  --surface-2:    #f7f7f5;
  --text:         #1f2024;
  --text-soft:    #565a63;
  --text-muted:   #9398a1;
  --border:       #e9e8e4;
  --border-soft:  #f0efec;
  --accent:       #c2605a;          /* warm restrained red, from thyuu */
  --accent-soft:  rgba(194, 96, 90, 0.10);
  --accent-line:  rgba(194, 96, 90, 0.30);
  --shadow-sm:    0 1px 2px rgba(20, 20, 20, 0.04);
  --shadow:       0 2px 8px rgba(20, 20, 20, 0.05), 0 12px 32px rgba(20, 20, 20, 0.04);
  --shadow-lg:    0 8px 28px rgba(20, 20, 20, 0.10);
  --code-bg:      #f6f5f3;
  --code-border:  #ecebe7;
  --overlay:      rgba(28, 28, 30, 0.42);

  /* Geometry & rhythm */
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    7px;
  --gap:          22px;
  --maxw:         1180px;
  --content:      720px;

  /* Typography */
  --font-sans: "LXGW 975 Yuan SC 400W", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
               system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas,
               "Liberation Mono", Menlo, monospace;

  --header-h: 64px;
}

[data-theme="dark"] {
  --bg:           #121316;
  --bg-soft:      #17181c;
  --surface:      #1b1c20;
  --surface-2:    #202127;
  --text:         #e7e8ea;
  --text-soft:    #a8abb3;
  --text-muted:   #6d717a;
  --border:       #2a2c32;
  --border-soft:  #232529;
  --accent:       #d98a84;
  --accent-soft:  rgba(217, 138, 132, 0.12);
  --accent-line:  rgba(217, 138, 132, 0.34);
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:       0 2px 8px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.30);
  --shadow-lg:    0 8px 28px rgba(0, 0, 0, 0.45);
  --code-bg:      #1e1f24;
  --code-border:  #2a2c32;
  --overlay:      rgba(0, 0, 0, 0.60);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .35s ease, color .35s ease;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
a:focus,button:focus{outline:0}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent-soft); color: var(--accent); }

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--text); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 纸感噪点 (subtle grain) ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ---------- 滚动浮现 (scroll reveal) ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-26px); }
.reveal-left.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color .35s ease, border-color .35s ease;
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 18px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.brand__logo { height: 30px; width: 30px; object-fit: cover; }
.brand__name {
  font-family: var(--font-sans);
  font-size: 20px; letter-spacing: .04em; line-height: 1;
}
.brand__name small { display: block; font-family: var(--font-sans);
  font-size: 10px; letter-spacing: .22em; color: var(--text-muted); margin-top: 3px; font-weight: 400; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 13px;
  font-size: 14.5px; color: var(--text-soft); position: relative;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;color: var(--text-soft);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

/* ---------- Search modal (Ctrl+K) ---------- */
.search-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center; padding-top: 14vh;
  background: var(--overlay); backdrop-filter: blur(4px);
}
.search-modal.open { display: flex; }
.search-box { width: min(560px, 92vw); background: var(--surface); border: 1px solid var(--border);box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.search-box__input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.search-box__input svg { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
.search-box__input input { flex: 1; border: none; background: none; color: var(--text); font-size: 17px; outline: none; }
.search-box__hint { padding: 12px 20px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-soft); display: flex; gap: 16px; }
.kbd { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--border);background: var(--surface-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color .35s ease, border-color .35s ease;
}
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 18px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.brand__logo { height: 30px; width: 30px;object-fit: cover; }
.brand__name {
  font-family: var(--font-sans);
  font-size: 20px; letter-spacing: .04em; line-height: 1;
}
.brand__name small { display: block; font-family: var(--font-sans);
  font-size: 10px; letter-spacing: .22em; color: var(--text-muted); margin-top: 3px; font-weight: 400; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 13px; font-size: 14.5px; color: var(--text-soft); position: relative;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;color: var(--text-soft);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

/* =========================================================
   首页 HERO — 巨幅编辑式首屏
   ========================================================= */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; overflow: hidden;
  padding: 60px 0 110px;
}
/* 巨幅描边「叙」字 — 视觉锤 */
.hero__glyph{
  position: absolute; right: -3vw; top: 50%; transform: translateY(-50%);
  font-family: "Hangeuljaemin6.0 TTF";font-weight: normal;font-weight: 900; font-size: clamp(300px, 36vw, 600px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--border);
  user-select: none; pointer-events: none; z-index: 0;opacity: .5;
  transition: -webkit-text-stroke-color .35s ease;
}
[data-theme="dark"] .hero__glyph { -webkit-text-stroke-color: #2b2d34; }
.hero::before {
  content: ""; position: absolute; top: -160px; right: 6vw; width: 560px; height: 560px;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent-line); }
.hero__kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-line); }
  50% { box-shadow: 0 0 0 7px transparent; }
}
.hero__statement {
  font-family: var(--font-sans);
  font-size: clamp(38px, 6.4vw, 78px); line-height: 1.18; margin: 0 0 24px;
  letter-spacing: .01em; font-weight: 700;
}
/* 旋转词 — 首屏动态记忆点 */
.rot { position: relative; display: inline-block; color: var(--accent); white-space: nowrap; }
.rot::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .08em; height: .13em;
  background: var(--accent-line);
  border-radius: 999px; opacity: .55;
}
.rot span { display: inline-block; animation: rotIn .6s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rotIn {
  from { opacity: 0; transform: translateY(.45em); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero__intro {
  font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-soft);
  margin: 0 0 36px; max-width: 600px; line-height: 1.9;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 44px; margin-bottom: 38px; }
.hero__meta div { font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }
.hero__meta strong {
  display: block; font-family: var(--font-sans); font-size: 34px; color: var(--text);
  font-weight: 700; margin-bottom: 4px; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.hero__meta strong em { font-style: normal; color: var(--accent); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff;
  padding: 13px 26px;font-size: 14.5px; font-weight: 500;
  transition: .25s; box-shadow: var(--shadow-sm);
}
.btn-primary svg { width: 15px; height: 15px; transition: transform .25s; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-line); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; padding: 13px 22px;
  border: 1px solid var(--border); color: var(--text-soft); font-size: 14.5px; transition: .25s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-line); transform: translateY(-2px); }
/* 底部滚动提示 */
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .28em; color: var(--text-muted); z-index: 1;
  text-transform: uppercase;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollHint 1.8s ease infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
/* ---------- 状态条：此刻 + 最新 (soul strip) ---------- */
.statusbar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.statusbar__inner {
  display: flex; align-items: center; gap: 22px; padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap;
}
.statusbar__cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.statusbar__sep { width: 1px; height: 26px; background: var(--border); flex: none; }
.now-time {
  font-family: var(--font-mono); font-size: 17px; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.now-label { font-size: 11px; letter-spacing: .22em; color: var(--text-muted); text-transform: uppercase; }
.now-greet { font-family: var(--font-sans); font-size: 14px; color: var(--accent); }
.statusbar__latest { min-width: 0; }
.statusbar__latest .k { font-size: 11px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; flex: none; }
.statusbar__latest a {
  font-size: 14px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.statusbar__latest a:hover { color: var(--accent); }

/* ---------- 跑马灯 marquee ---------- */
.marquee { overflow: hidden; padding: 13px 0; border-bottom: 1px solid var(--border-soft); user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-sans); font-size: 14.5px; letter-spacing: .12em;
  color: var(--text-muted); white-space: nowrap;
}
.marquee__item i { font-style: normal; color: var(--accent); font-size: 11px; }

/* =========================================================
   焦点精选 — 不对称大图 + 编号清单
   ========================================================= */
.spotlight { padding: 76px 0 64px; }
.spotlight__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: stretch; }
.spotlight-main {
  position: relative;overflow: hidden; min-height: 430px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow);
}
.spotlight-main__cover { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
/* 统一图片色调：降饱和、压对比，任意配图都融入墨-纸色系 */
.spotlight-main__cover img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.76) contrast(.97) brightness(.98);
  transition: filter .6s ease;
}
.spotlight-main:hover .spotlight-main__cover img { filter: saturate(.92) contrast(.98) brightness(1); }
/* 陶土薄纱：在照片上罩一层暖陶土渐变，色温与 #c2605a 占位封面靠拢 */
.spotlight-main__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(194,96,90,.07), rgba(122,58,53,.20));
}
.spotlight-main:hover .spotlight-main__cover { transform: scale(1.045); }
.spotlight-main__cover .ph { width: 100%; height: 100%; }
.spotlight-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.68) 100%);
}
.spotlight-main__body { position: relative; z-index: 2; padding: 30px 32px; width: 100%; }
.spotlight-main__flag {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  background: var(--accent); color: #fff; font-size: 11.5px; padding: 5px 13px;letter-spacing: .1em; box-shadow: var(--shadow-sm);
}
.spotlight-main__body .tag { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.spotlight-main__title {
  font-family: var(--font-sans); color: #fff; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3; margin: 12px 0 10px;
}
.spotlight-main__excerpt { color: rgba(255,255,255,.8); font-size: 14.5px; margin: 0 0 14px; max-width: 92%; }
.spotlight-main__meta { color: rgba(255,255,255,.62); font-size: 12.5px; font-variant-numeric: tabular-nums; }
/* 编号清单 rank */
.rank { display: flex; flex-direction: column; }
.rank__head { padding: 4px 6px 14px; display: flex; align-items: baseline; gap: 10px; }
.rank__head h2 { font-family: var(--font-sans); font-size: 21px; margin: 0; }
.rank__head span { font-size: 12px; color: var(--text-muted); }
.rank-item {
  display: flex; align-items: center; gap: 18px; padding: 19px 14px;
  border-top: 1px solid var(--border); transition: background .25s, padding .25s;
  position: relative; flex: 1;
}
.rank-item:last-child { border-bottom: 1px solid var(--border); }
.rank-item__no {
  font-family: var(--font-sans); font-size: 26px; font-weight: 700;
  color: var(--text-muted); opacity: .45; width: 38px; flex: none;
  transition: .25s; font-variant-numeric: tabular-nums;
}
.rank-item__body { flex: 1; min-width: 0; }
.rank-item__title {
  font-size: 15.5px; font-weight: 500; line-height: 1.5; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-item__meta { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.rank-item__arrow {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-muted);
  opacity: 0; transform: translateX(-6px); transition: .25s;
}
.rank-item__arrow svg { width: 14px; height: 14px; }
.rank-item:hover { background: var(--surface-2); padding-left: 20px; }
.rank-item:hover .rank-item__no { color: var(--accent); opacity: 1; }
.rank-item:hover .rank-item__arrow { opacity: 1; transform: none; color: var(--accent); border-color: var(--accent-line); }
/* 无图文章占位封面：编辑式「字符封面」——描边巨字呼应首屏视觉锤 */
.ph { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
/* 细斜线纸纹，压住渐变的「塑料感」 */
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 8px);
}
/* 右上同心圆年轮纹 */
.ph::after {
  content: ""; position: absolute; top: -86px; right: -86px; z-index: 1;
  width: 250px; height: 250px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,.17) 0 1px, transparent 1px 13px);
  -webkit-mask-image: radial-gradient(circle at center, #000 32%, transparent 74%);
  mask-image: radial-gradient(circle at center, #000 32%, transparent 74%);
}
/* 左上分类眉题：mono 小字 + 延伸细线 */
.ph__tag {
  position: absolute; top: 13px; left: 15px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em;
  color: rgba(255,255,255,.92); text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.10);
}
.ph__tag::after { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,.55); }
/* 右下描边巨字：与首屏「叙」同一手法，仅留轮廓 */
.ph__char {
  position: absolute; right: 12px; bottom: -16px; z-index: 2;
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  font-size: clamp(96px, 11vw, 160px);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  transition: transform .55s cubic-bezier(.2,.7,.3,1), -webkit-text-stroke-color .3s;
  user-select: none; pointer-events: none;
}
.post-card:hover .ph__char,
.spotlight-main:hover .ph__char { transform: translateY(-6px); -webkit-text-stroke-color: rgba(255,255,255,.85); }
/* 统一色系：占位封面全部收进「陶土 #c2605a」单一色族，仅明度阶梯不同 */
.ph--a { background: linear-gradient(150deg, #a34e48, #c2605a 58%, #dd928b); }
.ph--b { background: linear-gradient(150deg, #ab544e, #c66a63 58%, #e09b95); }
.ph--c { background: linear-gradient(150deg, #b25a54, #cc736c 58%, #e4a49e); }
.ph--d { background: linear-gradient(150deg, #b96059, #d07c75 58%, #e8ada7); }
.ph--e { background: linear-gradient(150deg, #c0665f, #d4857e 58%, #ecb6b0); }
[data-theme="dark"] .ph--a { background: linear-gradient(150deg, #6e3632, #8f433d 60%, #a8554e); }
[data-theme="dark"] .ph--b { background: linear-gradient(150deg, #733a36, #944842 60%, #ad5b54); }
[data-theme="dark"] .ph--c { background: linear-gradient(150deg, #783e39, #994d47 60%, #b2615a); }
[data-theme="dark"] .ph--d { background: linear-gradient(150deg, #7c423d, #9e534c 60%, #b76760); }
[data-theme="dark"] .ph--e { background: linear-gradient(150deg, #804640, #a25851 60%, #bb6d66); }

/* Tag pill */
.tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .04em;
  padding: 3px 9px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  font-weight: 500; align-self: flex-start;
}
.tag-line { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-line a {
  font-size: 11.5px; letter-spacing: .04em; padding: 3px 9px;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
  font-weight: 500;
}
.tag-line a:hover { border-color: var(--accent); }


/* =========================================================
   瞬间 / 近况 — 日记横滑
   ========================================================= */
.moments { padding: 64px 0; border-top: 1px solid var(--border-soft); }
.moments__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.moments__head h2 { font-family: var(--font-sans); font-size: 26px; margin: 0; }
.moments__head h2 em { font-style: italic; font-size: 14px; color: var(--text-muted); margin-left: 10px; letter-spacing: .06em; }
.moments__head p { margin: 0; color: var(--text-muted); font-size: 14px; flex: 1; min-width: 140px; }
.moments__nav { display: flex; gap: 8px; margin-left: auto; }
.moments__nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-soft); transition: .2s; background: var(--surface);
}
.moments__nav button:hover { color: var(--accent); border-color: var(--accent-line); }
.moments__nav svg { width: 15px; height: 15px; }
.moments__track {
  display: flex; gap: 18px;column-count: 3;overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.moments__track::-webkit-scrollbar { display: none; }
.moment {
  flex: 0 0 350px; scroll-snap-align: start; position: relative;
  background: var(--surface); border: 1px solid var(--border);padding: 20px 22px 18px; transition: .25s;
}
.moment:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.moment__text {
    height: 120px;
    overflow-y: auto;
    margin-block-end: 1rem;
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-soft);
}
.moment__text::-webkit-scrollbar {
    width: 0;
}
.moment-time{
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 3px;
}
.moment-grid{display:flex;flex-wrap:wrap;gap:5px;max-width:340px}
.moment-grid.g1{max-width:190px}
.moment-img{width:90px;height:90px;object-fit:cover;display:block;background:var(--surface-2);border:1px solid var(--border);}
.moment-img{transition:transform .55s cubic-bezier(0.22, 0.61, 0.36, 1),border-color .3s cubic-bezier(0.22, 0.61, 0.36, 1)}
.moment-img:hover{transform:scale(1.04);border-color:var(--accent)}
.moment-grid.g1 .moment-img{width:178px;height:126px}
.moment .moment-loc{
    font-size: 12px;
    display: flex;
    align-items: center;
    color: var(--accent);
}
.moment .moment-loc svg{
    width: 15px;
    height: 15px;
}
.moment-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-start: .5rem;
}
.chrison_image_container{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;}
.chrison_image_container img{margin:0!important}
.chrison_image_container .post__image{margin:0 !important;}
/* =========================================================
   分类导览 — 编辑式左右分栏 + 目录行
   ========================================================= */
.cats { padding: 64px 0 24px; border-top: 1px solid var(--border-soft); }
.cat-section {
  display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 52px;
  padding: 52px 0; border-bottom: 1px solid var(--border-soft);
}
.cat-section:last-child { border-bottom: none; }
.cat-section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cat-section__no {
  font-family: var(--font-sans); font-size: 15px; color: var(--accent); letter-spacing: .1em;
  display: flex; align-items: center; gap: 10px;
}
.cat-section__no::after { content: ""; width: 44px; height: 1px; background: var(--accent-line); }
.cat-section__name { font-family: var(--font-sans); font-size: clamp(32px, 3.4vw, 42px); margin: 2px 0 0; line-height: 1.15; }
.cat-section__en { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.cat-section__desc { font-size: 13.5px; color: var(--text-muted); margin: 8px 0 0; line-height: 1.75; font-style: italic; }
.cat-section__more {
  margin-top: 14px; font-size: 13px; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px; transition: .2s;
}
.cat-section__more svg { width: 14px; height: 14px; transition: transform .2s; }
.cat-section__more:hover { color: var(--accent); }
.cat-section__more:hover svg { transform: translateX(3px); }
/* 目录式文章行 */
.cat-rows { display: flex; flex-direction: column; }
.cat-row {
  display: flex; align-items: center; gap: 20px; padding: 17px 10px;
  border-bottom: 1px dashed var(--border); transition: .22s;
}
.cat-row:last-child { border-bottom: none; }
.cat-row__date {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted);
  width: 64px; flex: none; font-variant-numeric: tabular-nums; transition: color .22s;
}
.cat-row__body { flex: 1; min-width: 0; }
.cat-row__title {
  font-family: var(--font-sans); font-size: 17px; color: var(--text); line-height: 1.45;
  transition: color .22s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-row__meta { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.cat-row__go {
  flex: none; color: var(--text-muted); opacity: 0; transform: translateX(-8px); transition: .22s;
}
.cat-row__go svg { width: 17px; height: 17px; }
.cat-row:hover { padding-left: 18px; background: linear-gradient(90deg, var(--accent-soft), transparent 60%); }
.cat-row:hover .cat-row__title { color: var(--accent); }
.cat-row:hover .cat-row__date { color: var(--accent); }
.cat-row:hover .cat-row__go { opacity: 1; transform: none; color: var(--accent); }

/* ---------- 全部文章 section head ---------- */
.posts-section { padding: 64px 0 70px; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--font-sans); font-size: 26px; margin: 0; letter-spacing: .02em; }
.section-head .line { flex: 1; height: 1px; background: var(--border); }
.section-head .more { font-size: 13px; color: var(--text-muted); }
.section-head .more:hover { color: var(--accent); }
/* ---------- Layout: main + sidebar ---------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 312px;
  gap: 40px; padding: 44px 0 60px; align-items: start;
}

/* ---------- Post card grid ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.post-card {
  background: var(--surface); border: 1px solid var(--border);overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); position: relative; }
.post-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.76) contrast(.97) brightness(1.02);
  transition: transform .5s ease, filter .5s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); filter: saturate(.92) contrast(.98) brightness(1.02); }
/* 墨调薄纱：与焦点大图同一处理，有图/无图封面色系统一 */
.post-card__thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(194,96,90,.05), rgba(122,58,53,.15));
}
.post-card__thumb .ph { width: 100%; height: 100%; }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-family: var(--font-sans); font-size: 19px; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__excerpt { color: var(--text-soft); font-size: 14px; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin-top: auto; display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; color: var(--text-muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.post-card__top { position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 999px;
  letter-spacing: .06em; box-shadow: var(--shadow-sm); }

/* 无图文章占位封面：编辑式「字符封面」——描边巨字呼应首屏视觉锤 */
.ph { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
/* 细斜线纸纹，压住渐变的「塑料感」 */
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 8px);
}
/* 右上同心圆年轮纹 */
.ph::after {
  content: ""; position: absolute; top: -86px; right: -86px; z-index: 1;
  width: 250px; height: 250px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,.17) 0 1px, transparent 1px 13px);
  -webkit-mask-image: radial-gradient(circle at center, #000 32%, transparent 74%);
  mask-image: radial-gradient(circle at center, #000 32%, transparent 74%);
}
/* 左上分类眉题：mono 小字 + 延伸细线 */
.ph__tag {
  position: absolute; top: 13px; left: 15px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em;
  color: rgba(255,255,255,.92); text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.10);
}
.ph__tag::after { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,.55); }
/* 右下描边巨字：与首屏「叙」同一手法，仅留轮廓 */
.ph__char {
  position: absolute; right: 12px; bottom: -16px; z-index: 2;
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  font-size: clamp(96px, 11vw, 160px);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  transition: transform .55s cubic-bezier(.2,.7,.3,1), -webkit-text-stroke-color .3s;
  user-select: none; pointer-events: none;
}
.post-card:hover .ph__char,
.spotlight-main:hover .ph__char { transform: translateY(-6px); -webkit-text-stroke-color: rgba(255,255,255,.85); }
/* 统一色系：占位封面全部收进「陶土 #c2605a」单一色族，仅明度阶梯不同 */
.ph--a { background: linear-gradient(150deg, #a34e48, #c2605a 58%, #dd928b); }
.ph--b { background: linear-gradient(150deg, #ab544e, #c66a63 58%, #e09b95); }
.ph--c { background: linear-gradient(150deg, #b25a54, #cc736c 58%, #e4a49e); }
.ph--d { background: linear-gradient(150deg, #b96059, #d07c75 58%, #e8ada7); }
.ph--e { background: linear-gradient(150deg, #c0665f, #d4857e 58%, #ecb6b0); }
[data-theme="dark"] .ph--a { background: linear-gradient(150deg, #6e3632, #8f433d 60%, #a8554e); }
[data-theme="dark"] .ph--b { background: linear-gradient(150deg, #733a36, #944842 60%, #ad5b54); }
[data-theme="dark"] .ph--c { background: linear-gradient(150deg, #783e39, #994d47 60%, #b2615a); }
[data-theme="dark"] .ph--d { background: linear-gradient(150deg, #7c423d, #9e534c 60%, #b76760); }
[data-theme="dark"] .ph--e { background: linear-gradient(150deg, #804640, #a25851 60%, #bb6d66); }

/* ---------- Pagination ---------- */
.page-navigator{ display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination li {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-grid; place-items: center;border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; color: var(--text-soft); transition: .2s;
}
.pagination li:hover { color: var(--accent); border-color: var(--accent-line); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =========================================================
   文章头 — 编辑式（呼应首页 hero：眉题 + 巨幅描边字 + 衬线大标）
   ========================================================= */
.post-hero {
  position: relative; overflow: hidden;
  padding: 78px 0 58px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(640px 300px at 88% 8%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.post-hero__glyph {
  position: absolute; right: -2.5vw; bottom: -14vw;
  font-family:'Hangeuljaemin6.0 TTF'; font-weight: 900; font-size: clamp(260px, 30vw, 460px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--border);
  user-select: none; pointer-events: none; z-index: 0;
  transition: -webkit-text-stroke-color .35s ease;
}
[data-theme="dark"] .post-hero__glyph { -webkit-text-stroke-color: #2b2d34; }
.post-hero__inner { position: relative; z-index: 1; max-width: 900px; }
.post-hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
}
.post-hero__kicker .cat { color: var(--accent); letter-spacing: .18em; }
.post-hero__kicker .rule { width: 36px; height: 1px; background: var(--accent-line); }
.post-hero__kicker .en { color: var(--text-muted); letter-spacing: .3em; }
.post-hero__title {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.24;
  margin: 0 0 26px; letter-spacing: .01em;
}
.post-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 13px; color: var(--text-muted);
}
.post-hero__meta .who { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.post-hero__meta .who b { font-weight: 600; font-size: 13.5px; }
.post-hero__meta .avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.post-hero__meta .mv { font-family: var(--font-mono); letter-spacing: .04em; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.post-hero__meta .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.post-hero__meta .sep-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }


/* ---------- Post (single) ---------- */
.post {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 44px;
  padding: 44px 0 60px; align-items: start;
}
.post { padding: 0; }
.post__main { min-width: 0; padding-top: 44px; }

.post-content { font-size: 17px; line-height: 1.9; color: var(--text); word-wrap: break-word; }
.post-content p { margin: 0 0 1.4em; }
.post-content h2 { font-family: var(--font-sans); font-size: 25px; margin: 1.9em 0 .7em;
  padding-bottom: .35em; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.post-content h3 { font-family: var(--font-sans); font-size: 20px; margin: 1.6em 0 .6em; scroll-margin-top: 90px; }
.post-content h4 { font-size: 17px; margin: 1.4em 0 .5em; scroll-margin-top: 90px; }
.post-content a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.post-content a:hover { border-bottom-color: var(--accent); }
.post-content img { margin: 1.6em auto; background: var(--surface-2);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .5s ease; }
.post-content img.loaded { opacity: 1; }
.post-content blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; color: var(--text-soft); }
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.post-content li { margin: .4em 0; }
.post-content code {
  font-family: var(--font-mono); font-size: .88em; padding: .15em .4em;
  background: var(--code-bg); border: 1px solid var(--code-border); border-radius: 5px; color: var(--accent);
}
.post-content pre { margin: 1.6em 0; border: 1px solid var(--code-border);
  background: var(--code-bg); overflow: auto; box-shadow: var(--shadow-sm); }
.post-content pre code { padding: 18px 20px; display: block; background: none; border: none; color: inherit; font-size: 14px; line-height: 1.7; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.post-content th { background: var(--surface-2); font-weight: 600; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2.2em 0; }
.post-content .post__image {
  margin: 2.6rem auto;
  text-align: center;
}

.post-content .post__image img {
  display: block;
  width: 100%;
  height: auto;
  background: #f1efe9;                              /* 图片未加载时的素底 */
  box-shadow: 0 8px 28px rgba(40, 33, 28, .07);     /* 极轻投影，仅一层 */
  /* 如需极克制的悬停反馈（仅加深阴影，无位移），可开启下面两行：
  transition: box-shadow .25s ease;
  */
}
/* .post__image img:hover { box-shadow: 0 12px 34px rgba(40, 33, 28, .12); } */

/* 图注：小号衬线 + 弱化色，上方一道居中的短细强调线 */
.post-content .image-caption {
  margin: 1rem auto 0;
  max-width: 36em;
  font-family: var(--font-sans, "Noto Serif SC", Georgia, serif);
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text-muted, #9a938b);
  letter-spacing: .03em;
  position: relative;
  padding-top: .95rem;
}

.post-content .image-caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--accent, #c2605a);              /* 仅此处用主题强调色 */
  opacity: .55;
}

/* 窄屏：收一下边距与圆角 */
@media (max-width: 640px) {
  .post-content .post__image { margin: 1.8rem auto; }
}

/* Post footer: tags + copyright + prev/next（编辑式） */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 40px 0 0; }
.post-tags__label {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.post-tags__label::after { content: ""; width: 22px; height: 1px; background: var(--border); }
.post-tags a { font-size: 13px; padding: 5px 13px; background: var(--surface-2);line-height: 1;
  border: 1px solid var(--border); color: var(--text-soft); transition: .2s; }
.post-tags a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

.post-copyright {
  margin-top: 26px; padding: 18px 20px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
  display: flex; gap: 14px; align-items: flex-start; line-height: 1.8;
}
.post-copyright__mark {
  font-family: var(--font-sans); font-size: 22px; color: var(--accent);
  opacity: .6; line-height: 1; margin-top: 3px; flex: none;
}
.post-copyright p { margin: 0; word-break: break-all; }
.post-copyright a { color: var(--accent); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 35px 0; }
.post-nav__item {
  display: flex; flex-direction: column; gap: 7px;
  padding: 18px 20px; border: 1px solid var(--border);
  background: var(--surface); transition: .25s; position: relative; overflow: hidden;
}
.post-nav__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .25s;
}
.post-nav__item:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.post-nav__item .label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; letter-spacing: .14em; color: var(--text-muted); text-transform: uppercase;
}
.post-nav__item .label svg { width: 14px; height: 14px; }
.post-nav__item .nt {
  font-family: var(--font-sans); font-size: 15.5px; color: var(--text); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-nav__item:hover .nt { color: var(--accent); }
.post-nav__item.next { text-align: right; align-items: flex-end; }
.post-nav__item.next::before { left: auto; right: 0; transform-origin: bottom; }


/* TOC */
.toc { position: sticky; top: 90px; }
.toc__title { font-family: var(--font-sans); font-size: 15px; margin: 0 0 12px; color: var(--text); }
.toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc__list li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px;
  border-left: 2px solid transparent; font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.toc__list li a:hover { color: var(--text); }
.toc__list li a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.toc__list .lvl-3 a { padding-left: 28px; font-size: 12.5px; }

/* ---------- Sidebar widgets ---------- */
.sidebar{
    padding-top: 44px;height: -webkit-fill-available;
}
.widget { margin-bottom: 26px; }
.widget__title {
  font-family: var(--font-sans); font-size: 16px; margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px; letter-spacing: .02em;
}
.widget__title::before { content: ""; width: 4px; height: 15px; background: var(--accent); }
.widget-card { background: var(--surface); border: 1px solid var(--border); padding: 16px; }

/* Popular posts */
.pop-list { display: flex; flex-direction: column; gap: 13px; }
.pop-item { display: flex; gap: 12px; align-items: flex-start; }
.pop-item__no { font-family: var(--font-sans); font-size: 15px; color: var(--accent); width: 20px; flex: none; line-height: 1.5; }
.pop-item__title { font-size: 14px; line-height: 1.5; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pop-item:hover .pop-item__title { color: var(--text); }

/* Latest comments */
.cmt-list { display: flex; flex-direction: column; gap: 14px; }
.cmt-item { font-size: 13.5px; line-height: 1.6; }
.cmt-item__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cmt-item__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); flex: none; object-fit: cover; }
.cmt-item__author { font-weight: 600; font-size: 13px; color: var(--text); }
.cmt-item__text { color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-item__text a { color: var(--text-soft); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { font-size: 13px; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); transition: .2s; }
.tag-cloud a:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }

/* Friend links */
.links { display: flex; flex-direction: column; gap: 11px; }
.link-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px;
  background: var(--surface-2); border: 1px solid var(--border); transition: .2s; }
.link-item:hover { border-color: var(--accent-line); transform: translateX(2px); }
.link-item__avatar { width: 30px; height: 30px;object-fit: cover; background: var(--surface); flex: none; }
.link-item__name { font-size: 14px; font-weight: 500; }
.link-item__desc { font-size: 11.5px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .links_sort_menu{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.links_sort_menu button{
    padding:5px 12px;
    border:1px solid var(--border);
    background:var(--surface);
    cursor:pointer;
}
.links_sort_menu button.active{
    background:var(--accent);
    color:#fff;
    border-color:var(--accent);
}


/* ---------- Footer（重构：品牌区 + 三列索引 + 底部备案行） ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 44px; padding: 58px 0 40px; }
/* 品牌区：墨块白字，呼应全站「描边巨字」视觉锤 */
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand__glyph {
  flex: none; width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--accent); color: #fbfbfa;
  font-family: var(--font-sans); font-size: 26px; font-weight: 700; line-height: 1;
}
.footer-brand__name {
  display: flex; flex-direction: column; gap: 5px;
  font-family: var(--font-sans); font-size: 21px; color: var(--text); line-height: 1;
}
.footer-brand__name small {
  font-family: var(--font-mono); font-size: 10px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted);
}
.footer-col p { color: var(--text-soft); font-size: 14px; line-height: 1.85; margin: 0 0 14px; max-width: 300px; }
/* 列标题：mono 索引头，与全站 kicker 语言一致 */
.footer-col__title {
  display: flex; align-items: center; gap: 10px; margin: 6px 0 16px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted);
}
.footer-col__title::after { content: ""; width: 24px; height: 1px; background: var(--border); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: 1fr 1fr;   /* 两组/两列 */ gap: 10px; }
.footer-links a { color: var(--text-soft); font-size: 14px; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); margin-left: 5px; font-variant-numeric: tabular-nums;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: .2s; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
/* 底部行：左版权、右备案，同一水平线 */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 28px; flex-wrap: wrap;
  border-top: 1px solid var(--border-soft); padding: 18px 0 22px;
  font-size: 12.5px; color: var(--text-muted);
}
.footer-bottom__copy { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom__copy .sep { width: 1px; height: 11px; background: var(--border); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
/* 备案区：ICP + 公安备案并列 */
.footer-beian { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.beian { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); transition: color .2s; }
.beian:hover { color: var(--text-soft); }
.beian svg { width: 13px; height: 13px; opacity: .7; flex: none; }

/* Reading progress bar */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60;
  background: var(--accent); transition: width .1s linear; }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text-soft);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--accent); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 独立页面：页首 hero（关于/友链/朋友动态/留言/归档共用） ---------- */
.page-hero { padding: 58px 0 10px; }
.page-hero__kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
.page-hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent-line); }
.page-hero__title { font-family: var(--font-sans); font-size: clamp(30px, 4.4vw, 42px); line-height: 1.2; margin: 0 0 12px; }
.page-hero__sub { color: var(--text-soft); font-size: 15px; max-width: 620px; margin: 0 0 8px; line-height: 1.9; }
.page-hero__glyph {
  position: absolute; right: 4%; top: 26px; z-index: 0; pointer-events: none; user-select: none;
  font-family: "Hangeuljaemin6.0 TTF" !important;font-weight: normal;font-weight: 700; font-size: clamp(120px, 16vw, 220px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent-line); opacity: .25;
}
.page-wrap { position: relative; }

/* =========================================================
   评论区 — 与首页编辑式语言统一
   ========================================================= */
.comments { margin-top: 56px; }
.comments__head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 8px;
}
.comments__head-text { display: flex; align-items: baseline; gap: 12px; }
.comments__no {
  font-family: var(--font-serif); font-size: clamp(34px, 4vw, 46px); font-weight: 700;
  color: var(--accent); opacity: .35; line-height: 1; font-variant-numeric: tabular-nums;
}
.comments__title { font-family: var(--font-serif); font-size: 26px; margin: 0; }
.comments__en { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.comments__head .line { flex: 1; height: 1px; background: var(--border); }

/* 空状态 */
.comments__empty {
  padding: 46px 0 30px; text-align: center; color: var(--text-muted);
}
.comments__empty-glyph { display: block; font-family: var(--font-serif); font-size: 46px; color: var(--accent); opacity: .4; }
.comments__empty p { margin: 10px 0 0; font-size: 14px; }

/* 列表 */
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-item {
  display: flex; gap: 16px; padding: 24px 4px;
  border-bottom: 1px dashed var(--border);
}
.comment-item__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--surface-2); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); margin-top: 2px;
}
.comment-item__body { flex: 1; min-width: 0; }
.comment-item__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.comment-item__author { font-weight: 600; font-size: 15px; color: var(--text); }
.comment-item__author.is-author { color: var(--accent); }
.comment-item__badge {
  font-size: 10.5px; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 500;
}
.comment-item__floor {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  opacity: .7; font-variant-numeric: tabular-nums;
}
.comment-item__date {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  margin-left: auto; font-variant-numeric: tabular-nums;
}
.comment-item__text { font-size: 15px; line-height: 1.8; color: var(--text-soft); word-wrap: break-word; }
.comment-item__text p { margin: 0 0 .6em; }
.comment-item__text p:last-child { margin-bottom: 0; }
.comment-item__text a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.comment-item__text img { max-height: 220px; border-radius: var(--radius-xs); margin: .5em 0; }

/* 回复按钮 — hover 浮现的胶囊 */
.comment-item__ops { margin-top: 10px; }
.comment-item__ops .comment-reply-btn, .comment-reply a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted);
  padding: 4px 12px 4px 4px; border-radius: 999px;
  opacity: 0; transform: translateX(-4px);
  transition: .22s ease;
}
.comment-item__ops .ico, .comment-reply .ico {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface);
  transition: .22s;
}
.comment-item__ops svg, .comment-reply svg { width: 13px; height: 13px; }
.comment-item:hover .comment-item__ops .comment-reply-btn,
.comment-item__ops .comment-reply-btn:focus-visible,
.comment-reply a:focus-visible { opacity: 1; transform: none; }
.comment-item__ops .comment-reply-btn:hover, .comment-reply a:hover { color: var(--accent); }
.comment-item__ops .comment-reply-btn:hover .ico, .comment-reply a:hover .ico {
  color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft);
}
.comment-toolbar__cancel-btn{
    font-size: 13.5px;
    color: var(--text-muted);
    padding: 0;
}

/* Typecho 原生子评论结构适配（.comment-children 内为默认 markup） */
.comment-children {
  margin: 16px 0 0 55px; padding-left: 22px;
  border-left: 1px dashed var(--border);
}
.comment-children .comment-list { list-style: none; margin: 0; padding: 0; }
.comment-children .comment-body {
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.comment-children .comment-body:last-child { border-bottom: none; }
.comment-children .comment-author { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.comment-children .comment-author .avatar,
.comment-children .comment-author img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--surface-2); border: 1px solid var(--border);
}
.comment-children .comment-author .fn { font-weight: 600; font-size: 13.5px; color: var(--text); font-style: normal; }
.comment-children .comment-author .fn a { color: inherit; }
.comment-children .comment-body > .comment-meta,
.comment-children .cbody > .comment-meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  font-variant-numeric: tabular-nums; margin: 0 0 6px;
}
.comment-children .comment-body > .comment-meta a,
.comment-children .cbody > .comment-meta a { color: var(--text-muted); }
.comment-children .comment-body > p,
.comment-children .comment-body > .cbody > p,
.comment-children .cbody > p {
  font-size: 14px; line-height: 1.75; color: var(--text-soft); margin: 0 0 .4em; word-wrap: break-word;
}
.comment-children .comment-body > p:last-child,
.comment-children .cbody > p:last-child { margin-bottom: 0; }
.comment-children .comment-reply { margin-top: 6px; }
.comment-children .comment-reply a { opacity: 1; transform: none; font-size: 12px; }

.comment-none {
    width: 100%;
    margin: 4px 0;
    padding: 38px 24px 34px;
    text-align: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
  }
  /* 顶部极短居中装饰线，呼应主题克制暖红 */
  .comment-none::before {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: var(--accent);
    opacity: .65;
  }
  .comment-none__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: .03em;
    color: var(--text);
  }

/* =========================================================
   评论表单 — respond
   ========================================================= */
.respond { margin-top: 44px; scroll-margin-top: 90px; }
.respond__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 30px 32px 28px;
  box-shadow: var(--shadow-sm);
}
.respond__cancel { margin-bottom: 14px; }
.respond__cancel a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted);
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-soft);
  transition: .2s;
}
.respond__cancel a .ico {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.respond__cancel svg { width: 12px; height: 12px; }
.respond__cancel a:hover { color: var(--accent); border-color: var(--accent-line); }
.respond__head { margin-bottom: 22px; }
.respond__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
}
.respond__kicker .rule { width: 26px; height: 1px; background: var(--accent-line); }
.respond__title { font-family: var(--font-serif); font-size: 21px; margin: 10px 0 6px; }
.respond__hint { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* 表单 */
.c-form__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px;
}
.c-form__field { display: flex; flex-direction: column; gap: 7px; }
.c-form__label { font-size: 12.5px; letter-spacing: .06em; color: var(--text-soft); }
.c-form__label i { font-style: normal; color: var(--accent); }
.c-form__input {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text); font-size: 14.5px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.c-form__input::placeholder { color: var(--text-muted); opacity: .8; }
.c-form__input:focus {
  outline: none; border-color: var(--accent-line);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.c-form__textarea { resize: vertical; min-height: 130px; line-height: 1.75; }
.c-form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 16px; flex-wrap: wrap;
}
.c-form__privacy { font-size: 12px; color: var(--text-muted); }
.c-form__submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 12px 28px;font-size: 14.5px; font-weight: 500; letter-spacing: .04em;
  transition: .25s; box-shadow: var(--shadow-sm);
}
.c-form__submit svg { width: 15px; height: 15px; transition: transform .25s; }
.c-form__submit:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-line); }
.c-form__submit:hover svg { transform: translateX(3px); }
.c-form__login { font-size: 14px; color: var(--text-soft); margin: 0 0 14px; }
.c-form__login a { color: var(--accent); }


/* 友链页 — 编辑式卡片 + 统计条 + 交换链接区 */
.link-stats {
  display: flex; align-items: center; gap: 16px; margin: 30px 0 34px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--text-muted);
}
.link-stats b { color: var(--accent); font-weight: 600; font-size: 15px; margin-right: 4px; }
.link-stats i { width: 1px; height: 12px; background: var(--border); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin: 0 0 44px; }
.link-card {
  position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px;
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }

/* mono 描边序号，左上 */
.link-card__index {
  position: absolute; top: 14px; right: 44px;
  font-family: var(--font-mono); font-size: 24px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--text-muted); opacity: .38;
  transition: opacity .3s, -webkit-text-stroke-color .3s;
}
.link-card:hover .link-card__index { -webkit-text-stroke-color: var(--accent); opacity: .85; }
/* 右上箭头：默认隐入，hover 滑出 */
.link-card__arrow {
  position: absolute; top: 12px; right: 12px; width: 18px; height: 18px;
  color: var(--accent); opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .3s, transform .3s;
}
.link-card__arrow svg { width: 100%; height: 100%; }
.link-card:hover .link-card__arrow { opacity: 1; transform: translate(0, 0); }
.link-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; padding-right: 52px; }
.link-card__avatar {
  width: 46px; height: 46px;flex: none; object-fit: cover;
  background: linear-gradient(150deg, #a34e48, #c2605a 58%, #dd928b);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-sans); font-size: 19px; font-weight: 700;
  box-shadow: 0 0 0 1px var(--border); transition: box-shadow .3s;
}
.link-card:hover .link-card__avatar { box-shadow: 0 0 0 1px var(--accent-line); }
.link-card__intro { min-width: 0; }
.link-card__name { font-family: var(--font-sans); font-size: 17px; color: var(--text); margin: 0 0 3px; }
.link-card__host {
  display: flex; align-items: center; gap: 6px; margin: 0;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--text-muted);
}
.link-card__host i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .75; flex: none; }
/* 友链在线状态指示灯（复用 .link-card__host 内的 <i>） */
.link-card__host i {
  display: inline-block;
  border-radius: 50%;
  background: var(--text-muted);
  vertical-align: middle;
  flex: none;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.link-card__host i.online {
  background-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.link-card__host i.offline {
  background-color: var(--text-muted);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-muted) 16%, transparent);
}
.link-card.is-offline { opacity: .72; }
.link-card__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 交换链接：双栏（本站信息 + 申请须知） */
.link-apply {
  position: relative; margin-top: 8px; padding: 34px 34px 30px;
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden;
}
.link-apply::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 62%);
}
.link-apply__head { margin-bottom: 22px; }
.link-apply__title { font-family: var(--font-sans); font-size: 26px; margin: 0; }
.link-apply__glyph {
  position: absolute; right: 22px; top: 20px; pointer-events: none; user-select: none;
  font-family: var(--font-sans); font-weight: 700; font-size: 96px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--accent-line); opacity: .45;
}
.link-apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.link-apply__sub {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.link-apply__col .about-info { margin: 0; }
.apply-rules { list-style: none; margin: 6px 0 0; padding: 0; }
.apply-rules li {
  position: relative; padding: 10px 0 10px 26px; font-size: 13.5px; color: var(--text-soft);
  border-bottom: 1px dashed var(--border); line-height: 1.7;
}
.apply-rules li:last-child { border-bottom: none; }
.apply-rules li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); opacity: .85;
}

/* 关于页 */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 34px; margin: 40px 0; align-items: start; }
.about-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 30px 26px; text-align: center; position: sticky; top: 90px;
}
.about-card__avatar {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent-line), var(--shadow);
}
.about-card__name { font-family: var(--font-sans); font-size: 22px; margin: 0 0 6px; }
.about-card__role { font-size: 12.5px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.about-card__desc { font-size: 13.5px; color: var(--text-soft); line-height: 1.9; margin: 0 0 18px; }
.about-card__social { display: flex; justify-content: center; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 30px; }
.stat-cell {
  background: var(--surface); border: 1px solid var(--border);
  padding: 20px 14px; text-align: center; transition: border-color .25s, transform .25s;
}
.stat-cell:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.stat-cell b { display: block; font-family: var(--font-mono); font-size: 26px; color: var(--accent); line-height: 1.1; }
.stat-cell span { font-size: 12px; color: var(--text-muted); letter-spacing: .06em; }
.about-info { list-style: none; margin: 0 0 30px; padding: 0; }
.about-info li {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 4px;
  border-bottom: 1px dashed var(--border); font-size: 14px;
}
.about-info .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; color: var(--text-muted); text-transform: uppercase; width: 96px; flex: none; }
.about-info .v { color: var(--text-soft); }
.about-info .v a { color: var(--text-soft); }
.about-info .v a:hover { color: var(--accent); }

/* 分类 / 标签 / 搜索 / 日期归档（archive.php） */
.cat-hero { padding: 58px 0 8px; position: relative; }
.cat-hero__title {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: clamp(34px, 5vw, 50px); line-height: 1.15; margin: 0 0 6px;
}
.cat-hero__en {
  font-family: var(--font-mono); font-style: normal; font-size: 13px;
  letter-spacing: .32em; color: var(--accent); transform: translateY(-6px);
}
.cat-hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 16px 0 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--text-muted);
}
.cat-hero__meta b { color: var(--accent); font-weight: 600; }
.cat-hero__meta .sep { opacity: .35; }
.cat-list { list-style: none; margin: 26px 0 0; padding: 0; }
.cat-year { display: flex; align-items: center; gap: 14px; margin: 36px 0 2px; }
.cat-year:first-child { margin-top: 8px; }
.cat-year span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .26em; color: var(--text-muted); }
.cat-year i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.cat-row {
  display: flex; align-items: center; gap: 22px; padding: 20px 0;
  border-bottom: 1px solid var(--border-soft); transition: padding .25s;
}
.cat-row:hover { padding-left: 8px; }
/* mono 描边大编号：默认安静，hover 染陶土 */
.cat-row__index {
  flex: none; width: 50px; font-family: var(--font-mono); font-size: 26px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--text-soft); opacity: .3;
  transition: opacity .25s, -webkit-text-stroke-color .25s;
}
.cat-row:hover .cat-row__index { -webkit-text-stroke-color: var(--accent); opacity: .9; }
.cat-row__body { flex: 1; min-width: 0; }
.cat-row__title { font-family: var(--font-sans); font-size: 19px; line-height: 1.4; margin: 0 0 6px; }
.cat-row__title a { color: var(--text); transition: color .2s; }
.cat-row:hover .cat-row__title a { color: var(--accent); }
.cat-row__excerpt {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-row__meta { margin-bottom: 2px; }
/* 行内缩略图：与首页封面同一降饱和 + 陶土薄纱 */
.cat-row__thumb {
  position: relative; flex: none; width: 138px; height: 92px; overflow: hidden; background: var(--bg-soft);
}
.cat-row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: filter .35s, transform .5s ease; }
.cat-row:hover .cat-row__thumb img { filter: saturate(.92); transform: scale(1.04); }
.cat-row__thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(194,96,90,.05), rgba(122,60,55,.16));
}
/* 无图时用小型占位封面，字号相应缩小 */
.cat-row__thumb .ph { width: 100%; height: 100%; }
.cat-row__thumb .ph__char { font-size: 44px; -webkit-text-stroke-width: 1.5px; }
.cat-row__thumb .ph__tag { font-size: 9px; }
.cat-row__thumb .ph__tag::after { width: 16px; }
.cat-row__thumb .ph::after { width: 150px; height: 150px; top: -52px; right: -52px; }

/* 归档页（页面版） */
.arc-year { margin: 44px 0 10px; }
.arc-year__head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px;
  font-family: var(--font-sans); font-size: 30px;
}
.arc-year__head span { color: var(--accent); }
.arc-year__head em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .14em; }
.arc-month { margin: 18px 0 6px; display: flex; align-items: center; gap: 12px; }
.arc-month b { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .16em; }
.arc-month::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.arc-total {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .12em;
}
.arc-total b { color: var(--accent); font-size: 16px; }

.archive-year { margin-bottom: 40px; }
.archive-year__head { font-family: var(--font-sans); font-size: 30px; margin: 0 0 18px; color: var(--text); }
.archive-year__head span { color: var(--accent); }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-item { display: flex; align-items: baseline; gap: 18px; padding: 13px 4px; border-bottom: 1px dashed var(--border); }
.archive-item__date { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); width: 110px; flex: none; }
.archive-item__title { font-size: 16px; color: var(--text-soft); transition: color .2s; }
.archive-item:hover .archive-item__title { color: var(--accent); }
.archive-item__cat { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* 朋友动态页 */
.ff-list { margin: 36px 0; }
.ff-item {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 6px;
  border-bottom: 1px dashed var(--border); transition: background .25s, padding .25s;
}
.ff-item:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 55%); padding-left: 14px; }
.ff-item__site {
  flex: none; width: 92px; font-size: 12.5px; color: var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ff-item__site::before { content: "◈ "; opacity: .6; }
.ff-item__title { font-size: 15px; color: var(--text-soft); transition: color .2s; }
.ff-item:hover .ff-item__title { color: var(--accent); }
.ff-item__date { margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.ff-empty {
  padding: 60px 0; text-align: center; color: var(--text-muted); font-size: 14px; line-height: 2;
}
.ff-empty b { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--text-soft); margin-bottom: 6px; }

/* 独立页面响应式 */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__glyph { display: none; }
  .ff-item__site { width: 72px; }
  .link-apply { padding: 26px 22px; }
  .link-apply__glyph { display: none; }
  .link-apply__grid { grid-template-columns: 1fr; gap: 22px; }
  .cat-row__thumb { width: 112px; height: 76px; }
  .cat-row__index { width: 40px; font-size: 22px; }
  .cat-row { gap: 16px; }
}
@media (max-width: 560px) {
  .ff-item { flex-wrap: wrap; gap: 8px 12px; }
  .ff-item__date { margin-left: 0; }
  .ff-item__site { width: auto; }
  .cat-row { flex-wrap: wrap; }
  .cat-row__thumb { order: -1; width: 100%; height: 130px; }
  .cat-row__index { display: none; }
  .link-stats { flex-wrap: wrap; gap: 10px 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .post { grid-template-columns: 1fr; }
  .toc { display: none; }
  .spotlight__grid { grid-template-columns: 1fr; }
  .spotlight-main { min-height: 320px; }
  .cat-section { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .hero__glyph { font-size: clamp(240px, 60vw, 420px); right: -12vw; opacity: .8; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.nav--open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.nav--open a { padding: 12px 14px; }
  .nav-toggle { display: grid; }
  .hero { padding: 44px 0 96px; }
  .hero__statement { font-size: 34px; }
  .hero__meta { gap: 24px; }
  .hero__meta strong { font-size: 27px; }
  .hero__glyph { font-size: 300px; right: -22vw; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 42px 0 30px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-col--brand p { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-hero { padding: 52px 0 40px; }
  .post-hero__glyph { font-size: 230px; right: -16vw; bottom: -6vw; opacity: .75; }
  .post-hero__title { font-size: 28px; }
  .post-hero__meta { gap: 8px 14px; font-size: 12.5px; }
  .container { padding: 0 18px; }
  .site-header__inner { padding: 0 18px; }
  .statusbar__inner { gap: 14px; }
  .statusbar__sep { display: none; }
  .moments__track { margin: 0 -18px; padding: 4px 18px 14px; }
  .cat-row__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rank-item__no { width: 30px; font-size: 21px; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .hero__meta { gap: 18px; }
  .moment { flex-basis: 84vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-beian { gap: 12px; }
}