/* =================================================================
   趣节童·Rococo Pet Salon Stylesheet
   主题：洛可可粉彩 / 玫瑰金 / 卷草纹 / 镜框装饰
   设计师手稿：nocturnal dream with pastel sugar
==================================================================== */

/* 字体使用本地衬线字体栈（Noto Serif SC → Songti SC → serif），零外联 */

/* ---------------- 色彩 ---------------- */
:root {
  --cream:       #fdf6ec;   /* 米黄底色 */
  --cream-deep:  #f5e9d4;   /* 深米 */
  --rose:        #f7d6db;   /* 玫瑰粉 */
  --rose-soft:   #fbe4e7;
  --rose-deep:   #e6a8b3;   /* 粉紫 */
  --rose-blush:  #fff0f3;
  --gold:        #c9a878;   /* 玫瑰金 */
  --gold-deep:   #9a7a4a;   /* 古铜金 */
  --gold-light:  #e7d4ac;
  --sky:         #cfe1ec;   /* 淡天蓝 */
  --sky-soft:    #e6f0f5;
  --lilac:       #d8c8e0;   /* 丁香紫 */
  --ink:         #5b4a3e;   /* 主文字 暖灰 */
  --ink-soft:    #8a7868;
  --ink-line:    #b29c84;
  --leaf:        #a5b894;   /* 树叶绿 */
  --cherry:      #c45a6e;   /* 樱红 */

  --shadow-soft: 0 4px 18px -8px rgba(154,122,74,0.35);
  --shadow-rose: 0 6px 22px -10px rgba(230,168,179,0.55);
}

/* ---------------- 全局 ---------------- */
* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Noto Serif SC', 'Cormorant Garamond', 'Songti SC', serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  min-height: 100%;
}

/* 整页淡纹理（仿旧纸 / 大马士革） */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(247,214,219,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 12%, rgba(207,225,236,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(216,200,224,0.40) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(231,212,172,0.45) 0%, transparent 55%);
  background-attachment: fixed;
}
/* 仿大理石 / 旧纸噪点 */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 4px, rgba(154,122,74,0.025) 4px, transparent 5px),
    repeating-linear-gradient(45deg, transparent 0 6px, rgba(154,122,74,0.018) 6px 7px);
  mix-blend-mode: multiply;
}

a { color: var(--cherry); text-decoration: none; transition: all .3s; }
a:hover { color: var(--gold-deep); }

/* ---------------- 卷草花纹 SVG 装饰 ----------------
   通过 ::before/::after 在容器周围画出可重复的卷草纹。*/

.rococo-frame {
  position: relative;
  background:
    radial-gradient(ellipse at center, var(--cream) 0%, var(--cream-deep) 100%);
  border: 1px solid var(--gold-light);
  padding: 38px 32px;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(201,168,120,0.15), inset 0 0 30px rgba(247,214,219,0.18);
}
.rococo-frame::before,
.rococo-frame::after {
  content: "";
  position: absolute; left: 14px; right: 14px;
  height: 12px;
  background-image:
    radial-gradient(circle at 8px 6px, var(--gold) 1.6px, transparent 2.2px),
    radial-gradient(circle at 24px 6px, var(--rose-deep) 1.6px, transparent 2.2px),
    radial-gradient(circle at 40px 6px, var(--gold) 1.6px, transparent 2.2px);
  background-size: 48px 12px;
  background-repeat: repeat-x;
  opacity: .8;
}
.rococo-frame::before { top: 8px; }
.rococo-frame::after  { bottom: 8px; transform: scaleY(-1); }

/* ---------------- 页头 / Logo ---------------- */
.masthead {
  position: relative;
  text-align: center;
  padding: 56px 20px 30px;
}
.masthead::before, .masthead::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 360px; max-width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.masthead::before { top: 24px; }
.masthead::after  { bottom: 12px; }

.brandmark {
  display: inline-block;
  position: relative;
  padding: 8px 60px;
}
.brandmark .orn-l, .brandmark .orn-r {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 26px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .9;
}
.brandmark .orn-l { left: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26'><path d='M2 13 Q12 4 25 13 T48 13' stroke='%23c9a878' stroke-width='1.2' fill='none'/><circle cx='25' cy='13' r='2.4' fill='%23e6a8b3'/><circle cx='48' cy='13' r='1.6' fill='%23c9a878'/></svg>"); }
.brandmark .orn-r { right: 0; transform: translateY(-50%) scaleX(-1); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26'><path d='M2 13 Q12 4 25 13 T48 13' stroke='%23c9a878' stroke-width='1.2' fill='none'/><circle cx='25' cy='13' r='2.4' fill='%23e6a8b3'/><circle cx='48' cy='13' r='1.6' fill='%23c9a878'/></svg>"); }

.brand-cn {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 56px;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin: 0;
  background: linear-gradient(180deg, #5b4a3e 0%, #8a6a4a 50%, #c9a878 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.brand-en {
  display: block;
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: 30px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-top: 4px;
}
.brand-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  background: linear-gradient(90deg, var(--rose-soft), var(--sky-soft), var(--rose-soft));
}

/* ---------------- 顶部导航 ---------------- */
.nav-rococo {
  position: relative;
  margin: 16px auto 24px;
  padding: 14px 18px;
  max-width: 1180px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
  font-family: 'Noto Serif SC', serif;
}
.nav-rococo::before, .nav-rococo::after {
  content: "❀";
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
  font-size: 18px;
}
.nav-rococo::before { left: 14px; }
.nav-rococo::after  { right: 14px; }
.nav-rococo a {
  display: inline-block;
  margin: 4px 6px;
  padding: 4px 14px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink);
  position: relative;
}
.nav-rococo a::before {
  content: "·";
  margin-right: 14px;
  color: var(--gold);
}
.nav-rococo a:first-child::before { content: ""; margin: 0; }
.nav-rococo a:hover {
  color: var(--cherry);
  background: linear-gradient(90deg, transparent, var(--rose-soft), transparent);
}

/* ---------------- 大容器 ---------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ---------------- 栏目卡片网格 ---------------- */
.cols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 36px 0;
}
.col-card {
  position: relative;
  display: block;
  padding: 28px 18px 22px;
  background:
    radial-gradient(ellipse at top, #fff 0%, var(--cream) 70%);
  border: 1px solid var(--gold-light);
  border-radius: 6px;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.col-card::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1px dashed rgba(201,168,120,0.55);
  border-radius: 4px;
  pointer-events: none;
}
.col-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-rose);
  color: var(--cherry);
}
.col-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 14px;
  letter-spacing: 0.3em;
}
.col-card .title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2em;
  margin: 8px 0 6px;
  color: var(--ink);
}
.col-card .sub-en {
  font-family: 'Great Vibes', cursive;
  font-size: 18px;
  color: var(--rose-deep);
  margin-bottom: 10px;
}
.col-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  letter-spacing: 0.05em;
}
.col-card .corner {
  position: absolute;
  width: 30px; height: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path d='M2 2 Q14 2 14 14 M2 2 Q2 14 14 14 M2 2 L18 2 M2 2 L2 18' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='2' cy='2' r='1.6' fill='%23e6a8b3'/></svg>");
  background-repeat: no-repeat;
}
.col-card .corner.tl { top: 8px; left: 8px; }
.col-card .corner.tr { top: 8px; right: 8px; transform: scaleX(-1); }
.col-card .corner.bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.col-card .corner.br { bottom: 8px; right: 8px; transform: scale(-1,-1); }

/* ---------------- 文章列表 ---------------- */
.section-head {
  text-align: center;
  margin: 60px auto 26px;
  position: relative;
}
.section-head .line {
  display: inline-block;
  padding: 0 28px;
  position: relative;
}
.section-head .line::before, .section-head .line::after {
  content: "";
  position: absolute; top: 50%;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head .line::before { right: 100%; }
.section-head .line::after  { left: 100%; }
.section-head h2 {
  display: inline-block;
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.36em;
  color: var(--ink);
}
.section-head .en {
  display: block;
  font-family: 'Great Vibes', cursive;
  color: var(--gold-deep);
  font-size: 22px;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.article-list {
  list-style: none;
  padding: 0; margin: 0 0 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.article-list li {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
  border: 1px solid var(--gold-light);
  border-left: 4px double var(--gold);
  padding: 14px 18px;
  position: relative;
  transition: all .3s;
}
.article-list li:hover {
  background: linear-gradient(180deg, var(--rose-blush), var(--cream));
  border-left-color: var(--rose-deep);
  transform: translateX(4px);
}
.article-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}
.article-list a:hover { color: var(--cherry); }
.article-list .dot {
  color: var(--rose-deep);
  font-size: 14px;
}
.article-list .ttl {
  font-size: 15px;
  letter-spacing: 0.08em;
  flex: 1;
}
.article-list .meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------------- 文章正文 ---------------- */
.article {
  background:
    radial-gradient(ellipse at top, #fff 0%, var(--cream) 80%);
  border: 1px solid var(--gold-light);
  padding: 56px 64px;
  margin: 30px auto;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.article::before, .article::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 80%; height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22'><path d='M0 11 Q40 0 80 11 T160 11 T240 11' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='40' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='120' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='200' cy='11' r='1.4' fill='%23e6a8b3'/></svg>");
  background-size: 200px 100%;
  background-repeat: repeat-x;
}
.article::before { top: 14px; }
.article::after  { bottom: 14px; transform: translateX(-50%) scaleY(-1); }

.article h1 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 14px auto 8px;
  position: relative;
  padding: 0 30px;
}
.article h1::before, .article h1::after {
  content: "❦";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
  font-size: 22px;
}
.article h1::before { left: 0; }
.article h1::after  { right: 0; }

.article .article-meta {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 30px;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.article .article-meta span { margin: 0 12px; }

.article p {
  font-size: 16px;
  line-height: 2.0;
  text-indent: 2em;
  margin: 0 0 1.2em;
  letter-spacing: 0.04em;
}

.article h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 21px;
  margin: 36px 0 14px;
  padding: 8px 16px 8px 30px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--rose-soft), transparent);
  border-left: 4px solid var(--rose-deep);
  position: relative;
}
.article h2::before {
  content: "❧";
  position: absolute; left: 10px; top: 8px;
  color: var(--rose-deep);
  font-size: 18px;
}

.article blockquote {
  margin: 28px 0;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--rose-blush), var(--sky-soft));
  border-left: 4px double var(--rose-deep);
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  border-radius: 0 8px 8px 0;
  position: relative;
}
.article blockquote::before {
  content: "\201C";
  position: absolute; top: -10px; left: 14px;
  font-family: 'Great Vibes', cursive;
  font-size: 60px;
  color: var(--rose-deep);
  line-height: 1;
}

.article ul.fancy {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.article ul.fancy li {
  padding: 6px 0 6px 26px;
  position: relative;
  line-height: 1.9;
}
.article ul.fancy li::before {
  content: "✿";
  position: absolute; left: 0; top: 6px;
  color: var(--rose-deep);
  font-size: 14px;
}

.article .pull-quote {
  text-align: center;
  margin: 40px 0;
  padding: 30px 20px;
  background: linear-gradient(180deg, transparent, var(--rose-blush), transparent);
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: 26px;
  color: var(--cherry);
  letter-spacing: 0.06em;
  position: relative;
}
.article .pull-quote::before, .article .pull-quote::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.article .pull-quote::before { top: 8px; }
.article .pull-quote::after  { bottom: 8px; }

.article .back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 6px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 14px;
  color: var(--gold-deep);
  background: linear-gradient(90deg, var(--rose-soft), var(--sky-soft));
  letter-spacing: 0.16em;
}
.article .back-link:hover {
  background: var(--rose-deep);
  color: #fff;
  border-color: var(--rose-deep);
}

/* ---------------- 分页 ---------------- */
.pager {
  display: flex; justify-content: center; gap: 8px;
  margin: 30px auto 50px;
  flex-wrap: wrap;
}
.pager a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gold-light);
  background: linear-gradient(180deg, #fff, var(--cream));
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  border-radius: 2px;
}
.pager a:hover, .pager a.cur {
  background: var(--rose-deep);
  color: #fff;
  border-color: var(--rose-deep);
}

/* ---------------- 页脚 ---------------- */
.foot-rococo {
  position: relative;
  text-align: center;
  padding: 50px 20px 40px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, var(--rose-soft));
  border-top: 1px solid var(--gold);
}
.foot-rococo::before {
  content: "";
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 20px;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'><path d='M0 14 Q15 0 30 14 T60 14' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='30' cy='14' r='2' fill='%23e6a8b3'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.foot-rococo .links a {
  margin: 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.foot-rococo .copyright {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  font-family: 'Cormorant Garamond', serif;
}
.foot-rococo .copyright a { color: var(--ink-soft); }
.foot-rococo .copyright a:hover { color: var(--cherry); }

/* ---------------- 杂项 ---------------- */
.divider-orn {
  text-align: center;
  margin: 40px 0;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.6em;
}
.divider-orn::before { content: "✦ ❀ ✦ ❀ ✦"; }

.notice-banner {
  background: linear-gradient(135deg, var(--rose-blush), var(--sky-soft), var(--rose-blush));
  border: 1px solid var(--rose-deep);
  border-radius: 4px;
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  margin: 24px 0;
  position: relative;
}
.notice-banner::before {
  content: "❀";
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
}
.notice-banner::after {
  content: "❀";
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
}

/* ---------------- Logo 区域 ---------------- */
.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.logo-svg {
  width: 88px; height: 88px;
  filter: drop-shadow(0 4px 8px rgba(201,168,120,0.35));
}

/* ---------------- 介绍板块 ---------------- */
.intro-card {
  position: relative;
  padding: 36px 40px;
  margin: 28px auto;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  max-width: 920px;
  text-align: center;
}
.intro-card::before, .intro-card::after {
  content: "❦";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
  font-size: 26px;
}
.intro-card::before { left: 12px; }
.intro-card::after  { right: 12px; }
.intro-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--ink);
  margin: 0 0 12px;
}
.intro-card p {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin: 6px 0;
}
.intro-card .lead {
  font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cherry);
  letter-spacing: 0.06em;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 720px) {
  .brand-cn { font-size: 38px; letter-spacing: 0.14em; }
  .brand-en { font-size: 22px; }
  .article { padding: 36px 20px; }
  .article h1 { font-size: 22px; padding: 0 18px; }
  .nav-rococo a { font-size: 13px; padding: 4px 8px; margin: 4px 2px; }
  .section-head h2 { font-size: 22px; letter-spacing: 0.2em; }
  .intro-card { padding: 24px 18px; }
  .intro-card::before, .intro-card::after { display: none; }
}

/* =================================================================
   子页面模板（频道列表页 / 文章页）
==================================================================== */

/* ---------------- 页头 ---------------- */
.site-header {
  position: relative;
  padding: 34px 20px 0;
  text-align: center;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .3s ease;
}
.site-header .brand:hover { opacity: .8; }
.site-header .brand:hover .brand-name { color: var(--cherry); }
.site-header .logo {
  width: 64px; height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(201,168,120,0.35));
}
.site-header .brand-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: var(--ink);
}
/* 页头内的导航：通栏居中 */
.site-header .nav-rococo {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------------- 缎带分隔 ---------------- */
.ribbon {
  height: 10px;
  margin-top: 18px;
  background:
    repeating-linear-gradient(90deg,
      var(--rose) 0 26px, var(--gold-light) 26px 30px,
      var(--sky-soft) 30px 56px, var(--gold-light) 56px 60px);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  opacity: .85;
}

/* ---------------- 主容器 ---------------- */
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 20px;
}
/* 文章页：正文 + 侧栏 双栏 */
.page-main:has(.side-list) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.page-main:has(.side-list) .page-intro { grid-column: 1 / -1; }
.page-main:has(.side-list) .article-body { grid-column: 1; }
.page-main:has(.side-list) .side-list { grid-column: 2; }

/* ---------------- 页面题头 ---------------- */
.page-intro {
  text-align: center;
  padding: 18px 20px 6px;
  margin-bottom: 8px;
}
.page-intro .crumbs {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.page-intro .crumbs a {
  color: var(--gold-deep);
  border-bottom: 1px dotted var(--gold);
}
.page-intro .page-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
  padding: 0 44px;
}
.page-intro .page-title::before, .page-intro .page-title::after {
  content: "❦";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: var(--rose-deep);
  font-size: 20px;
}
.page-intro .page-title::before { left: 0; }
.page-intro .page-title::after  { right: 0; }
.page-intro .page-sub {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}
/* 镜框装饰分隔线 */
.mirror-frame {
  width: 320px; max-width: 80%;
  height: 22px;
  margin: 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22'><path d='M0 11 Q40 0 80 11 T160 11 T240 11' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='40' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='120' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='200' cy='11' r='1.4' fill='%23e6a8b3'/></svg>");
  background-size: 200px 100%;
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------------- 文章列表页：卡片网格 ---------------- */
.article-grid { margin: 10px auto 30px; }
.rococo-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.list-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,244,246,0.5));
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}
.list-card::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1px dashed rgba(201,168,120,0.45);
  border-radius: 3px;
  pointer-events: none;
}
.list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-rose);
}
.card-link {
  display: block;
  padding: 22px 24px;
  color: var(--ink);
}
.card-no {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.card-title {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--ink);
}
.card-link:hover .card-title { color: var(--cherry); }
.card-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ---------------- 文章页：正文 ---------------- */
.rococo-article {
  position: relative;
  background: radial-gradient(ellipse at top, #fff 0%, var(--cream) 80%);
  border: 1px solid var(--gold-light);
  box-shadow: var(--shadow-soft);
  padding: 52px 58px;
}
.rococo-article::before, .rococo-article::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 80%; height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22'><path d='M0 11 Q40 0 80 11 T160 11 T240 11' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='40' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='120' cy='11' r='1.4' fill='%23e6a8b3'/><circle cx='200' cy='11' r='1.4' fill='%23e6a8b3'/></svg>");
  background-size: 200px 100%;
  background-repeat: repeat-x;
}
.rococo-article::before { top: 12px; }
.rococo-article::after  { bottom: 12px; transform: translateX(-50%) scaleY(-1); }
.rococo-article p {
  font-size: 16px;
  line-height: 2.0;
  text-indent: 2em;
  margin: 0 0 1.2em;
  letter-spacing: 0.04em;
}

/* ---------------- 上一篇 / 返回 / 下一篇 ---------------- */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 22px 0 10px;
  flex-wrap: wrap;
}
.article-nav a {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  background: linear-gradient(90deg, var(--rose-soft), var(--sky-soft));
  transition: all .3s;
}
.article-nav a:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}
.article-nav .nav-back { margin: 0 auto; }

/* ---------------- 侧栏：本栏目其它篇章 ---------------- */
.side-list {
  position: sticky;
  top: 20px;
  background:
    radial-gradient(ellipse at top, #fff 0%, var(--cream) 70%);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  padding: 20px 16px;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.side-list h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-light);
}
.side-list ul { list-style: none; margin: 0; padding: 0; }
.side-link {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
  border-radius: 2px;
  transition: all .25s;
}
.side-link:hover {
  color: var(--cherry);
  background: var(--rose-blush);
  border-left-color: var(--gold);
}
.side-link.active {
  color: var(--cherry);
  background: linear-gradient(90deg, var(--rose-soft), transparent);
  border-left-color: var(--rose-deep);
  font-weight: 600;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative;
  margin-top: 50px;
  padding: 40px 20px 34px;
  text-align: center;
  background: linear-gradient(180deg, transparent, var(--rose-soft));
  border-top: 1px solid var(--gold);
}
.footer-curve {
  width: 60px; height: 20px;
  margin: -50px auto 24px;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'><path d='M0 14 Q15 0 30 14 T60 14' stroke='%23c9a878' stroke-width='1' fill='none'/><circle cx='30' cy='14' r='2' fill='%23e6a8b3'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.site-footer .icp {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.site-footer .icp a { color: var(--ink-soft); }
.site-footer .motto {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin: 0;
}

/* ---------------- 子页面响应式 ---------------- */
@media (max-width: 980px) {
  .page-main:has(.side-list) { grid-template-columns: 1fr; }
  .page-main:has(.side-list) .side-list {
    grid-column: 1;
    position: static;
    max-height: none;
  }
}
@media (max-width: 720px) {
  .rococo-article { padding: 34px 20px; }
  .page-intro .page-title { font-size: 24px; padding: 0 30px; }
  .site-header .logo { width: 52px; height: 52px; }
}