/* ============================================================
   三角洲 DELTA — 金色主题
   ============================================================ */

:root {
  --ink: #0a0906;
  --ink-1: #0f0d09;
  --ink-2: #15120c;
  --ink-3: #1c1710;

  --gold-100: #f8ecc9;
  --gold-200: #ecd08c;
  --gold-300: #d9b364;
  --gold-400: #bd9440;
  --gold-500: #8d6b2b;
  --gold-600: #5d4519;

  --text: #ece2cd;
  --text-2: #b6a992;
  --text-3: #8a7f6b;

  --line: rgba(217, 179, 100, 0.17);
  --line-soft: rgba(217, 179, 100, 0.085);

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC",
    "SimSun", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --w: 1140px;
  --w-read: 700px;
  --nav-h: 70px;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* 背景光晕 + 纸面颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 460px at 78% -8%, rgba(189, 148, 64, 0.16), transparent 62%),
    radial-gradient(520px 380px at 6% 12%, rgba(141, 107, 43, 0.12), transparent 60%),
    radial-gradient(900px 600px at 50% 108%, rgba(93, 69, 25, 0.16), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

main,
.nav,
.foot {
  position: relative;
  z-index: 2;
}

::selection {
  background: rgba(217, 179, 100, 0.28);
  color: #fff8e6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------------- 顶栏 ---------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(10, 9, 6, 0.62);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(10, 9, 6, 0.9);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.2em;
  font-weight: 600;
  background: linear-gradient(150deg, #fbf1d5 0%, #dcb768 52%, #a8823a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.42em;
  color: var(--gold-500);
  transition: color 0.3s var(--ease);
}

.brand:hover .brand-en {
  color: var(--gold-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--text-2);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}

.nav-links a:hover {
  color: var(--gold-100);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--gold-200);
}

/* ---------------- 通用容器 ---------------- */

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

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 18%,
    var(--line) 82%,
    transparent
  );
}

/* ---------------- 首页 Hero ---------------- */

.hero {
  padding: calc(var(--nav-h) + 96px) 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.overline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold-500);
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.overline::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(58px, 11vw, 122px);
  line-height: 0.94;
  letter-spacing: 0.06em;
  margin: 0;
  background: linear-gradient(
    158deg,
    #fdf6e2 0%,
    #f0d79b 26%,
    #d3a94f 56%,
    #9a7330 78%,
    #e7cd93 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 42px rgba(178, 137, 58, 0.22));
}

.hero-sub {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.56em;
  color: var(--gold-300);
  margin: 26px 0 0;
  padding-left: 4px;
}

.hero-lede {
  margin: 30px 0 0;
  max-width: 30em;
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--text-2);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-500);
  display: inline-block;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-art svg {
  width: 100%;
  max-width: 470px;
  height: auto;
  overflow: visible;
}

.river-line {
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.55;
}

.river-line.faint {
  stroke: var(--gold-500);
  opacity: 0.38;
  stroke-width: 0.8;
}

.river-glow {
  filter: blur(3px);
  opacity: 0.5;
}

.delta-node {
  fill: var(--gold-200);
  opacity: 0.85;
}

.flow {
  stroke-dasharray: 5 12;
  animation: flow 4.5s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -68;
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.scroll-cue::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

.scroll-cue:hover {
  color: var(--gold-200);
}

/* ---------------- 区块标题 ---------------- */

.section {
  padding: 46px 0 20px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  margin: 0;
  color: var(--gold-100);
}

.section-head .more {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.section-head .more:hover {
  color: var(--gold-200);
}

/* ---------------- 文章列表 ---------------- */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 168px;
  gap: 26px;
  align-items: start;
  padding: 34px 18px 34px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}

.post-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.post-row:hover {
  background: linear-gradient(
    90deg,
    rgba(217, 179, 100, 0.065),
    rgba(217, 179, 100, 0.012) 55%,
    transparent
  );
  padding-left: 16px;
}

.post-row:hover::before {
  opacity: 1;
}

.row-index {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  padding-top: 9px;
  transition: color 0.4s var(--ease);
}

.post-row:hover .row-index {
  color: var(--gold-300);
}

.row-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--text);
  transition: color 0.4s var(--ease);
}

.post-row:hover .row-title {
  color: var(--gold-100);
}

.row-sub {
  margin: 7px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold-500);
}

.row-excerpt {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 46em;
}

.row-side {
  text-align: right;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  padding-top: 9px;
}

.row-side .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-400);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.post-row:hover .row-side .tag {
  border-color: rgba(217, 179, 100, 0.38);
  color: var(--gold-200);
}

/* ---------------- 引言带 ---------------- */

.quote-band {
  margin: 96px 0 0;
  padding: 72px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "「";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: rgba(217, 179, 100, 0.09);
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 30em;
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--gold-200);
}

.quote-band cite {
  display: block;
  margin-top: 26px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--text-3);
}

/* ---------------- 文章页 ---------------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
  box-shadow: 0 0 12px rgba(217, 179, 100, 0.5);
}

.post {
  max-width: var(--w-read);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 84px) 32px 0;
}

.post-head {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 38px;
}

.tag-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-300);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  transition: all 0.3s var(--ease);
}

.tag-pill:hover {
  border-color: rgba(217, 179, 100, 0.45);
  color: var(--gold-100);
  background: rgba(217, 179, 100, 0.06);
}

.post-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 30px 0 0;
  color: #f4ead4;
}

.post-sub {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 16.5px;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  line-height: 1.9;
}

.post-meta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.post-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-600);
}

/* 正文排版 */
.prose {
  padding: 46px 0 20px;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 2.05;
  color: #ddd2bd;
  letter-spacing: 0.015em;
}

.prose > p {
  margin: 0 0 1.55em;
}

.prose > p:first-of-type::first-letter {
  float: left;
  font-size: 3.55em;
  line-height: 0.86;
  padding: 0.06em 0.14em 0 0;
  color: var(--gold-300);
  font-weight: 500;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 22.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-100);
  margin: 2.5em 0 1em;
  line-height: 1.6;
}

.prose h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--gold-300), transparent);
}

.prose h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-200);
  margin: 2em 0 0.7em;
}

.prose a {
  color: var(--gold-300);
  border-bottom: 1px solid rgba(217, 179, 100, 0.38);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.prose a:hover {
  color: var(--gold-100);
  border-bottom-color: var(--gold-100);
}

.prose strong {
  color: var(--gold-100);
  font-weight: 600;
}

.prose em {
  font-style: normal;
  color: var(--gold-200);
  border-bottom: 1px dotted rgba(217, 179, 100, 0.45);
}

.prose blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 26px;
  border-left: 1px solid var(--gold-400);
  color: var(--gold-200);
  font-size: 17.5px;
  line-height: 2;
}

.prose blockquote p {
  margin: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1.6em;
  padding-left: 1.35em;
}

.prose li {
  margin: 0.6em 0;
  padding-left: 0.15em;
}

.prose li::marker {
  color: var(--gold-500);
  font-family: var(--mono);
  font-size: 0.85em;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.84em;
  color: var(--gold-200);
  background: rgba(217, 179, 100, 0.08);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 0.12em 0.4em;
}

.prose pre {
  margin: 2em 0;
  padding: 22px 24px;
  background: #0c0a07;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow-x: auto;
  position: relative;
}

.prose pre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 179, 100, 0.4),
    transparent
  );
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.8px;
  line-height: 1.9;
  color: #cfc2a6;
}

.prose hr {
  border: 0;
  height: 1px;
  margin: 3em auto;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* 文章页脚 */
.post-foot {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line-soft);
}

.post-foot .back {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.post-foot .back:hover {
  color: var(--gold-200);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 44px 0 0;
}

.post-nav a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(217, 179, 100, 0.02);
  transition: all 0.4s var(--ease);
}

.post-nav a:hover {
  border-color: rgba(217, 179, 100, 0.35);
  background: rgba(217, 179, 100, 0.06);
  transform: translateY(-2px);
}

.post-nav .dir {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold-500);
}

.post-nav .t {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}

.post-nav a:hover .t {
  color: var(--gold-100);
}

.post-nav .next {
  text-align: right;
}

.post-nav .empty {
  border: 1px dashed rgba(217, 179, 100, 0.1);
  border-radius: 4px;
  opacity: 0.25;
}

/* ---------------- 归档 / 页头 ---------------- */

.page-head {
  padding: calc(var(--nav-h) + 96px) 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0;
  background: linear-gradient(150deg, #fbf1d5, #d9b364 60%, #a8823a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head p {
  margin: 18px 0 0;
  max-width: 40em;
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.95;
}

.year-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 44px 0 10px;
  border-bottom: 1px solid var(--line-soft);
}

.year-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  padding-top: 4px;
}

.year-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.year-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(217, 179, 100, 0.05);
}

.year-list li:last-child {
  border-bottom: 0;
}

.year-list .d {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  flex-shrink: 0;
  width: 52px;
}

.year-list a {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-2);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-block;
}

.year-list a:hover {
  color: var(--gold-100);
  transform: translateX(4px);
}

.year-list .tag-mini {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-left: auto;
}

/* ---------------- 标签墙 ---------------- */

.tag-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 56px;
}

.tag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 30px 30px;
  background: var(--ink);
  min-height: 176px;
  transition: background 0.45s var(--ease);
}

.tag-card:hover {
  background: var(--ink-2);
}

.tc-index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold-600);
}

.tc-name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.16em;
  color: var(--text);
  transition: color 0.4s var(--ease);
}

.tag-card:hover .tc-name {
  color: var(--gold-100);
}

.tc-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.tag-card::after {
  content: "→";
  position: absolute;
  top: 30px;
  right: 28px;
  font-size: 13px;
  color: var(--gold-500);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.4s var(--ease);
}

.tag-card:hover::after {
  opacity: 1;
  transform: none;
}

/* ---------------- 关于页 ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  padding: 56px 0 0;
  align-items: start;
}

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  background: linear-gradient(170deg, rgba(217, 179, 100, 0.06), transparent 70%);
}

.card .mono-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-500);
  margin: 0 0 16px;
}

.card h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
  color: var(--gold-100);
}

.card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-3);
}

.card .divider {
  height: 1px;
  background: var(--line-soft);
  margin: 20px 0;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-2);
}

.card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(217, 179, 100, 0.06);
}

.card li:last-child {
  border-bottom: 0;
}

.card li span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-400);
}

/* ---------------- 页脚 ---------------- */

.foot {
  margin-top: 110px;
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 46px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.foot-brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--gold-300);
}

.foot-tag {
  margin: 10px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  line-height: 1.9;
}

.foot-links {
  display: flex;
  gap: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.foot-links a:hover {
  color: var(--gold-200);
}

.foot-copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(217, 179, 100, 0.05);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(138, 127, 107, 0.7);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------------- 动效 ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(15, 13, 9, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  z-index: 40;
  font-size: 15px;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--gold-400);
  color: var(--gold-100);
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-art {
    position: absolute;
    top: 60px;
    right: -40px;
    width: 320px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
  }

  .hero-art svg {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 62px;
  }

  .wrap,
  .nav-inner {
    padding: 0 22px;
  }

  .post {
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav-links {
    gap: 20px;
    font-size: 12.5px;
  }

  .brand-en {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 56px);
  }

  .hero-art {
    display: none;
  }

  .foot-links {
    gap: 18px;
    font-size: 10.5px;
  }

  .hero-lede {
    font-size: 15.5px;
  }

  .post-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 4px;
  }

  .row-side {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .row-side .tag {
    margin-top: 0;
  }

  .row-title {
    font-size: 21px;
  }

  .row-excerpt {
    font-size: 13.5px;
    -webkit-line-clamp: 3;
  }

  .quote-band {
    margin-top: 64px;
    padding: 56px 0;
  }

  .prose {
    font-size: 16.5px;
    line-height: 2;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .next {
    text-align: left;
  }

  .year-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .year-list .tag-mini {
    display: none;
  }

  .foot {
    margin-top: 72px;
    padding-bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
