/* ============================================================
   联不韵味 · 官网主页样式
   国风：宣纸米色底 / 墨色主文 / 朱红点缀 / 金色高光 / 楷体衬线字体栈
   颜色取自 assets/palette.md（与 logo / 小程序 / 后台保持一致）
   动效遵循 prefers-reduced-motion 降级
   ============================================================ */

:root {
  --paper: #f7efe1;            /* 宣纸米色底（与 logo 一致） */
  --paper-deep: #efe6d1;       /* 宣纸深一点 */
  --card-bg: rgba(255, 252, 244, .62);
  --ink: #2f2720;              /* 墨色主文字（暖墨） */
  --ink-soft: #6d6152;
  --ink-faint: #a49a88;
  --line: rgba(47, 39, 32, .16);

  /* 朱红系列 */
  --zhu: #c8281c;              /* 朱红主色（取自 logo） */
  --zhu-deep: #a5231b;         /* 朱红深色 */
  --zhu-soft: rgba(200, 40, 28, .10);

  /* 金色系列（之前缺失，本次补齐） */
  --gold: #c9a35a;             /* 金主色 */
  --gold-deep: #b98d3e;        /* 金深色 */
  --gold-light: #e8c97a;       /* 金亮（hover / 激活） */
  --gold-soft: rgba(201, 163, 90, .18);
  --gold-text: #8a622f;        /* 金底色上的深色文字 */

  --serif: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.75;
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(200, 40, 28, .055), transparent 60%),
    radial-gradient(880px 520px at -8% 18%, rgba(60, 50, 30, .07), transparent 55%),
    radial-gradient(720px 720px at 50% 112%, rgba(60, 50, 30, .05), transparent 62%),
    /* 新增：右上金色光晕，强化 logo 红金调性 */
    radial-gradient(900px 520px at 110% 28%, rgba(201, 163, 90, .12), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(168, 60, 40, .85); color: var(--paper); }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--zhu); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { scroll-margin-top: 78px; }

.section { padding: 88px 0; }

/* ---------- 区块标题 ---------- */
.section-head { text-align: center; margin-bottom: 44px; }

.section-eyebrow {
  color: var(--zhu);
  font-size: .85rem;
  letter-spacing: .38em;
  text-indent: .38em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .14em;
}

.section-sub {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 226, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 1.05rem;
  color: var(--paper);
  background: var(--zhu);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px rgba(246, 240, 226, .55);
  transform: rotate(-4deg);
  animation: sealIn .9s var(--ease) both;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: .98rem;
  letter-spacing: .14em;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  position: relative;
  transition: color .3s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--zhu);
  transition: width .3s var(--ease), left .3s var(--ease);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; left: 0; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8em 1.9em;
  font-family: var(--serif);
  font-size: 1.04rem;
  letter-spacing: .16em;
  border: 1px solid var(--ink);
  text-decoration: none;
  border-radius: 3px;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .35s, color .35s, background-color .35s;
}

.btn::before { /* 墨晕：hover 时从中心扩散 */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: .4;
  transition: transform .55s var(--ease);
  pointer-events: none;
}

.btn:hover::before { transform: translate(-50%, -50%) scale(24); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--zhu) 0%, var(--zhu-deep) 70%, var(--gold-deep) 100%);
  color: var(--paper);
  border-color: var(--zhu-deep);
  box-shadow: 0 6px 18px rgba(200, 40, 28, .25);
}
.btn-primary::before { background: radial-gradient(circle, rgba(247, 239, 225, .95), rgba(247, 239, 225, 0) 70%); }
.btn-primary:hover { border-color: var(--gold-deep); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost::before { background: radial-gradient(circle, rgba(201, 163, 90, .85), rgba(201, 163, 90, 0) 70%); }
.btn-ghost:hover { color: var(--paper); border-color: var(--gold-deep); background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 112px;
}

/* 浮动的墨点 */
.mote {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
  opacity: .5;
}

.mote-1 {
  width: 240px; height: 240px;
  top: 10%; left: 6%;
  background: radial-gradient(circle, rgba(70, 60, 40, .30), transparent 70%);
  animation: drift 17s ease-in-out infinite alternate;
}

.mote-2 {
  width: 190px; height: 190px;
  top: 58%; right: 9%;
  background: radial-gradient(circle, rgba(70, 60, 40, .24), transparent 70%);
  animation: drift 21s ease-in-out infinite alternate-reverse;
}

.mote-3 {
  width: 120px; height: 120px;
  bottom: 12%; left: 22%;
  background: radial-gradient(circle, rgba(168, 60, 40, .14), transparent 70%);
  animation: drift 15s ease-in-out infinite alternate;
}

/* 新增：金色浮动墨点（与 logo 金调呼应） */
.mote-4 {
  width: 160px; height: 160px;
  top: 22%; right: 28%;
  background: radial-gradient(circle, rgba(201, 163, 90, .28), transparent 70%);
  animation: drift 19s ease-in-out infinite alternate;
}

/* 装饰对联 */
.couplet {
  position: absolute;
  top: 118px;
  bottom: 44px;
  display: flex;
  align-items: center;
  writing-mode: vertical-rl;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: .42em;
  color: rgba(47, 39, 32, .42);
  border: 1px solid var(--line);
  padding: 20px 13px;
  background: rgba(255, 252, 244, .34);
  opacity: 0;
  animation: coupletIn 1.3s .8s var(--ease) forwards;
}

.couplet-right { right: clamp(14px, 3.6vw, 52px); }
.couplet-left { left: clamp(14px, 3.6vw, 52px); }
/* 上联在右、下联在左 */

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 8px;
}

.hero-eyebrow {
  color: var(--zhu);
  font-size: clamp(.82rem, 1.6vw, .95rem);
  letter-spacing: .34em;
  text-indent: .34em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.12;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .05em;
  color: var(--zhu);
  text-shadow:
    0 0 22px rgba(201, 163, 90, .35),
    0 2px 0 rgba(165, 35, 27, .15);
}

.hero-title .ch {
  display: inline-block;
  margin: 0 .055em;
  opacity: 1;
}

.hero-title-text {
  color: var(--zhu);
}

.hero-title-glyph {
  /* PNG 已是裁切后的字形画布，字底 = 图片底边，height 即可控制视觉高度 */
  height: 0.92em;
  width: auto;
  vertical-align: baseline;
  margin: 0 .04em;
  /* 整张图相对父级 .hero-title 容器下沉，让「韵」字字底与「味」底部齐平 */
  position: relative;
  top: 0.18em;
  /* 中心缩放 1.15 倍：以底部中心为原点，底部位置不变，向上方扩展 */
  transform: scale(1.15);
  transform-origin: center bottom;
  filter:
    drop-shadow(0 0 14px rgba(201, 163, 90, .55))
    drop-shadow(0 0 4px rgba(200, 40, 28, .35));
  opacity: 0;
  animation: charUp .75s var(--ease) .3s forwards;
}

.hero-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1em;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  letter-spacing: .5em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.hero-slogan::before,
.hero-slogan::after {
  content: "";
  width: 58px;
  height: 1px;
  flex: none;
}

.hero-slogan::before { background: linear-gradient(90deg, transparent, var(--ink-faint)); }
.hero-slogan::after { background: linear-gradient(270deg, transparent, var(--ink-faint)); }

.hero-desc {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-note {
  font-size: .88rem;
  letter-spacing: .18em;
  color: var(--ink-faint);
}

/* 印章：朱红+金渐变，与 logo 一致 */
.hero-seal {
  position: absolute;
  right: 2%;
  bottom: 6%;
  color: var(--paper);
  border: 2px solid var(--gold-deep);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 1.15rem;
  letter-spacing: .34em;
  text-indent: .34em;
  background: linear-gradient(135deg, var(--zhu) 0%, var(--zhu-deep) 60%, var(--gold-deep) 100%);
  box-shadow: 0 4px 18px rgba(200, 40, 28, .25), inset 0 0 0 1px rgba(247, 239, 225, .35);
  transform: rotate(-8deg);
  opacity: .95;
  pointer-events: none;
}

/* Hero 入场（非字符元素，纯 CSS 淡入上移） */
.hero-in {
  opacity: 0;
  animation: heroUp .9s var(--ease) forwards;
}
.hero-eyebrow { animation-delay: .15s; }
.hero-slogan { animation-delay: .55s; }
.hero-desc { animation-delay: .75s; }
.hero-actions { animation-delay: .95s; }
.hero-note { animation-delay: 1.15s; }

/* ---------- 产品价值卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--zhu);
  border-radius: 6px;
  padding: 30px 24px 26px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(80, 60, 30, .12);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--paper);
  background: linear-gradient(135deg, var(--zhu) 0%, var(--zhu-deep) 70%, var(--gold-deep) 100%);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(247, 239, 225, .5), 0 4px 12px rgba(200, 40, 28, .18);
}

.feature-card h3 {
  font-size: 1.22rem;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: .95rem;
  color: var(--ink-soft);
  text-align: justify;
}

/* ---------- 评分案例（演示） ---------- */
.cases { background: rgba(47, 39, 32, .035); }

.cases-grid {
  max-width: 760px;
  overflow: hidden;
  margin: 0 auto;
  padding: 4px;
}

.cases-track {
  display: flex;
  transition: transform .55s var(--ease);
  will-change: transform;
}

.case-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--zhu);
  border-radius: 6px;
  padding: 34px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.cases-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.case-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--zhu);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.case-dot:hover,
.case-dot:focus-visible {
  transform: scale(2.0);
  outline: none;
  box-shadow: 0 0 0 4px rgba(168, 60, 40, .12);
}

.case-dot.is-active {
  background: var(--zhu);
  transform: scale(1.25);
}

.case-type {
  margin: 0 0 18px;
  text-align: center;
  color: var(--zhu);
  font-size: .82rem;
  letter-spacing: .16em;
}

.case-couplet--multi .case-line {
  font-size: 1.08rem;
  line-height: 1.85;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(80, 60, 30, .12);
}

.case-couplet {
  text-align: center;
  margin-bottom: 22px;
}

.case-line {
  display: block;
  font-size: 1.3rem;
  letter-spacing: .2em;
  color: var(--ink);
  line-height: 2.1;
}

.case-line b {
  display: inline-block;
  margin-right: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--zhu);
  border: 1px solid var(--zhu);
  border-radius: 3px;
  padding: 0 8px;
  vertical-align: .14em;
}

.case-total {
  text-align: center;
  font-size: .95rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.case-total b {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--zhu);
  letter-spacing: .06em;
  margin-right: 2px;
}

.case-dims {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.case-dim {
  display: grid;
  grid-template-columns: 52px 1fr 54px;
  align-items: center;
  gap: 12px;
}

.dim-label {
  font-size: .92rem;
  color: var(--ink-soft);
  letter-spacing: .1em;
}

.dim-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.dim-bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 40%, var(--zhu) 100%);
  box-shadow: 0 0 8px rgba(201, 163, 90, .35);
}

.dim-score {
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.case-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.case-note em {
  font-style: normal;
  color: var(--zhu);
  font-size: .8rem;
  letter-spacing: .12em;
  border: 1px solid var(--zhu);
  border-radius: 3px;
  padding: 0 7px;
  margin-right: 8px;
}

/* ---------- AI 使用说明 ---------- */
.ai-note { background: rgba(47, 39, 32, .035); }

.ai-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--zhu);
  border-radius: 6px;
  padding: 34px 36px;
}

.ai-phrase {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 22px;
  color: var(--ink);
}

.ai-phrase em {
  font-style: normal;
  color: var(--zhu);
  padding: 0 6px;
  border: 1px solid var(--zhu);
  border-radius: 3px;
  margin: 0 2px;
  font-size: .85em;
}

.ai-points,
.ai-points-compact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ai-points-compact {
  font-size: .92rem;
  color: var(--ink-soft);
  text-align: justify;
  letter-spacing: .04em;
}

.ai-points li {
  position: relative;
  padding-left: 22px;
  font-size: .97rem;
  color: var(--ink-soft);
}

.ai-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--zhu);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- 扫码体验 ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
}

.qr-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px 24px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.qr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(80, 60, 30, .12);
}

.qr-card h3 {
  font-size: 1.18rem;
  letter-spacing: .22em;
  text-indent: .22em;
  margin-bottom: 20px;
}

.qr-frame {
  position: relative;
  width: 196px;
  height: 196px;
  margin: 0 auto 18px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(80, 60, 30, .10);
}

.qr-frame--plus {
  border: 2px solid var(--zhu);
}

.qr-corner { /* CSS 绘制的定位角标 */
  position: absolute;
  width: 20px;
  height: 20px;
  border: 0 solid var(--zhu);
  pointer-events: none;
}

.qc-tl { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.qc-tr { top: -7px; right: -7px; border-width: 2px 2px 0 0; }
.qc-bl { bottom: -7px; left: -7px; border-width: 0 0 2px 2px; }
.qc-br { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.qr-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .92);
  border: 1.5px dashed var(--ink-faint);
  border-radius: 4px;
}

.qr-placeholder-text {
  font-size: .95rem;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: .12em;
}

.qr-placeholder-text b {
  display: block;
  font-size: 1rem;
  color: var(--zhu);
  font-weight: 600;
}

.qr-hint {
  font-size: .87rem;
  color: var(--ink-soft);
  letter-spacing: .05em;
}

.platform-note {
  margin-top: 30px;
  text-align: center;
  font-size: .83rem;
  color: var(--ink-faint);
}

/* ---------- 关于作者 ---------- */
.author { background: rgba(47, 39, 32, .035); }

.author-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
}

.author-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--zhu);
  border-radius: 6px;
  padding: 34px 36px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.author-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(80, 60, 30, .12);
}

.author-card h3 {
  font-size: 1.18rem;
  letter-spacing: .22em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.author-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.author-item dt {
  font-size: .85rem;
  letter-spacing: .16em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.author-item dd {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.9;
  word-break: break-all;
}

.author-item dd a {
  color: var(--ink);
  text-decoration: none;
  transition: color .3s;
}

.author-item dd a:hover { color: var(--zhu); }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: rgba(47, 39, 32, .045);
  padding: 44px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.footer-brand span {
  font-size: .88rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: .08em;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: .9rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .3s;
}

.footer-links a:hover { color: var(--zhu); }

.footer-copy {
  font-size: .84rem;
  color: var(--ink-faint);
}

.footer-icp {
  margin-top: 2px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--zhu);
  text-decoration: none;
  transition: color .3s;
}

.footer-icp:hover {
  color: var(--zhu-deep);
  text-decoration: underline;
}

/* 低调的管理入口 */
.admin-entry {
  margin-top: 6px;
  font-size: .76rem;
  color: rgba(47, 39, 32, .32);
  text-decoration: none;
  transition: color .3s;
}

.admin-entry:hover { color: rgba(47, 39, 32, .6); }

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- 关键帧 ---------- */
@keyframes sealIn {
  0% { opacity: 0; transform: rotate(-4deg) scale(.3); }
  100% { opacity: 1; transform: rotate(-4deg) scale(1); }
}

@keyframes charUp {
  0%   { opacity: 0; transform: translateY(28px) scale(1.15); }
  100% { opacity: 1; transform: scale(1.15); }
}

@keyframes heroUp {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(34px, -22px) scale(1.12); }
}

@keyframes coupletIn {
  0% { opacity: 0; transform: translateX(24px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

.couplet-left {
  animation-name: coupletLeftIn;
}

@keyframes coupletLeftIn {
  0% { opacity: 0; transform: translateX(-24px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .couplet { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { min-height: calc(100vh - 58px); padding: 72px 0 84px; }

  .header-inner { min-height: 58px; flex-wrap: wrap; }
  .site-nav { gap: 16px; font-size: .88rem; }

  .hero-slogan { letter-spacing: .3em; }
  .hero-slogan::before,
  .hero-slogan::after { display: none; }

  .hero-seal { display: none; }

  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .platform-grid { grid-template-columns: 1fr; gap: 22px; max-width: 420px; }

  .cases-grid {
    max-width: 100%;
    padding: 4px 0;
  }
  .case-card { padding: 28px 22px; }
  .cases-controls { margin-top: 18px; }
  .author-grid { grid-template-columns: 1fr; gap: 22px; }
  .author-card { padding: 28px 22px; }

  .ai-panel { padding: 28px 22px; }
  .hero-title-glyph { height: 0.88em; top: 0.16em; transform: scale(1.15); transform-origin: center bottom; }

  .feed-grid { grid-template-columns: 1fr; gap: 16px; }
  .feed-card { padding: 20px 22px 18px; }
}

@media (max-width: 420px) {
  .hero-title { letter-spacing: .1em; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Feed 信息流（无限滚动） ---------- */
.feed-section { background: rgba(47, 39, 32, .035); }

.feed-spacer {
  grid-column: 1 / -1;
  pointer-events: none;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feed-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(80, 60, 30, .12);
}

.feed-card--daily    { border-top: 3px solid var(--zhu); }
.feed-card--battle   { border-top: 3px solid #4f7ec9; }
.feed-card--question { border-top: 3px solid #6aa55b; }
.feed-card--eval     { border-top: 3px solid var(--gold-deep); }

.feed-tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 10px;
}

.feed-couplet {
  font-size: 1.1rem;
  letter-spacing: .16em;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
}

.feed-couplet b {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--zhu);
  margin-bottom: 4px;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .82rem;
  color: var(--ink-soft);
}

.feed-nickname {
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.feed-score {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--zhu);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.feed-score small {
  font-size: .68rem;
  color: var(--ink-faint);
  font-weight: 400;
  margin-left: 2px;
}

.feed-theme {
  color: var(--ink-faint);
  font-size: .78rem;
  letter-spacing: .14em;
}

/* 通用规则：HTML hidden 属性应覆盖任何 display 样式 */
[hidden] {
  display: none !important;
}

.feed-status {
  text-align: center;
  padding: 24px 0 12px;
  color: var(--ink-faint);
  font-size: .9rem;
  letter-spacing: .12em;
}

.feed-end {
  color: var(--ink-faint);
  font-size: .85rem;
}

.feed-error {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.feed-retry {
  font-family: var(--serif);
  font-size: .85rem;
  padding: 4px 14px;
  border: 1px solid var(--zhu);
  color: var(--zhu);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.feed-retry:hover {
  background: var(--zhu);
  color: var(--paper);
}

/* ---------- 动效削减（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html { scroll-behavior: auto; }

  /* 保证内容直接可见，不被入场动画初始态遮挡 */
  .hero-in,
  .reveal,
  .ch {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 关闭纯装饰的浮动墨点与印章 */
  .mote,
  .hero-seal {
    display: none;
  }
}