/* ============================================================
   浪漫哲学 · Warm Edition
   奶油、蜜桃、鼠尾草与一点点星光
   ============================================================ */

:root{
  --bg:#FFF8F1;
  --bg-2:#FDEFE4;
  --surface:#FFFFFF;
  --surface-2:#FFF6EC;
  --ink:#3D332C;
  --ink-2:#685A4E;
  --muted:#8A7666;
  --line:rgba(61,51,44,.10);
  --line-strong:rgba(61,51,44,.18);
  --gold:#C9875B;
  --gold-2:#E7B48A;
  --gold-soft:#FBEBDD;
  --plum:#A98BB8;
  --teal:#7FA79B;
  --rose:#DE9A9A;
  --night:#3D332C;
  --night-2:#4A3D33;
  --star:#F3D9B8;
  --peach:#F7C9A9;
  --peach-deep:#EFAE86;
  --sage:#AFC8A6;
  --butter:#F6E3AE;
  --lilac:#CDBDE0;
  --sky:#B7D3E3;
  --accent:#D97E5F;
  --shadow:0 18px 42px -22px rgba(150,104,72,.32);
  --shadow-soft:0 10px 26px -16px rgba(150,104,72,.28);
  --radius:22px;
  --radius-sm:14px;
  --wrap:1160px;
}

[data-theme="dark"]{
  --bg:#211B18;
  --bg-2:#2A231F;
  --surface:#2E2722;
  --surface-2:#332B25;
  --ink:#F7EDE1;
  --ink-2:#D8C9BA;
  --muted:#B5A18E;
  --line:rgba(247,237,225,.12);
  --line-strong:rgba(247,237,225,.22);
  --gold:#E5B78C;
  --gold-2:#F0C9A2;
  --gold-soft:rgba(229,183,140,.14);
  --plum:#C3A9D1;
  --teal:#9CC2B6;
  --rose:#E8B1B1;
  --night:#171310;
  --star:#F0D6B4;
  --shadow:0 20px 48px -24px rgba(0,0,0,.55);
  --shadow-soft:0 12px 30px -18px rgba(0,0,0,.5);
}
@media (prefers-color-scheme: dark){
  [data-theme="auto"]{
    --bg:#211B18; --bg-2:#2A231F; --surface:#2E2722; --surface-2:#332B25;
    --ink:#F7EDE1; --ink-2:#D8C9BA; --muted:#B5A18E;
    --line:rgba(247,237,225,.12); --line-strong:rgba(247,237,225,.22);
    --gold:#E5B78C; --gold-2:#F0C9A2; --gold-soft:rgba(229,183,140,.14);
    --plum:#C3A9D1; --teal:#9CC2B6; --rose:#E8B1B1; --night:#171310; --star:#F0D6B4;
    --shadow:0 20px 48px -24px rgba(0,0,0,.55); --shadow-soft:0 12px 30px -18px rgba(0,0,0,.5);
  }
}

/* ---------- 基础 ---------- */
body{
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(247,201,169,.45), transparent 62%),
    radial-gradient(760px 460px at 92% 4%, rgba(205,189,224,.30), transparent 60%),
    var(--bg);
  color:var(--ink);
  font-size:15.5px;
  line-height:1.72;
}
.grain{ opacity:.12; mix-blend-mode:multiply; }
[data-theme="dark"] .grain{ opacity:.10; mix-blend-mode:screen; }
.wrap{ width:min(var(--wrap), calc(100% - 40px)); }
::selection{ background:#F7C9A9; color:#3D332C; }

/* ---------- 头部 ---------- */
.site-head{
  background:rgba(255,248,241,.86);
  border-bottom:0;
  backdrop-filter:blur(16px) saturate(150%);
  box-shadow:0 1px 0 rgba(61,51,44,.06);
}
[data-theme="dark"] .site-head{ background:rgba(33,27,24,.86); }
.head-inner{ height:66px; gap:18px; }
.brand-mark{
  width:34px; height:34px; border:0;
  background:linear-gradient(145deg,#FFE7CF,#F7C9A9);
  color:#8A5A3B; box-shadow:0 6px 14px -8px rgba(180,112,70,.6);
}
.brand-word b{ font-size:1.16rem; letter-spacing:.04em; }
.brand-word i{ font-size:.5rem; letter-spacing:.2em; color:var(--muted); }
.nav-main{ gap:2px; }
.nav-link{
  padding:8px 12px; font-size:.9rem; color:var(--ink-2); border-radius:999px;
}
.nav-link:hover{ background:#FFF0E2; color:var(--ink); }
.nav-link.is-active{
  background:#FBE3CF; color:#7A4A2C; font-weight:500;
}
.nav-link.is-active::after{ display:none; }
.dropdown{
  border-radius:16px; border-color:rgba(61,51,44,.08);
  box-shadow:0 24px 50px -26px rgba(150,104,72,.4);
}
.dropdown a:hover{ background:#FFF1E4; }
.icon-btn{ width:36px; height:36px; }
.icon-btn:hover{ background:#FFF0E2; border-color:transparent; }
.lang-switch{
  border-color:rgba(61,51,44,.14); color:var(--ink-2); background:rgba(255,255,255,.6);
}
.lang-switch:hover{ background:#FBE3CF; border-color:#F4C9A7; color:#7A4A2C; }

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(680px 420px at 82% 18%, rgba(255,255,255,.75), transparent 62%),
    linear-gradient(155deg,#FFF4E8 0%,#FDE4D2 46%,#F4E7F2 100%);
  color:var(--ink);
  min-height:0;
  padding:56px 0 64px;
  align-items:flex-start;
}
[data-theme="dark"] .hero{
  background:
    radial-gradient(680px 420px at 82% 18%, rgba(255,220,190,.10), transparent 62%),
    linear-gradient(155deg,#2A211C 0%,#33251E 48%,#2B2430 100%);
}
.hero-sky{ color:#D9A97E; }
.hero .stars{ opacity:.55; }
.nebula{ filter:blur(70px); opacity:.55; }
.nebula.n1{ background:radial-gradient(circle,rgba(247,201,169,.75),transparent 66%); }
.nebula.n2{ background:radial-gradient(circle,rgba(205,189,224,.6),transparent 68%); }
.hero-inner{ position:relative; z-index:3; }
.kicker{ color:#B4764C; letter-spacing:.24em; font-size:.66rem; margin-bottom:14px; }
.kicker-light{ color:#B4764C; }
.hero-title{
  font-size:clamp(2.3rem,4.6vw,3.9rem);
  font-weight:400;
  line-height:1.16;
  letter-spacing:.01em;
  max-width:15em;
  margin-bottom:20px;
}
.hero-title em{
  font-style:normal;
  color:#B4613C;
  background:linear-gradient(transparent 62%, #FFD9BC 62%);
  padding:0 .06em;
}
.hero-text{ color:#6E5D4F; font-size:1rem; max-width:34em; margin-bottom:28px; }
.hero-actions{ gap:12px; margin-bottom:34px; }
.btn{ padding:11px 20px; font-size:.89rem; }
.btn-gold{
  background:linear-gradient(135deg,#F3B98D,#E29163); color:#3B2215;
  box-shadow:0 12px 24px -14px rgba(210,130,85,.8);
}
.btn-gold:hover{ box-shadow:0 16px 30px -14px rgba(210,130,85,.9); }
.btn-ghost{ border-color:rgba(61,51,44,.18); color:#6E5D4F; background:rgba(255,255,255,.5); }
.btn-ghost:hover{ background:#fff; border-color:#EBB994; color:#8A5232; }
.btn-ink{ background:#4A3A2E; color:#FFF6EC; }
.btn-ink:hover{ background:#8A5232; color:#fff; }
.btn-peach{
  background:linear-gradient(135deg,#FFD9BE,#F6B98F); color:#4A2A18;
  box-shadow:0 12px 24px -14px rgba(210,130,85,.75);
}
.btn-peach:hover{ transform:translateY(-2px); }
.hero-stats{ gap:34px; padding-top:22px; border-top:1px solid rgba(61,51,44,.12); max-width:520px; }
.hero-stats dt{ font-size:1.55rem; color:#B4613C; }
.hero-stats dd{ color:#8E7867; font-size:.7rem; }
.hero-fade{ background:linear-gradient(to bottom,transparent,var(--bg)); height:70px; }

/* 月亮与云 */
.moon-art{ width:min(34vw,360px); right:4vw; top:48%; }
.moon{
  inset:20%;
  background:radial-gradient(circle at 34% 28%,#FFFDF6 0%,#FFEFD6 45%,#F7D9AE 78%,#EEC594 100%);
  box-shadow:0 24px 50px -18px rgba(200,140,90,.45), inset -10px -12px 28px rgba(200,150,100,.22);
}
.moon::after{ display:none; }
.moon-glow{ background:radial-gradient(circle,rgba(255,220,180,.5),transparent 64%); }
.orbit{ color:#D9A97E; opacity:.55; }
.m-eye{
  position:absolute; top:46%; width:10%; height:12%; border-radius:50%;
  background:#5A4030; transform:scaleY(.55);
}
.m-eye.l{ left:30%; }
.m-eye.r{ right:30%; }
.m-blush{
  position:absolute; top:58%; width:16%; height:9%; border-radius:50%;
  background:rgba(240,150,130,.45); filter:blur(2px);
}
.m-blush.l{ left:18%; }
.m-blush.r{ right:18%; }
.m-smile{
  position:absolute; left:50%; top:60%; width:12%; height:8%;
  border-bottom:3px solid #6B4A35; border-radius:0 0 50% 50%;
  transform:translateX(-50%);
}
.moon-art{ animation:floaty 7s ease-in-out infinite; }
.cloud{
  position:absolute; background:rgba(255,255,255,.78); border-radius:999px;
  filter:blur(1px); box-shadow:0 18px 30px -20px rgba(180,130,95,.4);
}
.cloud::before,.cloud::after{
  content:""; position:absolute; background:inherit; border-radius:50%;
}
.cloud-a{ width:120px; height:34px; left:-8%; top:18%; animation:drift 12s ease-in-out infinite; }
.cloud-a::before{ width:52px; height:52px; left:18px; top:-22px; }
.cloud-a::after{ width:38px; height:38px; right:18px; top:-14px; }
.cloud-b{ width:90px; height:26px; right:2%; bottom:14%; opacity:.7; animation:drift 9s ease-in-out infinite reverse; }
.cloud-b::before{ width:40px; height:40px; left:14px; top:-18px; }
.cloud-b::after{ width:30px; height:30px; right:12px; top:-10px; }
.spark{
  position:absolute; width:6px; height:6px; border-radius:50%;
  background:#F3C08E; box-shadow:0 0 0 3px rgba(243,192,142,.28), 0 0 12px rgba(243,192,142,.6);
  animation:twinkle 3.2s ease-in-out infinite;
}
.spark.s1{ left:12%; top:26%; }
.spark.s2{ right:18%; top:12%; animation-delay:.8s; }
.spark.s3{ left:42%; bottom:14%; animation-delay:1.6s; }

/* ---------- 心情条 ---------- */
.mood-strip{ padding:34px 0 4px; }
.mood-strip-head h2{ font-size:1.32rem; }
.mood-chip{
  background:#fff; border-color:rgba(61,51,44,.08); box-shadow:0 6px 14px -12px rgba(150,104,72,.4);
  padding:8px 14px; font-size:.85rem;
}
.mood-chip:hover{ background:#FFF6EC; }

/* ---------- 区块 ---------- */
.section{ padding:62px 0; }
.section-tint{ background:linear-gradient(180deg,#FFF3E7,#FFF8F1); }
[data-theme="dark"] .section-tint{ background:linear-gradient(180deg,#2A231F,#241E1A); }
.section-night{
  background:linear-gradient(150deg,#FFF0E0,#FBE6EE 60%,#F3EAF7);
  color:var(--ink);
}
[data-theme="dark"] .section-night{ background:linear-gradient(150deg,#33261E,#2E2430 60%,#262029); }
.section-night .section-title{ color:var(--ink); }
.section-night .section-text{ color:var(--ink-2); }
.section-head{ margin-bottom:30px; align-items:flex-end; }
.section-title{ font-size:clamp(1.6rem,2.6vw,2.15rem); letter-spacing:.01em; }
.section-title::after{
  content:""; display:block; width:42px; height:6px; margin-top:9px; border-radius:99px;
  background:linear-gradient(90deg,#F7C9A9,#E7B48A);
}
.section-head.center .section-title::after{ margin-inline:auto; }
.section-night .section-title::after{ background:linear-gradient(90deg,#F3B98D,#D98E63); }
.section-text{ font-size:.92rem; }
.text-link{ color:#B4613C; }
.text-link:hover{ border-color:#E7B48A; }
.margin-note{ font-size:1.18rem; color:var(--ink-2); }

/* ---------- 卡片 ---------- */
.grid{ gap:18px; }
.card{
  border-radius:20px; border-color:rgba(61,51,44,.07);
  box-shadow:0 8px 20px -18px rgba(150,104,72,.45);
}
.card:hover{ transform:translateY(-5px); box-shadow:0 24px 44px -24px rgba(150,104,72,.45); }
.card-art{ height:120px; }
.art-emotion{ background:linear-gradient(135deg,#FFE3CC,#F8C6A8 60%,#F3B596); }
.art-friction{ background:linear-gradient(135deg,#EFE3F6,#D9C6EA 60%,#C9B4DC); }
.art-love{ background:linear-gradient(135deg,#FFE1E1,#F3BFBF 60%,#E9A8A8); }
.art-self{ background:linear-gradient(135deg,#E4F1E6,#C6DFC9 60%,#AECFAF); }
.art-stress{ background:linear-gradient(135deg,#F4EDE2,#E5D6C2 60%,#D8C4A9); }
.art-psychology{ background:linear-gradient(135deg,#E2F0F6,#BFDCE9 60%,#A6CBDD); }
.art-life{ background:linear-gradient(135deg,#FFF2D9,#F6E1AC 60%,#EACF8E); }
.art-story{ background:linear-gradient(135deg,#FFE9D2,#F7CFA3 60%,#EFB985); }
.art-meditation{ background:linear-gradient(135deg,#E6F2EE,#C4E0D7 60%,#A9D0C4); }
.card-art .stars{ opacity:.45; color:#FFF8EE; }
.art-glyph{
  background:rgba(255,255,255,.72); border-color:rgba(255,255,255,.9); color:#7A4A2C;
  box-shadow:0 10px 20px -12px rgba(150,104,72,.5);
}
.art-line{ background:linear-gradient(to right,transparent,rgba(255,255,255,.7),transparent); }
.card-body{ padding:18px 20px 20px; }
.card h3{ font-size:1.1rem; margin-bottom:8px; }
.card-kicker{ color:#B4613C; font-size:.63rem; letter-spacing:.16em; }
.card-sum{ font-size:.85rem; -webkit-line-clamp:2; }
.card-meta{ font-size:.7rem; }

/* ---------- 流派 ---------- */
.school-strip{ border-top-color:rgba(61,51,44,.1); }
.school-pill{ border-color:rgba(61,51,44,.08); padding:20px 18px; }
.school-pill:hover{ background:#fff; }
.school-pill .num{ color:#B4613C; }
.school-pill b{ font-size:1.12rem; }
.school-pill i{ font-size:.72rem; }

/* ---------- 思想家 ---------- */
.thinker-grid{ gap:14px; }
.thinker-card{
  padding:18px; border-radius:18px; border-color:rgba(61,51,44,.07);
  background:linear-gradient(180deg,#fff,#FFFAF4);
  box-shadow:0 8px 20px -18px rgba(150,104,72,.35);
}
.thinker-card:hover{ border-color:#F3C6A3; }
.mono{ width:48px; height:48px; font-size:1.35rem; border:0; }
.mono.gold{ background:linear-gradient(135deg,#FFE7CF,#F6C9A6); color:#8A5232; }
.mono.plum{ background:linear-gradient(135deg,#F0E5F7,#D8C3E8); color:#7B5C8C; }
.mono.teal{ background:linear-gradient(135deg,#E3F1EC,#BFDCD2); color:#4F7A6E; }
.mono.rose{ background:linear-gradient(135deg,#FFE3E3,#F3BDBD); color:#96595C; }
.mono.ink{ background:linear-gradient(135deg,#EFEAE3,#D8CFC3); color:#6B5A4B; }
.mono.mist{ background:linear-gradient(135deg,#F1F3F2,#D5DEDB); color:#6D7F78; }
.thinker-meta b{ font-size:1.05rem; }
.thinker-tag{ font-size:.78rem; -webkit-line-clamp:2; }

/* ---------- 人生哲学 ---------- */
.life-list{ border-top-color:rgba(61,51,44,.12); column-gap:40px; }
.life-item{ border-bottom-color:rgba(61,51,44,.09); padding:16px 0; }
.life-item:hover{ padding-left:6px; }
.life-txt b{ color:var(--ink); font-size:1.05rem; }
.life-txt i{ color:var(--muted); font-size:.75rem; }
.life-item .idx{ color:#C9875B; }
.life-item .ico{ color:#C9875B; }

/* ---------- 每日 ---------- */
.daily-grid{ gap:16px; }
.daily-card{
  padding:22px; border-radius:20px; border-color:rgba(61,51,44,.07); min-height:190px;
}
.daily-quote{
  background:linear-gradient(150deg,#FFF0DE,#FBE2CD 60%,#F7D6BC);
  color:var(--ink); border:0;
}
.daily-quote blockquote{ font-size:1.2rem; color:#4A371F; }
.daily-quote .dc-label{ color:#A9633C; }
.daily-quote p{ color:#7A6248; }
.dc-label{ color:#B4613C; }
.daily-card h3{ font-size:1.05rem; }
.daily-card p{ font-size:.84rem; }

/* ---------- 书籍 ---------- */
.book-cover{
  border-radius:4px 12px 12px 4px;
  box-shadow:0 14px 26px -18px rgba(150,104,72,.5), inset 0 0 0 1px rgba(255,255,255,.35);
  color:#4A371F;
}
.book-cover::before{ background:rgba(255,255,255,.5); }
.book-cover.c1{ background:linear-gradient(150deg,#FFE9D3,#F6CCA6); }
.book-cover.c2{ background:linear-gradient(150deg,#FFE2E2,#F3C0C0); }
.book-cover.c3{ background:linear-gradient(150deg,#E6F2E8,#C6DFC9); }
.book-cover.c4{ background:linear-gradient(150deg,#FFF3D6,#F0DCA6); }
.book-cover.c5{ background:linear-gradient(150deg,#F0E7F8,#D9C6EA); }
.book-info b, .book-mini b{ color:var(--ink); }
.book-info i{ color:#B4613C; }

/* ---------- 社区 teaser ---------- */
.ct-card{
  background:#fff; border-color:rgba(61,51,44,.07); box-shadow:0 12px 26px -20px rgba(150,104,72,.45);
}
.ct-card p{ color:var(--ink-2); }

/* ---------- 订阅 ---------- */
.newsletter{ background:linear-gradient(135deg,#FFF1E2,#FBE4D0); border-top:0; }
[data-theme="dark"] .newsletter{ background:linear-gradient(135deg,#2E241D,#33261E); }
.nl-form input{ border-color:rgba(61,51,44,.14); background:#fff; }
.nl-inner h2{ font-size:1.55rem; }

/* ---------- 页头 ---------- */
.page-hero{
  background:linear-gradient(150deg,#FFF4E8,#FDE6D4 55%,#F5E9F3);
  border-bottom:0; padding:44px 0 48px;
}
[data-theme="dark"] .page-hero{ background:linear-gradient(150deg,#2A211C,#33251E 55%,#2B2430); }
.page-hero-bg{ opacity:.35; color:#D9A97E; }
.page-title{ font-size:clamp(1.9rem,3.8vw,2.9rem); }
.page-lede{ font-size:.98rem; color:var(--ink-2); }
.breadcrumb{ font-size:.72rem; }
.subnav a{ background:#fff; border-color:rgba(61,51,44,.1); }
.subnav a:hover{ border-color:#EBB994; color:#B4613C; }
.subnav a.on{ background:#4A3A2E; color:#FFF6EC; border-color:#4A3A2E; }

/* ---------- 文章 ---------- */
.article-head{ padding:40px 0 0; }
.article-title{ font-size:clamp(1.85rem,3.9vw,2.85rem); }
.article-question{ color:#B4613C; font-size:1.2rem; }
.article-meta{ border-top-color:rgba(61,51,44,.1); padding:16px 0; margin-top:14px; }
.article-hero-art{ height:120px; color:#D9A97E; }
.article-hero-art::after{ background:linear-gradient(to bottom,transparent,var(--bg) 80%); }
.article-layout{ padding:20px 0 70px; gap:52px; }
.toc ol{ border-left-color:rgba(61,51,44,.1); }
.toc li a:hover,.toc li a.on{ border-color:#D98E63; }
.article-body{ font-size:1.02rem; line-height:1.9; }
.art-sec h2{ font-size:1.38rem; }
.sec-num{ color:#B4613C; }
.article-body p.first::first-letter{ color:#C9875B; }
.art-list li::before{ border-color:#D9A97E; }
.art-quote{ background:#FFF1E2; border-left-color:#E7B48A; border-radius:0 14px 14px 0; }
.act-btn{ background:#fff; border-color:rgba(61,51,44,.1); }
.act-btn.on{ background:#FBEBDD; border-color:#E7B48A; color:#A9633C; }
.source-box{ background:#FFF8F1; border-color:rgba(61,51,44,.16); }
.pn{ background:#fff; }

/* ---------- 语录 ---------- */
.quote-card{ background:#fff; border-color:rgba(61,51,44,.07); border-radius:18px; padding:22px; }
.section-night .quote-card{ background:#fff; border-color:rgba(61,51,44,.07); }
.quote-card blockquote{ font-size:1.08rem; color:var(--ink); }
.qmark{ color:#E7B48A; }
.quote-card figcaption a{ color:#B4613C; }

/* ---------- 心情 ---------- */
.mood-tile{ background:#fff; border-color:rgba(61,51,44,.08); border-radius:16px; }
.mood-orb{ box-shadow:0 0 16px -4px var(--mc); }
.mr-prompt{ background:#FFF1E2; }
.mr-card,.side-card{ background:#fff; border-color:rgba(61,51,44,.08); }

/* ---------- 信件 ---------- */
.letter-card{ background:#fff; border-color:rgba(61,51,44,.08); box-shadow:0 10px 24px -20px rgba(150,104,72,.4); }
.letter-card::before{ background:linear-gradient(to bottom,#E7B48A,transparent); }
.letter-paper{
  background:#FFFCF6; border-color:rgba(61,51,44,.08);
  background-image:linear-gradient(transparent 96%, rgba(61,51,44,.07) 96%);
}
.letter-paper p{ color:var(--ink-2); }
.letter-personalize{ background:#FFF6EC; border-color:rgba(61,51,44,.16); }

/* ---------- 社区 ---------- */
.post-form-card,.post-item{ background:#fff; border-color:rgba(61,51,44,.08); }
.pf-row .btn{ background:#4A3A2E; }
.mini-act:hover{ color:#B4613C; }
.post-mood{ background:#FFF6EC; border-color:transparent; }

/* ---------- AI ---------- */
.ai-chat{ background:#fff; border-color:rgba(61,51,44,.08); }
.ai-sys{ background:#FFF1E2; }
.ai-bot{ background:#FFF8F1; border-color:rgba(61,51,44,.08); }
.ai-user{ background:#4A3A2E; color:#FFF6EC; }
.ai-form{ background:#fff; border-color:rgba(61,51,44,.14); }
.ai-ex{ background:#fff; border-color:rgba(61,51,44,.1); }

/* ---------- 搜索 ---------- */
.search-panel{ border-radius:20px; }
.search-overlay{ background:rgba(74,58,46,.35); }
.search-quick a{ background:#FFF1E2; }

/* ---------- 页脚 ---------- */
.site-foot{
  background:linear-gradient(180deg,#FFF3E6,#FBE7D6);
  color:var(--ink-2); padding:54px 0 22px; border-top:0;
}
[data-theme="dark"] .site-foot{ background:linear-gradient(180deg,#2A231F,#241D19); }
.foot-logo{ color:var(--ink); font-size:1.16rem; }
.foot-logo .ico{ color:#B4613C; }
.foot-brand p{ color:var(--ink-2); font-size:.83rem; }
.foot-contact a,.foot-contact span{ color:#A9633C; }
.foot-col h4{ color:#B4613C; font-size:.64rem; }
.foot-col a{ color:var(--ink-2); font-size:.83rem; padding:3px 0; }
.foot-col a:hover{ color:#B4613C; }
.foot-help p{ color:var(--muted); font-size:.76rem; }
.foot-legal a{ color:var(--muted); }
.foot-bottom{ border-top-color:rgba(61,51,44,.1); color:var(--muted); }
.icp{ color:#A9633C; border-bottom-color:rgba(169,99,60,.25); }
.foot-note{ color:var(--muted); }

/* ---------- 道德经首页 ---------- */
.jing-home{ padding-top:52px; }
.jing-home-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; }
.jh-copy h2{ font-size:clamp(1.7rem,3vw,2.35rem); line-height:1.3; margin-bottom:12px; }
.jh-copy > p{ color:var(--ink-2); font-size:.94rem; max-width:30em; }
.jh-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin:18px 0 12px; }
.jh-meta{ font-size:.72rem; letter-spacing:.08em; color:var(--muted); }
.jh-cards{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.jh-card{
  position:relative; display:flex; flex-direction:column; gap:5px; padding:18px;
  background:#fff; border:1px solid rgba(61,51,44,.07); border-radius:18px;
  box-shadow:0 10px 24px -20px rgba(150,104,72,.4); transition:.25s var(--ease);
}
.jh-card:hover{ transform:translateY(-4px) rotate(-.4deg); border-color:#F3C6A3; }
.jh-card.feature{
  grid-row:span 2; justify-content:flex-end;
  background:linear-gradient(160deg,#FFF1DF,#FBE0C9 60%,#F7D3B8);
  border:0; padding:24px;
}
.jh-no{
  font-family:var(--font-display); font-size:2rem; line-height:1; color:#C9875B; opacity:.8;
}
.jh-card.feature .jh-no{ font-size:3.2rem; }
.jh-card b{ font-family:var(--font-display); font-size:1.08rem; font-weight:500; }
.jh-card i{ font-style:normal; font-size:.76rem; color:var(--muted); line-height:1.6; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.jh-go{ margin-top:8px; font-size:.72rem; color:#B4613C; display:inline-flex; align-items:center; gap:5px; }
.jh-go .ico{ width:13px; height:13px; }

/* ---------- 道德经列表 ---------- */
.jing-hero{ position:relative; overflow:hidden; padding:42px 0 46px; background:linear-gradient(150deg,#FFF4E8,#FDE4D2 50%,#F3EAF7); }
[data-theme="dark"] .jing-hero{ background:linear-gradient(150deg,#2A211C,#33251E 50%,#2B2430); }
.jing-hero-bg .blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.55; }
.jing-hero-bg .b1{ width:340px;height:340px;left:-80px;top:-120px;background:#FFD3AF; }
.jing-hero-bg .b2{ width:300px;height:300px;right:6%;top:-90px;background:#E3D1F0; }
.jing-hero-bg .b3{ width:260px;height:260px;right:-60px;bottom:-140px;background:#FFC9C9; }
.jing-hero-inner{ position:relative; z-index:2; }
.jing-hero-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:44px; align-items:center; }
.jing-stats{ display:flex; gap:30px; margin-top:22px; flex-wrap:wrap; }
.jing-stats b{ display:block; font-family:var(--font-display); font-size:1.7rem; color:#B4613C; line-height:1; }
.jing-stats span{ font-size:.7rem; color:var(--muted); letter-spacing:.08em; }
.today-chapter{
  display:flex; flex-direction:column; gap:6px; padding:24px 26px; border-radius:22px;
  background:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.9);
  box-shadow:0 24px 50px -30px rgba(150,104,72,.5); transition:.28s var(--ease);
}
.today-chapter:hover{ transform:translateY(-4px); background:#fff; }
.tc-label{ font-size:.62rem; letter-spacing:.22em; color:#B4613C; }
.tc-no{ font-family:var(--font-display); font-size:2.6rem; line-height:1; color:#D98E63; }
.today-chapter b{ font-family:var(--font-display); font-size:1.24rem; font-weight:500; }
.today-chapter i{ font-style:normal; font-size:.8rem; color:var(--muted); line-height:1.7; }
.tc-go{ margin-top:6px; font-size:.74rem; color:#B4613C; display:inline-flex; align-items:center; gap:5px; }
.jing-index{ padding-top:34px; }
.jing-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.jing-parts{ display:flex; gap:6px; flex-wrap:wrap; }
.jing-parts a{ font-size:.8rem; padding:6px 14px; border-radius:999px; border:1px solid rgba(61,51,44,.1); background:#fff; color:var(--ink-2); }
.jing-parts a.on{ background:#FBE3CF; border-color:#F3C6A3; color:#7A4A2C; }
.jing-count{ font-size:.74rem; color:var(--muted); margin:0; }
.jing-themes{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:22px; }
.jing-themes a{ font-size:.76rem; padding:5px 12px; border-radius:999px; background:#FFF3E7; color:var(--ink-2); }
.jing-themes a span{ margin-left:5px; opacity:.55; font-size:.68rem; }
.jing-themes a.on{ background:#4A3A2E; color:#FFF6EC; }
.jing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.jing-card{
  display:flex; align-items:flex-start; gap:12px; padding:15px 16px; background:#fff;
  border:1px solid rgba(61,51,44,.07); border-radius:16px; transition:.22s var(--ease);
}
.jing-card:hover{ transform:translateY(-3px); border-color:#F3C6A3; box-shadow:0 16px 30px -24px rgba(150,104,72,.5); }
.jc-no{ font-family:var(--font-display); font-size:1.2rem; color:#D98E63; min-width:34px; line-height:1.2; }
.jc-main{ display:flex; flex-direction:column; gap:3px; flex:1; min-width:0; }
.jc-main b{ font-size:.88rem; font-weight:500; }
.jc-main i{ font-style:normal; font-size:.74rem; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.jc-tag{ font-size:.64rem; color:#A9633C; background:#FFF3E7; border-radius:999px; padding:2px 8px; white-space:nowrap; }

/* ---------- 单章 ---------- */
.chapter-head{ padding:36px 0 22px; }
.chapter-head .article-title{ margin-top:6px; }
.chapter-layout{ display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:46px; align-items:start; padding-bottom:64px; }
.chapter-main{ max-width:720px; }
.chapter-original{
  background:linear-gradient(160deg,#FFF6EA,#FDEBD9); border-radius:22px; padding:26px 28px;
  border:1px solid rgba(231,180,138,.35);
}
.block-label{ font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:#B4613C; margin:0 0 10px; }
.original-text p{
  font-family:var(--font-display); font-size:1.34rem; line-height:1.95; color:#4A371F; margin:0 0 4px;
  letter-spacing:.04em;
}
.original-source{ font-size:.68rem; color:var(--muted); margin:12px 0 0; }
.chapter-block,.chapter-deep,.chapter-en{ padding:24px 0; border-bottom:1px solid rgba(61,51,44,.08); }
.plain-text{ font-size:1rem; color:var(--ink-2); line-height:1.9; }
.chapter-deep p{ font-size:1.01rem; line-height:1.95; color:var(--ink-2); }
.chapter-practice{
  display:flex; gap:14px; align-items:flex-start; margin:22px 0; padding:20px 22px;
  background:#EAF4EE; border-radius:18px;
}
[data-theme="dark"] .chapter-practice{ background:#233029; }
.cp-icon{ color:#5C8A72; flex-shrink:0; }
.cp-label{ font-size:.66rem; letter-spacing:.18em; color:#5C8A72; margin:0 0 4px; }
.chapter-practice p{ margin:0; font-size:.95rem; color:var(--ink-2); }
.en-text p{ font-size:.92rem; line-height:1.9; color:var(--ink-2); margin-bottom:.8em; }
.chapter-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:24px 0; }
.chapter-pager{ display:flex; justify-content:space-between; gap:14px; margin-top:10px; }
.chapter-pager a{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; border:1px solid rgba(61,51,44,.1); border-radius:14px; background:#fff; max-width:47%; }
.chapter-pager a:hover{ border-color:#E7B48A; }
.chapter-pager a.right{ text-align:right; margin-left:auto; }
.chapter-pager i{ font-style:normal; font-size:.66rem; letter-spacing:.14em; color:#B4613C; }
.chapter-pager b{ font-size:.88rem; font-weight:500; }
.chapter-side{ position:sticky; top:86px; display:flex; flex-direction:column; gap:14px; }
.chapter-side .side-card{ padding:18px; }
.chapter-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:5px; }
.chapter-grid a{ display:grid; place-items:center; aspect-ratio:1; border-radius:8px; font-size:.72rem; color:var(--ink-2); background:#FFF6EC; }
.chapter-grid a:hover{ background:#FBE3CF; color:#7A4A2C; }
.chapter-grid a.on{ background:#4A3A2E; color:#FFF6EC; }
.side-theme{ font-family:var(--font-display); font-size:1.2rem; margin:4px 0 6px; }
.side-link{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid rgba(61,51,44,.08); font-size:.8rem; }
.side-link:last-child{ border:0; }
.side-link b{ font-weight:400; }
.side-link .ico{ width:13px; height:13px; color:#D98E63; }

/* ---------- 每日一章 ---------- */
.d-chapter-inner{ display:flex; gap:16px; align-items:flex-start; margin-top:6px; }
.d-chapter-no{ font-family:var(--font-display); font-size:2.4rem; line-height:1; color:#D98E63; }
.d-chapter h3{ margin:0 0 6px; }

/* ---------- 动效 ---------- */
@keyframes floaty{ 0%,100%{ transform:translateY(0) rotate(-1deg); } 50%{ transform:translateY(-12px) rotate(1deg); } }
@keyframes drift{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(16px); } }
@keyframes twinkle{ 0%,100%{ opacity:.35; transform:scale(.8); } 50%{ opacity:1; transform:scale(1.25); } }
@keyframes rise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
html.js-reveal .reveal{ opacity:0; }
html.js-reveal .reveal.in{ animation:rise .6s var(--ease) forwards; }
html.js-reveal .reveal.d1.in{ animation-delay:.06s; }
html.js-reveal .reveal.d2.in{ animation-delay:.12s; }
html.js-reveal .reveal.d3.in{ animation-delay:.18s; }

/* ---------- 暗色细节 ---------- */
[data-theme="dark"] .card,
[data-theme="dark"] .thinker-card,
[data-theme="dark"] .jing-card,
[data-theme="dark"] .jh-card,
[data-theme="dark"] .today-chapter,
[data-theme="dark"] .post-item,
[data-theme="dark"] .post-form-card,
[data-theme="dark"] .quote-card,
[data-theme="dark"] .chapter-pager a,
[data-theme="dark"] .ai-chat,
[data-theme="dark"] .letter-card,
[data-theme="dark"] .mood-tile,
[data-theme="dark"] .mr-card,
[data-theme="dark"] .side-card{ background:var(--surface); }
[data-theme="dark"] .chapter-grid a{ background:#33291F; }
[data-theme="dark"] .jing-themes a{ background:#33291F; }
[data-theme="dark"] .jing-parts a{ background:var(--surface); }
[data-theme="dark"] .subnav a{ background:var(--surface); }
[data-theme="dark"] .art-glyph{ background:rgba(0,0,0,.25); color:#F7EDE1; border-color:rgba(255,255,255,.3); }
[data-theme="dark"] .book-cover{ color:#3D2C1B; }

/* ---------- 响应式 ---------- */
@media (max-width:1120px){
  .jing-grid{ grid-template-columns:repeat(2,1fr); }
  .chapter-grid{ grid-template-columns:repeat(5,1fr); }
}
@media (max-width:900px){
  .section{ padding:46px 0; }
  .hero{ padding:40px 0 52px; }
  .moon-art{ width:140px; right:-24px; bottom:10px; top:auto; opacity:.75; }
  .hero-stats{ gap:24px; max-width:none; }
  .jing-home-grid,.jing-hero-grid{ grid-template-columns:1fr; gap:26px; }
  .jh-cards{ grid-template-columns:1fr 1fr; }
  .jh-card.feature{ grid-row:auto; }
  .chapter-layout{ grid-template-columns:1fr; gap:26px; }
  .chapter-side{ position:static; }
  .chapter-grid{ grid-template-columns:repeat(9,1fr); }
  .original-text p{ font-size:1.18rem; }
}
@media (max-width:620px){
  .wrap{ width:calc(100% - 32px); }
  .jing-grid{ grid-template-columns:1fr; }
  .jh-cards{ grid-template-columns:1fr; }
  .jing-stats{ gap:18px; }
  .jing-stats b{ font-size:1.35rem; }
  .chapter-layout{ padding-bottom:40px; }
  .chapter-grid{ grid-template-columns:repeat(6,1fr); }
  .chapter-pager{ flex-direction:column; }
  .chapter-pager a{ max-width:100%; }
  .chapter-pager a.right{ margin-left:0; text-align:left; }
  .article-actions .act-btn{ font-size:.78rem; }
  .hero-title{ font-size:2.15rem; }
  .moon-art{ width:112px; opacity:.6; }
}

@media (prefers-reduced-motion: reduce){
  .moon-art,.cloud,.spark{ animation:none !important; }
  html.js-reveal .reveal{ opacity:1 !important; }
}
