/* ============================================================
   问周公 · 周公解梦在线查询
   全局样式 — 移动优先 / 无外部依赖（百度友好：无Google字体、无境外CDN）
   ============================================================ */

:root {
  --ink: #2b2b2b;
  --ink-soft: #555;
  --ink-mute: #8a8a8a;
  --cinnabar: #b03a2e;      /* 朱砂红 */
  --cinnabar-dark: #8e2f25;
  --gold: #a8842c;
  --paper: #faf8f4;          /* 宣纸底 */
  --paper-2: #f3efe7;
  --line: #e6e0d4;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(60, 50, 30, .07);
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--cinnabar); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { max-width: 980px; margin: 0 auto; padding: 0 18px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.logo {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.logo:hover { text-decoration: none; }
.logo .seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--cinnabar); color: #fff;
  font-size: 15px; font-family: var(--serif);
}
.logo small { font-size: 12px; color: var(--ink-mute); font-weight: 400; margin-left: 2px; }
.nav-links { display: flex; gap: 20px; font-size: 14.5px; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--cinnabar); }
@media (max-width: 640px) {
  .nav-links { display: none; }
  .header-search-mini { display: none !important; }
}

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 50% -100px, rgba(176,58,46,.08), transparent),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 34px; letter-spacing: 2px; margin-bottom: 10px;
}
.hero h1 em { font-style: normal; color: var(--cinnabar); }
.hero p { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }

.search-box {
  max-width: 620px; margin: 0 auto;
  display: flex; gap: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  border: 3px solid var(--cinnabar);
  border-radius: 999px; overflow: hidden;
  box-shadow:
    0 2px 0 rgba(140,30,22,.55),
    0 10px 24px rgba(140,30,22,.22),
    0 3px 8px rgba(60,40,20,.18),
    inset 0 2px 4px rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease;
}
.search-box:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 3px 0 rgba(140,30,22,.6),
    0 16px 34px rgba(140,30,22,.30),
    0 4px 10px rgba(60,40,20,.2),
    inset 0 2px 4px rgba(255,255,255,.9);
}
.search-box input {
  flex: 1; border: none; outline: none; padding: 16px 26px;
  font-size: 19px; background: transparent; font-family: var(--sans);
  color: var(--ink); font-weight: 500;
}
.search-box input::placeholder { color: #b9ab93; font-size: 17px; }
.search-box button {
  border: none; color: #fff;
  padding: 0 40px; font-size: 19px; cursor: pointer; font-family: var(--serif);
  letter-spacing: 6px; text-indent: 6px;
  background: linear-gradient(180deg, #c04a3a 0%, var(--cinnabar) 45%, #96382c 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 6px rgba(0,0,0,.25);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  transition: filter .15s ease;
}
.search-box button:hover { filter: brightness(1.08); }
.search-box button:active { filter: brightness(.94); }
@media (max-width: 640px) {
  .search-box input { font-size: 17px; padding: 14px 20px; }
  .search-box button { font-size: 17px; padding: 0 26px; letter-spacing: 4px; }
}

.hot-tags { margin-top: 16px; font-size: 13.5px; color: var(--ink-mute); }
.hot-tags a {
  display: inline-block; margin: 4px 6px; padding: 3px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft);
}
.hot-tags a:hover { border-color: var(--cinnabar); color: var(--cinnabar); text-decoration: none; }

/* ---------- 区块 ---------- */
.section { padding: 34px 0 10px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--serif); font-size: 23px; letter-spacing: 1px;
  padding-left: 12px; border-left: 4px solid var(--cinnabar);
}
.section-head .more { font-size: 13.5px; color: var(--ink-mute); }

/* ---------- 梦境卡片 ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }

.dream-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 14px; text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.dream-card:hover {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: var(--shadow); border-color: rgba(176,58,46,.35);
}
.dream-card .glyph {
  font-family: var(--serif); font-size: 30px; line-height: 1.2;
  color: var(--cinnabar); display: block; margin-bottom: 6px;
}
.dream-card .name { font-size: 15px; font-weight: 600; color: var(--ink); display: block; }
.dream-card .brief {
  font-size: 12.5px; color: var(--ink-mute); display: block;
  margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- 分类导航 ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-nav a {
  padding: 8px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; color: var(--ink-soft);
}
.cat-nav a:hover { border-color: var(--cinnabar); color: var(--cinnabar); text-decoration: none; }

/* ---------- 文章页 ---------- */
.crumb {
  font-size: 13px; color: var(--ink-mute); padding: 16px 0 4px;
}
.crumb a { color: var(--ink-mute); }
.crumb a:hover { color: var(--cinnabar); }

.article {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 38px 30px;
  box-shadow: var(--shadow); margin-bottom: 26px;
}
@media (max-width: 640px) { .article { padding: 24px 18px; } }

.article h1 {
  font-family: var(--serif); font-size: 27px; line-height: 1.45;
  letter-spacing: .5px; margin-bottom: 10px;
}
.article-meta {
  font-size: 12.5px; color: var(--ink-mute); padding-bottom: 16px;
  border-bottom: 1px solid var(--line); margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 14px;
}

.article h2 {
  font-family: var(--serif); font-size: 20px; margin: 30px 0 12px;
  padding-left: 11px; border-left: 4px solid var(--cinnabar); letter-spacing: .5px;
}
.article h3 { font-size: 16.5px; margin: 18px 0 8px; color: var(--ink); }
.article p { margin-bottom: 13px; color: #333; }
.article ul, .article ol { margin: 0 0 14px 22px; color: #333; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); }

/* 核心速览框 */
.tldr {
  background: linear-gradient(135deg, #fdf6ec, #faf1e3);
  border: 1px solid #ecdfc8; border-radius: var(--radius);
  padding: 18px 20px; margin: 4px 0 22px;
}
.tldr .tldr-title {
  font-family: var(--serif); font-weight: 700; color: var(--gold);
  font-size: 15px; letter-spacing: 3px; margin-bottom: 8px;
}
.tldr ul { margin: 0 0 0 18px; }
.tldr li { margin-bottom: 5px; font-size: 14.5px; color: #4a4234; }

/* 直答段 */
.direct-answer {
  background: #fbf3f1; border-left: 4px solid var(--cinnabar);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 16px;
  font-size: 15px;
}

/* 目录 */
.toc {
  background: var(--paper-2); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 8px;
}
.toc .toc-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink-soft); }
.toc ol { margin-left: 20px; font-size: 13.5px; }
.toc li { margin-bottom: 3px; }

/* 传统条目引用块 */
.verse {
  background: var(--paper-2); border-radius: 8px;
  padding: 12px 18px; margin: 10px 0 14px;
  font-family: var(--serif);
}
.verse li { list-style: none; padding-left: 1.2em; text-indent: -1.2em; }
.verse ul { margin: 0; }

/* 情境表 */
table.scenario {
  width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px;
}
table.scenario th {
  background: var(--paper-2); text-align: left; padding: 9px 12px;
  border: 1px solid var(--line); font-family: var(--serif);
}
table.scenario td { padding: 9px 12px; border: 1px solid var(--line); color: #333; }
table.scenario tr td:first-child { white-space: nowrap; font-weight: 600; }

/* FAQ 折叠 */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 13px 16px; font-weight: 600; font-size: 15px;
  list-style: none; position: relative; padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--cinnabar); font-size: 18px; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px; margin: 0; font-size: 14.5px; color: #444; }

/* 免责与署名 */
.disclaimer {
  font-size: 12.5px; color: var(--ink-mute); background: var(--paper-2);
  border-radius: 8px; padding: 12px 16px; margin-top: 24px; line-height: 1.7;
}

/* 相关梦境 */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 50px; padding: 30px 0 36px;
  background: #2b2b2b; color: #b9b3a8; font-size: 13px;
}
.site-footer a { color: #d8d2c6; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-col h4 { color: #e8e2d6; font-size: 14px; margin-bottom: 8px; font-family: var(--serif); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 5px; }
.footer-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid #3d3d3d; color: #8f8a80; line-height: 1.8; font-size: 12.5px; }

/* ---------- 搜索结果区 ---------- */
.search-result-info { margin: 18px 0 4px; font-size: 14px; color: var(--ink-soft); }
.no-result {
  text-align: center; padding: 50px 0; color: var(--ink-mute); font-size: 14.5px;
}
.no-result .big { font-family: var(--serif); font-size: 40px; display: block; margin-bottom: 12px; color: var(--line); }

/* ---------- 关于/支柱内容 ---------- */
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; box-shadow: var(--shadow);
}
@media (max-width: 640px) { .pillar { padding: 22px 18px; } }
.pillar h2 {
  font-family: var(--serif); font-size: 21px; margin: 24px 0 10px;
  padding-left: 11px; border-left: 4px solid var(--cinnabar);
}
.pillar p { color: #333; margin-bottom: 12px; font-size: 15px; }

/* 顶部小搜索 */
.header-search-mini {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--paper);
}
.header-search-mini input { border: none; outline: none; padding: 7px 14px; width: 170px; font-size: 13.5px; background: transparent; }
.header-search-mini button { border: none; background: transparent; color: var(--cinnabar); padding: 0 12px; cursor: pointer; font-size: 15px; }

/* ---------- Hero 人物图（首页） ---------- */
.hero-grid { display: flex; align-items: center; gap: 34px; }
.hero-copy { flex: 1 1 58%; min-width: 0; }
.hero-art { flex: 0 0 38%; }
.hero-art img {
  width: 100%; border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: block;
}
@media (max-width: 760px) {
  .hero-grid { flex-direction: column-reverse; gap: 20px; }
  .hero-art { flex: none; width: 100%; }
}

/* ---------- 词条页水墨插图 ---------- */
.illu { margin: 20px 0 24px; text-align: center; }
.illu img {
  width: 100%; max-width: 560px; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.illu figcaption {
  margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); letter-spacing: 1px;
}

/* ---------- 关于区周公画像 ---------- */
.pillar-fig { float: right; width: 180px; margin: 0 0 16px 22px; }
.pillar-fig img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.pillar-fig figcaption { font-size: 12px; color: var(--ink-mute); margin-top: 6px; text-align: center; }
@media (max-width: 640px) { .pillar-fig { float: none; width: 46%; margin: 0 auto 16px; } }

/* ---------- 讲讲你的梦（投稿区） ---------- */
.submit-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; box-shadow: var(--shadow);
}
.submit-copy { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 20px; }
.submit-fig { flex: 0 0 150px; }
.submit-fig img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 640px) {
  .submit-box { padding: 22px 18px; }
  .submit-copy { flex-direction: column; }
  .submit-fig { flex: none; width: 130px; }
}
.submit-form input, .submit-form textarea {
  width: 100%; padding: 11px 14px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: var(--sans); background: var(--paper);
  outline: none; resize: vertical;
}
.submit-form input:focus, .submit-form textarea:focus { border-color: var(--gold); }
.submit-form button {
  width: 100%; padding: 12px; border: none; border-radius: 8px; cursor: pointer;
  background: var(--cinnabar); color: #fff; font-size: 15.5px; font-weight: 600;
}
.submit-form button:hover { background: var(--cinnabar-dark); }
.submit-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; }

/* ---------- 词条页投稿CTA ---------- */
.share-dream {
  margin-top: 26px; border: 1px dashed var(--gold); border-radius: 10px;
  background: #fdfbf5; padding: 18px 20px;
}
.share-dream-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-dream-icon { font-size: 26px; }
.share-dream p { flex: 1 1 300px; margin: 0; font-size: 14.5px; color: #444; }
.btn-share {
  display: inline-block; padding: 9px 20px; border-radius: 999px;
  background: var(--cinnabar); color: #fff; font-size: 14px; white-space: nowrap;
}
.btn-share:hover { background: var(--cinnabar-dark); text-decoration: none; }

/* ---------- 随缘添香（捐赠） ---------- */
.support-channels { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.support-btn {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 13px;
  border: 1px solid #5a554b; color: #d8d2c6; background: transparent;
}
.support-btn.paypal { border-color: #0070ba; color: #7db8e8; }

/* ---------- 热搜区（随机轮换 + 换一批） ---------- */
.hot-row { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hot-label {
  font-size: 14.5px; color: var(--cinnabar); font-weight: 700; letter-spacing: 2px;
  display: inline-flex; align-items: center; gap: 4px;
}
.hot-label .fire { animation: hotPulse 1.6s ease-in-out infinite; display: inline-block; }
@keyframes hotPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
#hotTags a {
  display: inline-block; margin: 4px 5px; padding: 6px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); font-size: 14.5px;
  box-shadow: 0 2px 5px rgba(60,40,20,.10), inset 0 1px 0 #fff;
  transition: all .15s ease;
}
#hotTags a:hover {
  border-color: var(--cinnabar); color: var(--cinnabar);
  transform: translateY(-2px); box-shadow: 0 5px 12px rgba(140,30,22,.18);
  text-decoration: none;
}
.hot-actions { margin-top: 12px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hot-actions button {
  cursor: pointer; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 18px; font-size: 14px; color: var(--ink-soft);
  box-shadow: 0 2px 5px rgba(60,40,20,.10); transition: all .15s ease;
  font-family: var(--sans);
}
.hot-actions button:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--cinnabar); box-shadow: 0 5px 12px rgba(140,30,22,.15); }

/* ---------- 无结果推荐（内嵌卡片网格） ---------- */
.no-result { text-align: center; padding: 26px 0 10px; color: var(--ink-mute); font-size: 15px; }
.no-result + .card-grid { margin-top: 14px; }

/* ---------- 大家都在问（问答网格） ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.qa-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all .15s ease;
}
.qa-card:hover { transform: translateY(-3px); border-color: var(--gold); text-decoration: none; box-shadow: 0 8px 20px rgba(60,40,20,.14); }
.qa-q {
  align-self: flex-start; font-family: var(--serif); font-weight: 700; font-size: 13px;
  color: var(--cinnabar); border: 1px solid rgba(176,58,46,.35); border-radius: 6px;
  padding: 1px 8px; background: rgba(176,58,46,.06);
}
.qa-name { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.qa-brief { font-size: 13.5px; color: var(--ink-mute); line-height: 1.6; }

/* ---------- 图片防变形（统一裁切策略） ---------- */
.hero-art img { aspect-ratio: 3 / 2; object-fit: cover; }
.pillar-fig img { aspect-ratio: 3 / 4; object-fit: cover; }
.illu img { aspect-ratio: 1 / 1; object-fit: cover; }
.submit-fig img { aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- 词条/问答页内嵌「大家都在问」芯片 ---------- */
.qa-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qa-chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 13.5px; box-shadow: 0 2px 5px rgba(60,40,20,.08);
  transition: all .15s ease;
}
.qa-chip:hover {
  border-color: var(--cinnabar); color: var(--cinnabar);
  transform: translateY(-2px); text-decoration: none;
  box-shadow: 0 4px 10px rgba(140,30,22,.15);
}

/* ============================================================
   v4 升级 —— 梦境剧场 + 实物感按钮 + 纯CSS鼠标视差
   ============================================================ */

/* ---------- 剧场模式：深色幕布 + 中央聚光灯 ---------- */
.theater {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at var(--mx,50%) var(--my,38%),
      rgba(212,179,113,.28) 0%, rgba(212,179,113,.10) 30%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 0%, #2b3148 0%, #161927 60%, #0d1018 100%);
  color: #f5f0e6;
  padding: 64px 0 56px;
  overflow: hidden;
}
.theater::before {
  /* 背景剧院场景图（叠在渐变之上，鼠标移动产生视差） */
  content: "";
  position: absolute; inset: 0;
  background: url("../img/theater-bg.webp") center/cover no-repeat;
  opacity: .55;
  transform: translate3d(calc((var(--mx,50%) - 50%) * -8px), calc((var(--my,50%) - 50%) * -6px), 0);
  transition: transform .12s ease-out;
  pointer-events: none;
}
.theater::after {
  /* 蝴蝶粒子层 */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 6px at 18% 28%, rgba(255,223,140,.7), transparent 60%),
    radial-gradient(circle 4px at 78% 18%, rgba(255,223,140,.55), transparent 60%),
    radial-gradient(circle 5px at 30% 78%, rgba(180,210,255,.55), transparent 60%),
    radial-gradient(circle 3px at 88% 68%, rgba(255,223,140,.6), transparent 60%);
  pointer-events: none;
  animation: butterfliesDrift 12s ease-in-out infinite;
}
@keyframes butterfliesDrift {
  0%,100% { transform: translateY(0); opacity: .85; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.theater .container { position: relative; z-index: 2; }

.theater h1 {
  font-family: var(--serif);
  font-size: 38px; line-height: 1.35; letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin: 0 0 14px;
}
.theater h1 em {
  color: #f5d490;
  font-style: normal;
  border-bottom: 2px dashed #f5d490;
  padding: 0 4px;
}
.theater .lead {
  font-size: 16px; color: #d8d2c6; letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  margin: 0 0 22px;
}

/* ---------- 实物感大按钮（琉璃/古印章质感） ---------- */
.btn-3d {
  position: relative;
  display: inline-block;
  padding: 14px 38px;
  font-family: var(--serif);
  font-size: 19px; letter-spacing: 6px;
  color: #fff;
  background: linear-gradient(180deg, #d25147 0%, var(--cinnabar) 40%, #8e2f25 100%);
  border: 1px solid #6d2519;
  border-radius: 10px;
  cursor: pointer;
  box-shadow:
    /* 上亮边 */  inset 0 1px 0 rgba(255,255,255,.45),
    /* 内暗边 */   inset 0 -4px 8px rgba(0,0,0,.35),
    /* 上投影 */   0 1px 0 rgba(140,30,22,.7),
    /* 下浮影 */   0 6px 0 rgba(91,18,12,.6),
    /* 大柔影 */   0 14px 28px rgba(0,0,0,.35);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -4px 8px rgba(0,0,0,.32),
    0 2px 0 rgba(140,30,22,.7),
    0 9px 0 rgba(91,18,12,.55),
    0 20px 36px rgba(0,0,0,.45);
  filter: brightness(1.05);
}
.btn-3d:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -2px 4px rgba(0,0,0,.3),
    0 1px 0 rgba(140,30,22,.7),
    0 2px 6px rgba(91,18,12,.5);
  filter: brightness(.95);
}

/* ---------- 剧场模式下的搜索框（深色版+玻璃质感） ---------- */
.search-box.glass {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.4) inset,
    0 2px 0 rgba(0,0,0,.25),
    0 14px 40px rgba(0,0,0,.45),
    0 0 60px rgba(212,179,113,.18);
  max-width: 640px; margin: 0;
}
.search-box.glass:focus-within {
  box-shadow:
    0 0 0 2px #f5d490 inset,
    0 2px 0 rgba(0,0,0,.25),
    0 18px 50px rgba(0,0,0,.55),
    0 0 80px rgba(245,212,144,.35);
  transform: translateY(-2px);
}
.search-box.glass input { font-size: 19px; padding: 18px 24px; }
.search-box.glass button { font-size: 19px; padding: 0 38px; letter-spacing: 6px; }
@media (max-width: 640px) {
  .search-box.glass input { font-size: 17px; padding: 14px 18px; }
  .search-box.glass button { font-size: 17px; padding: 0 24px; }
}

/* ---------- 角色舞台：3-5个Q版角色排排站 ---------- */
.cast-strip {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
  margin-top: 38px; padding: 0;
}
@media (max-width: 760px) { .cast-strip { grid-template-columns: repeat(4, 1fr); } }
.cast {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 6px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  text-decoration: none;
  color: #f5f0e6;
  transition: all .18s ease;
}
.cast:hover {
  background: rgba(245,212,144,.15);
  border-color: #f5d490;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
  text-decoration: none;
}
.cast img {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.4), inset 0 0 0 3px #fff;
  object-fit: cover;
}
.cast .cast-name {
  font-family: var(--serif);
  font-size: 14.5px; font-weight: 600; letter-spacing: 1.5px;
  color: #faf6ec;
}
.cast .cast-brief { font-size: 11.5px; color: #c9c1b0; line-height: 1.4; }

/* ---------- 语言切换（简↔繁） ---------- */
.lang-switch {
  margin-left: 10px;
  padding: 4px 12px !important;
  border: 1px solid rgba(140,30,22,.35) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--cinnabar) !important;
  font-size: 13px !important;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(60,40,20,.12);
  transition: all .15s ease;
}
.lang-switch:hover {
  background: var(--cinnabar) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ============================================================
   分享条 —— 实物感按钮（全站通用，纸色区使用）
   ============================================================ */
.share-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 26px 0 10px; padding: 15px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
}
.share-label { font-size: 14px; color: var(--ink-mute); margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f6efe2 100%);
  font-size: 13.5px; color: var(--ink); text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(120,90,50,.16), 0 4px 10px rgba(60,40,20,.10);
  transition: transform .12s ease, box-shadow .12s ease;
}
.share-btn:hover  { transform: translateY(-2px); box-shadow: 0 3px 0 rgba(120,90,50,.16), 0 7px 14px rgba(60,40,20,.14); }
.share-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(120,90,50,.16); }
.share-btn.b-wa { border-color:#25d36633; } .share-btn.b-fb { border-color:#1877f233; }
.share-btn.b-x  { border-color:#0f141933; } .share-btn.b-tg { border-color:#2aabee33; }

/* ---------- 首页第二屏：纸色区 ---------- */
.paper-stage {
  background: var(--paper);
  padding: 56px 0 24px;
}

/* ============================================================
   v6 升级 —— 大居中：互动横幅主图 + 上下堆叠（修PC变形）
   ============================================================ */

/* 覆盖 v5：剧场改为上下大居中单列 */
.theater .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.theater .hero-copy {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  width: 100%;
  max-width: 780px;
}
.theater .hero-copy h1 { margin: 0 0 14px; }
.theater .hero-copy .lead { margin: 0 0 22px; }
.theater .hero-copy .cast-strip { width: 100%; }

/* ---------- 主视觉：互动图作为剧场梦境背景层（全出血融合，非贴图） ---------- */
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  position: absolute; left: 50%; top: 46%;
  width: min(125vw, 1560px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .62;
  filter: blur(6px) saturate(.82) brightness(.72) contrast(.96);
  -webkit-mask-image: radial-gradient(ellipse 60% 74% at 50% 46%, #000 26%, rgba(0,0,0,.55) 58%, transparent 90%);
          mask-image: radial-gradient(ellipse 60% 74% at 50% 46%, #000 26%, rgba(0,0,0,.55) 58%, transparent 90%);
}
/* 色调统一：靛蓝罩层，让照片色温沉入剧场夜色 */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 70% at 50% 46%, rgba(24,29,48,.18) 0%, rgba(24,29,48,.5) 62%, rgba(13,17,31,.88) 100%),
    linear-gradient(180deg, rgba(13,17,31,.66) 0%, rgba(13,17,31,.2) 34%, rgba(13,17,31,.3) 62%, rgba(13,17,31,.92) 100%);
}
/* 文字压在背景上：保证对比度 */
.theater .hero-copy { position: relative; z-index: 3; }
.theater .hero-copy h1 { text-shadow: 0 2px 18px rgba(0,0,0,.72), 0 1px 4px rgba(0,0,0,.8); }
.theater .hero-copy .lead { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
@media (max-width: 760px) {
  .hero-bg img { width: 160vw; top: 40%; opacity: .5; }
}

/* ---------- 今夜梦签：情绪互动模块 ---------- */
.oracle-stage {
  position: relative;
  background:
    radial-gradient(ellipse 90% 130% at 50% -30%, rgba(58,63,92,.35) 0%, transparent 62%),
    linear-gradient(180deg, #141a2e 0%, #1a2138 55%, #161c30 100%);
  padding: 58px 0 64px;
  overflow: hidden;
}
.oracle-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle 3px at 12% 30%, rgba(214,182,120,.5) 0, transparent 100%),
    radial-gradient(circle 2px at 32% 72%, rgba(170,190,220,.4) 0, transparent 100%),
    radial-gradient(circle 2.5px at 68% 22%, rgba(214,182,120,.45) 0, transparent 100%),
    radial-gradient(circle 2px at 85% 64%, rgba(170,190,220,.4) 0, transparent 100%),
    radial-gradient(circle 3px at 50% 88%, rgba(214,182,120,.35) 0, transparent 100%);
  pointer-events: none;
  animation: oracleTwinkle 6s ease-in-out infinite alternate;
}
@keyframes oracleTwinkle { from { opacity:.5; } to { opacity:1; } }
.oracle-wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 400px);
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) {
  .oracle-wrap { grid-template-columns: 1fr; text-align: center; }
  .oracle-intro { align-items: center; }
  .oracle-card { margin: 0 auto; }
}
.oracle-intro h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  color: #f0e3c0;
  letter-spacing: 6px;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.oracle-intro p { color: #c9c3d8; margin: 0 0 22px; }
.oracle-tip { font-size: 13px; opacity: .68; margin: 14px 0 0 !important; }
.oracle-card {
  position: relative;
  width: 100%; max-width: 340px;
  aspect-ratio: 3 / 4.2;
  perspective: 1200px;
  cursor: pointer;
}
.oracle-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 26px;
  border-radius: 20px;
  backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.2,.7,.3,1), box-shadow .7s;
}
.oracle-back {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(214,182,120,.14) 0%, transparent 70%),
    linear-gradient(160deg, #232a44 0%, #1b2238 60%, #171d31 100%);
  border: 1px solid rgba(214,182,120,.32);
  box-shadow: 0 10px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.oracle-back .oracle-glyph {
  font-family: var(--serif);
  font-size: 88px;
  color: #e9d9ac;
  text-shadow: 0 0 30px rgba(214,182,120,.4);
  animation: oracleFloat 4s ease-in-out infinite;
}
@keyframes oracleFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.oracle-back .oracle-hint { color: #b8b2c9; letter-spacing: 4px; font-size: 14px; }
.oracle-front {
  transform: rotateY(180deg);
  background:
    radial-gradient(ellipse 90% 55% at 50% 12%, rgba(214,182,120,.2) 0%, transparent 65%),
    linear-gradient(165deg, #f6efdc 0%, #efe4c8 55%, #e9dbb8 100%);
  border: 1px solid rgba(160,128,66,.5);
  box-shadow: 0 14px 44px rgba(0,0,0,.55), inset 0 0 0 6px rgba(160,128,66,.14);
  justify-content: flex-start;
}
.oracle-card.flipped .oracle-back { transform: rotateY(-180deg); }
.oracle-card.flipped .oracle-front { transform: rotateY(0deg); }
.oracle-front .oracle-no {
  font-family: var(--serif);
  font-size: 13px; letter-spacing: 3px;
  color: #8a6b2f; opacity: .8;
}
.oracle-front .oracle-glyph {
  font-family: var(--serif);
  font-size: 64px; line-height: 1;
  color: #6d4f1d;
  text-shadow: 0 2px 6px rgba(160,128,66,.3);
}
.oracle-front .oracle-title {
  font-family: var(--serif);
  font-size: 21px; font-weight: 700;
  color: #4a3312; text-align: center; letter-spacing: 2px;
}
.oracle-front .oracle-text {
  font-size: 14.5px; line-height: 1.85;
  color: #5c4a22; text-align: center;
}
.oracle-front .oracle-link {
  margin-top: auto;
  font-size: 14px; font-weight: 700;
  color: #8a5a1c;
  border-bottom: 1px dashed rgba(138,90,28,.6);
  padding-bottom: 2px;
}

/* ---------- 热门梦境卡片：水墨插图版 ---------- */
.dream-card {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 0;
  text-align: left;
}
.dream-card .card-art img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dream-card .card-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #efe9db;
}
.dream-card .card-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(250,247,240,.92) 96%);
}
.dream-card .card-body {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 16px 16px;
}
.dream-card .glyph {
  position: absolute; top: 10px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px;
  color: #6d4f1d;
  background: rgba(250,247,240,.92);
  border: 1px solid rgba(160,128,66,.45);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.dream-card .name { font-size: 17px; }
.dream-card .brief { color: #7a7263; }

/* ---------- 滚动进场动画（渐进增强，不阻塞首屏） ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 角落周公幻影：只保留左上（主图里已有周公正脸） ---------- */
.zhougong-corner.corner-br { display: none; }
.zhougong-corner.corner-tl {
  top: -8px; left: -16px;
  width: 200px; height: auto;
  opacity: .28;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse at 30% 50%, #000 35%, transparent 80%);
}
@media (max-width: 760px) {
  .zhougong-corner.corner-tl { width: 120px; opacity: .2; }
}

/* ---------- 角落周公幻影：云雾中浮现 ---------- */
.zhougong-corner {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: blur(1.5px) drop-shadow(0 0 24px rgba(180,200,220,.25));
  animation: zhougongFloat 9s ease-in-out infinite;
}
.zhougong-corner.corner-tl {
  top: -8px; left: -16px;
  width: 220px; height: auto;
  opacity: .34;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse at 30% 50%, #000 35%, transparent 80%);
  animation-delay: 0s;
}
.zhougong-corner.corner-br {
  bottom: -10px; right: -10px;
  width: 180px; height: auto;
  opacity: .26;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse at 70% 50%, #000 35%, transparent 80%);
  animation-delay: -4s;
  transform: scaleX(-1); /* 镜像，更像「他也在看你」 */
}
@keyframes zhougongFloat {
  0%,100% { transform: translateY(0); opacity: var(--base-op, .34); }
  50%     { transform: translateY(-10px); opacity: calc(var(--base-op, .34) + .08); }
}
.zhougong-corner.corner-br { --base-op: .26; }
@media (max-width: 760px) {
  .zhougong-corner.corner-tl { width: 140px; opacity: .22; }
  .zhougong-corner.corner-br { display: none; }
}

/* ---------- 梦境朦胧：剧场背景层加 vignette 渐晕 + 雾化边缘 ---------- */
/* 覆盖原 .theater 背景：在原渐变上叠加 vignette（中心透亮、四周深暗雾化） */
.theater {
  background:
    /* vignette: 中心透亮 → 四周深暗雾化 */
    radial-gradient(ellipse 65% 55% at 50% 40%, transparent 0%, transparent 38%, rgba(8,10,18,.55) 82%, rgba(8,10,18,.88) 100%),
    /* 上方加冷色雾 */
    radial-gradient(ellipse 110% 70% at 50% 0%, rgba(43,49,72,.55) 0%, transparent 65%),
    /* 原聚光灯 */
    radial-gradient(ellipse 60% 60% at var(--mx,50%) var(--my,38%),
      rgba(212,179,113,.28) 0%, rgba(212,179,113,.10) 30%, transparent 60%),
    /* 原底色渐变 */
    radial-gradient(ellipse 100% 80% at 50% 0%, #2b3148 0%, #161927 60%, #0d1018 100%) !important;
}

/* ============================================================
   v9 —— 今夜梦预言 + 专属解梦报告
   ============================================================ */

/* ---------- 预言台 ---------- */
.predict-stage {
  position: relative;
  background:
    radial-gradient(ellipse 80% 110% at 50% 0%, rgba(212,179,113,.10) 0%, transparent 55%),
    linear-gradient(180deg, #161c30 0%, #131829 60%, #10141f 100%);
  padding: 58px 0 66px;
  overflow: hidden;
}
.predict-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle 1.2px, rgba(232,226,204,.5) 1px, transparent 1px);
  background-size: 130px 130px;
  opacity: .25; pointer-events: none;
}
.predict-wrap { position: relative; z-index: 1; max-width: 860px; }
.predict-intro { text-align: center; margin-bottom: 26px; }
.predict-intro h2 {
  font-family: var(--serif); font-size: 30px; color: #f2e8d0; margin: 0 0 8px;
  text-shadow: 0 2px 14px rgba(212,179,113,.35);
}
.predict-sub { color: #cfc7b2; font-size: 17px; margin: 0 0 6px; }
.predict-note { color: #8d8875; font-size: 12.5px; margin: 0; }

.predict-quiz {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(212,179,113,.22);
  border-radius: 20px;
  padding: 26px 26px 20px;
  backdrop-filter: blur(6px);
}
.q { margin-bottom: 18px; }
.q-t { display: block; color: #e8dfc8; font-size: 14.5px; margin-bottom: 9px; letter-spacing: .5px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips button {
  font: inherit; font-size: 15px; cursor: pointer;
  color: #d9d2be; background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 8px 16px;
  transition: all .15s ease;
}
.chips button:hover { border-color: rgba(212,179,113,.55); transform: translateY(-1px); }
.chips button.on {
  background: linear-gradient(180deg, #f0dcae 0%, #d9bd7c 100%);
  color: #241d0e; border-color: #e8d49a;
  box-shadow: 0 4px 14px rgba(212,179,113,.35);
  font-weight: 700;
}
.q-worry input {
  width: 100%; box-sizing: border-box;
  font: inherit; font-size: 15.5px; color: #f0ead6;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 11px 14px; outline: none;
}
.q-worry input:focus { border-color: rgba(212,179,113,.6); box-shadow: 0 0 0 4px rgba(212,179,113,.12); }
.q-worry input::placeholder { color: #7e785f; }
.predict-tip { color: #8d8875; font-size: 12.5px; margin: 12px 2px 0; }

/* 明早验证条 */
.p-verify {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(212,179,113,.16), rgba(212,179,113,.05));
  border: 1px solid rgba(212,179,113,.45);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.p-verify strong { color: #f2e4bd; font-size: 15px; flex: 1 1 240px; }
.p-verify button {
  font: inherit; font-size: 14.5px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #e8dfc8;
  border: 1px solid rgba(212,179,113,.4); border-radius: 999px; padding: 7px 15px;
}
.p-verify button:hover { background: rgba(212,179,113,.2); }

/* 预言结果卡 */
.predict-result { display: none; margin-top: 20px; }
.predict-result.show { display: block; animation: dIn .5s ease; }
@keyframes dIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.p-card {
  background: linear-gradient(160deg, #232b47 0%, #1a2036 70%);
  border: 1px solid rgba(212,179,113,.4);
  border-radius: 20px; padding: 26px 26px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.p-gz { color: #9a9284; font-size: 12.5px; letter-spacing: 1px; }
.p-type {
  display: inline-block; font-family: var(--serif);
  font-size: 15px; color: #241d0e; font-weight: 700;
  background: linear-gradient(180deg, #f0dcae, #d9bd7c);
  border-radius: 8px; padding: 4px 12px; margin: 10px 0 12px;
}
.p-main { font-size: 18px; color: #f0ead6; line-height: 1.65; }
.p-main b { color: #f5d490; font-size: 24px; }
.p-main em { font-style: normal; color: #fff; border-bottom: 2px solid rgba(212,179,113,.6); }
.p-punch { color: #cfc7b2; font-size: 15.5px; line-height: 1.7; margin: 12px 0; }
.p-quote {
  font-size: 13px; color: #a89f88; line-height: 1.8;
  background: rgba(0,0,0,.25); border-left: 3px solid rgba(212,179,113,.5);
  border-radius: 0 10px 10px 0; padding: 10px 14px; margin: 12px 0;
}
.p-save { color: #f2e4bd; font-size: 14.5px; margin: 12px 0; }
.p-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 6px; }
.p-link { color: #f5d490; font-size: 14.5px; text-decoration: none; border-bottom: 1px dashed rgba(245,212,144,.5); }
.p-link:hover { color: #ffe9b3; }
.p-disc { color: #6f6a58; font-size: 12px; margin: 10px 0 0; }

/* ---------- 专属解梦报告（词条页内嵌） ---------- */
.detail-stage {
  margin: 34px 0 10px;
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(212,179,113,.10) 0%, transparent 60%),
    linear-gradient(180deg, #1b2138 0%, #141a2e 100%);
  border-radius: 22px; padding: 30px 28px 24px;
  color: #e8dfc8;
}
.detail-stage h2 {
  font-family: var(--serif); color: #f2e8d0; font-size: 24px; margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(212,179,113,.3);
}
.detail-lead { color: #bfb79f; font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.detail-stage textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15.5px;
  color: #f0ead6; background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.18); border-radius: 14px;
  padding: 13px 15px; outline: none; resize: vertical;
}
.detail-stage textarea:focus { border-color: rgba(212,179,113,.6); box-shadow: 0 0 0 4px rgba(212,179,113,.12); }
.detail-stage textarea::placeholder { color: #7e785f; }
.detail-stage .btn-3d { margin-top: 14px; }

/* 关键词 chips（专属解梦输入框旁的快捷词） */
.kw-chips {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px;
}
.kw-chips .kw-label {
  color: #f5d490; font-size: 13.5px; font-weight: 700; letter-spacing: .5px;
  flex: 1 1 100%; margin-bottom: 2px;
}
.kw-chips button {
  font: inherit; font-size: 14px; cursor: pointer;
  color: #e8dfc8; background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(212,179,113,.35);
  border-radius: 999px; padding: 7px 14px;
  transition: all .15s ease;
}
.kw-chips button:hover {
  border-color: rgba(212,179,113,.7); transform: translateY(-1px);
  background: rgba(212,179,113,.12);
}
.kw-chips button.on {
  background: linear-gradient(180deg, #f0dcae 0%, #d9bd7c 100%);
  color: #241d0e; border-color: #e8d49a; font-weight: 700;
}
/* 梦型徽章 */
.d-badge.v-t {
  background: rgba(232,226,204,.14); color: #d9d2be;
  border: 1px solid rgba(212,179,113,.4);
}
/* 首页大对话框形态：通栏 band，与预言/签同宽，内容居中 */
.detail-stage.detail-hero {
  padding: 52px 0 42px; border-radius: 0; margin: 0;
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(212,179,113,.10) 0%, transparent 60%),
    linear-gradient(180deg, #1b2138 0%, #141a2e 100%);
}
.detail-stage.detail-hero textarea {
  font-size: 17px; padding: 18px 20px; border-radius: 16px;
  border-width: 2px; border-color: rgba(212,179,113,.45);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  min-height: 130px; line-height: 1.6;
}
.detail-stage.detail-hero h2 { font-size: 27px; }
.detail-stage.detail-hero .kw-chips { margin-top: 14px; }

#detailReport { display: none; }
#detailReport.show { display: block; animation: dIn .5s ease; }
.d-card {
  margin-top: 22px;
  background: linear-gradient(160deg, #232b47 0%, #1a2036 70%);
  border: 1px solid rgba(212,179,113,.4);
  border-radius: 20px; padding: 24px 24px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
}
.d-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.d-head h3 { margin: 0; font-family: var(--serif); color: #f2e8d0; font-size: 19px; flex: 1 1 240px; }
.d-badge { font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 5px 13px; }
.d-badge.v-j { background: linear-gradient(180deg, #f0dcae, #d9bd7c); color: #241d0e; }
.d-badge.v-x { background: linear-gradient(180deg, #e8b0a0, #d98a74); color: #2e140c; }
.d-badge.v-p { background: rgba(255,255,255,.16); color: #e8dfc8; }
.d-sketch { border-radius: 14px; overflow: hidden; border: 1px solid rgba(212,179,113,.25); }
.sketch-svg { display: block; width: 100%; height: auto; }
.d-sketch-tip { color: #8d8875; font-size: 12.5px; margin: 8px 0 4px; }
.d-card h4 {
  color: #f5d490; font-size: 16px; margin: 20px 0 10px;
  padding-bottom: 6px; border-bottom: 1px dashed rgba(212,179,113,.3);
}
.d-syms { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.d-sym {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px;
}
.d-emoji { font-size: 30px; line-height: 1; }
.d-sym strong { display: block; color: #f2e8d0; font-size: 15.5px; margin-bottom: 4px; }
.d-sym p { margin: 3px 0; font-size: 13.5px; color: #bfb79f; line-height: 1.6; }
.d-sym b { color: #d9d2be; }
.lk { font-style: normal; font-weight: 700; font-size: 12px; border-radius: 6px; padding: 1px 7px; margin-left: 4px; }
.lk.lk-j { background: rgba(212,179,113,.25); color: #f5d490; }
.lk.lk-x { background: rgba(217,138,116,.22); color: #ebab97; }
.lk.lk-p { background: rgba(255,255,255,.14); color: #cfc7b2; }
.d-card > p { color: #d5cdb6; font-size: 15px; line-height: 1.75; margin: 10px 0; }
.d-card > p b { color: #f2e8d0; }

@media (max-width: 640px) {
  .predict-quiz, .d-card, .detail-stage { padding: 20px 16px; }
  .p-main { font-size: 16.5px; }
  .p-main b { font-size: 21px; }
  .chips button { font-size: 14px; padding: 7px 13px; }
}

/* 解梦框提示行 */
.detail-hint { color: #9a937c; font-size: 13.5px; line-height: 1.6; margin: 10px 0 2px; }
.detail-hint b { color: #f5d490; }
/* 预言 vs 解梦 区分提示 */
.predict-diff { color: #c9c1ab; font-size: 13.5px; line-height: 1.65; margin: 8px 0 0; background: rgba(212,179,113,.08); border-left: 3px solid rgba(212,179,113,.5); border-radius: 0 10px 10px 0; padding: 9px 14px; }
.predict-diff b { color: #f5d490; }
/* 小红书分享卡容器 */
.xhs-wrap { margin-top: 8px; }
.xhs-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 4px; }
.xhs-bar .share-btn { margin: 0; }
