/* ==================================================================
   哆哆识宝 · 样式（品牌视觉 v2）
   品牌语言：墨绿 × 鎏金 × 羊皮纸（复古探险）
   核心符号：金色问号徽章
   加固：color-scheme 锁浅色（防微信强制深色）；品牌区文字 nowrap
        （防系统大字体把标题挤成竖排）；关键卡片底色用实色。
   ================================================================== */

:root {
  color-scheme: light;               /* 只有浅色版，禁止强制深色 */

  /* 羊皮纸 */
  --paper:      #F2E7CB;
  --paper-card: #FCF6E4;
  --paper-deep: #E9D9B4;
  /* 墨色 */
  --ink:       #3D3222;
  --ink-soft:  #6F5D40;
  --ink-faint: #9C8A68;
  --line:      #E2D2A8;
  /* 墨绿 */
  --green:      #2A5540;
  --green-deep: #1E3E2D;
  --green-mid:  #3E7355;
  --green-soft: #E6EDDC;
  /* 鎏金 */
  --gold:      #C29A3B;
  --gold-deep: #9C7A2E;
  --gold-lite: #EBCB6B;
  --gold-pale: #F7EBC9;
  /* 砖红（安全提醒） */
  --alert:     #A8492F;
  --alert-soft:#F9E5D5;

  --radius:    16px;
  --shadow:    0 2px 10px rgba(62, 50, 32, 0.10);
  --shadow-lg: 0 10px 28px rgba(62, 50, 32, 0.16);

  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Noto Serif SC", serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 羊皮纸底：顶部提亮、四周做旧晕染、淡淡纸纤维 */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 50% -8%, rgba(255, 252, 238, 0.9), rgba(255, 252, 238, 0) 55%),
    radial-gradient(ellipse at 50% 112%, rgba(120, 90, 40, 0.18), rgba(120, 90, 40, 0) 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 30px 16px calc(34px + env(safe-area-inset-bottom));
}

/* ---------------------------- 顶部品牌 ---------------------------- */

.brand { text-align: center; padding-bottom: 22px; }

.medallion {
  line-height: 0;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 6px rgba(62, 50, 32, 0.28));
}

.brand-ribbon {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 16px 4px 20px;       /* 左多 4px，视觉上补 letter-spacing 的尾距 */
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  white-space: nowrap;               /* 大字体模式下也不许散成竖排 */
}

.brand-name {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 6px;
  padding-left: 6px;                 /* 抵消末字 letter-spacing 造成的视觉偏移 */
  color: var(--green-deep);
  text-shadow: 0 1.5px 0 rgba(194, 154, 59, 0.5);
  line-height: 1.25;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}

.brand-sub {
  margin: 8px auto 0;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  padding-left: 2.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}

/* ---------------------------- 舞台切换 ---------------------------- */

.stage { display: none; }
.stage.is-active { display: block; animation: fadeUp 0.32s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------- 第一屏 ---------------------------- */

/* 主卡：羊皮纸 + 鎏金双线框 + 四角金菱 */
.hero-card {
  position: relative;
  background: var(--paper-card);
  border: 1.5px solid var(--gold);
  outline: 1px solid rgba(194, 154, 59, 0.45);
  outline-offset: 3px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 22px;
  text-align: center;
}

.deco {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2.5px var(--paper-card), 0 0 0 3.5px var(--gold);
}
.deco.d1 { top: -6.5px; left: -6.5px; }
.deco.d2 { top: -6.5px; right: -6.5px; }
.deco.d3 { bottom: -6.5px; left: -6.5px; }
.deco.d4 { bottom: -6.5px; right: -6.5px; }

/* 插画窗口：金边圆角，嵌进羊皮纸卡片 */
.hero-art {
  margin: 0 0 4px;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #F6EDD6;
  border: 1px solid rgba(194, 154, 59, 0.55);
}
.hero-art img, .hero-art svg { display: block; width: 100%; height: auto; }

.hero-title {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--green-deep);
}
.hero-sub {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* 主按钮：鎏金面 + 墨绿字，包装同款金绿配 */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--gold-deep);
  border-radius: 12px;
  background: linear-gradient(180deg, #DDB84E, var(--gold));
  box-shadow: 0 3px 0 var(--gold-deep), 0 6px 14px rgba(156, 122, 46, 0.32);
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--gold-deep), 0 3px 8px rgba(156, 122, 46, 0.28);
}
.btn-primary[disabled] {
  background: #CFC4A4;
  border-color: #B3A67F;
  box-shadow: none;
  color: #8A7C5C;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: var(--paper-card);
  color: var(--gold-deep);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-ghost:active { background: var(--gold-pale); }

/* 线索小标签 */
.hint-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.hint-chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FDF9EC;
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.hint-chip.is-on {
  background: var(--green-soft);
  border-color: var(--green-mid);
  color: var(--green);
  font-weight: 600;
}
.hint-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

/* 拍照小贴士：探险手册附页 */
.tips-card {
  margin-top: 16px;
  background: var(--paper-card);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.tips-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--green);
}
.tips-card h3::before { content: '◆ '; color: var(--gold); font-size: 12px; }
.tips-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tips-card li {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 5px 0 5px 16px;
  position: relative;
}
.tips-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.tips-card b { color: var(--ink); font-weight: 600; }

/* ---------------------------- 第二屏：识别中 ---------------------------- */

.loading-card {
  background: var(--paper-card);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px 28px;
  text-align: center;
}
.scan {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 14px rgba(62, 50, 32, 0.15);
  aspect-ratio: 1 / 1;
}
.scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-lite), transparent);
  box-shadow: 0 0 12px 3px rgba(194, 154, 59, 0.65);
  animation: scanMove 1.9s ease-in-out infinite;
}
@keyframes scanMove {
  0%   { top: 6%;  opacity: 0.2; }
  50%  { top: 94%; opacity: 1; }
  100% { top: 6%;  opacity: 0.2; }
}
.loading-text {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--green);
}
.loading-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------------------------- 第三屏：鉴定书 ---------------------------- */

.result-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold);
}

/* 书头：墨绿底 + 鎏金收边 + 鉴定印 */
.rc-head {
  position: relative;
  background: linear-gradient(170deg, #2E5C44, var(--green-deep));
  border-bottom: 3px solid var(--gold);
  padding: 22px 20px 18px;
}
.rc-head::after {
  content: '鉴';
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(235, 203, 107, 0.85);
  border-radius: 50%;
  color: rgba(235, 203, 107, 0.9);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 42px;
  text-align: center;
  transform: rotate(-12deg);
  opacity: 0.9;
}
.rc-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.rc-badge.is-plain {
  background: rgba(255, 255, 255, 0.18);
  color: #EDE3C2;
}
.rc-name {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #F8EFD2;
}
.rc-latin {
  margin: 0 0 3px;
  font-size: 13px;
  color: rgba(237, 227, 194, 0.65);
  font-style: italic;
}
.rc-alias {
  margin: 0;
  font-size: 13px;
  color: rgba(237, 227, 194, 0.85);
}

/* 把握度 */
.rc-conf {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-conf-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.rc-conf-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-lite), var(--gold));
  transition: width 0.6s ease;
}
.rc-conf-num {
  font-size: 12.5px;
  color: rgba(237, 227, 194, 0.9);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 正文各段：羊皮纸 */
.rc-block {
  background: var(--paper-card);
  border-top: 1px solid var(--line);
  padding: 18px 20px;
}
.rc-label {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 900;
  color: var(--gold-deep);
  letter-spacing: 2.5px;
  margin-bottom: 9px;
}
.rc-label::before { content: '◆ '; font-size: 10px; color: var(--gold); }

.rc-features {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-features li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink);
}
.rc-features li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  opacity: 0.6;
}

.rc-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 趣味知识 */
.rc-block.is-facts { background: #FDF7E4; }
.rc-fact + .rc-fact { margin-top: 15px; }
.rc-fact-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.rc-fact-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 安全提醒 —— 刻意做得显眼 */
.rc-block.is-alert {
  background: var(--alert-soft);
  border-top-color: #EAC3AC;
}
.rc-block.is-alert .rc-label { color: var(--alert); }
.rc-block.is-alert .rc-label::before { color: var(--alert); }
.rc-block.is-alert .rc-text { color: #7A3A20; }

.rc-block.is-care { background: #F6EFD8; }
.rc-block.is-care .rc-label { color: var(--gold-deep); }

/* 低把握度提示 */
.rc-followup {
  background: var(--gold-pale);
  border-top-color: #E3CFA0;
}
.rc-followup .rc-label { color: var(--gold-deep); }
.rc-followup-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #7A5F28;
  white-space: pre-line;
}

/* 候选与备注 */
.rc-cand {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  font-size: 14px;
}
.rc-cand-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.rc-cand-pct { color: var(--ink-faint); font-size: 12.5px; white-space: nowrap; }
.rc-cand-why { color: var(--ink-soft); font-size: 13.5px; }

.rc-note {
  margin: 0;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.rc-meta {
  background: var(--paper-card);
  border-top: 1px dashed var(--line);
  padding: 11px 20px 14px;
  font-size: 12px;
  color: var(--ink-faint);
}

/* 操作区 */
.action-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}
.result-disclaimer {
  margin: 14px 2px 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-faint);
}

/* ---------------------------- 出错 ---------------------------- */

.error-card {
  background: var(--paper-card);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px 22px;
  text-align: center;
}
.error-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--alert-soft);
  border: 1.5px solid #E0AC8C;
  color: var(--alert);
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
}
.error-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}
.error-card p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

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

.foot {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot-roles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--green);
  white-space: nowrap;
}
.role + .role { border-left: 1px solid var(--line); }
.role svg { color: var(--gold-deep); flex: none; }

.foot-brand {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--green-deep);
}
.foot-tagline {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--gold-deep);
}
.foot-legal {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-faint);
}
.foot-icp {
  margin: 6px 0 0;
  font-size: 11px;
}
.foot-icp a {
  color: var(--ink-faint);
  text-decoration: none;
}
.foot-icp a:hover { text-decoration: underline; }

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(38px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(10px);
  background: rgba(30, 62, 45, 0.94);
  border: 1px solid var(--gold);
  color: #F8EFD2;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  max-width: 84vw;
  text-align: center;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ------------------------- 轮回鉴定书（person 场景） ------------------------- */

.rl-head { text-align: center; padding: 6px 0 4px; }

.rl-ribbon {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 14px 3px 17px;
  background: var(--gold-pale);
}

.rl-title {
  margin: 10px 0 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--green);
  white-space: nowrap;
}

.rl-sub { margin: 0; font-size: 12.5px; color: #8A6D33; letter-spacing: 1px; }

/* ---- 精怪名字区：全场视觉焦点 ---- */
.sp-hero {
  margin: 10px 0 4px;
  padding: 18px 14px 16px;
  text-align: center;
  background: linear-gradient(180deg, #FBF4E0 0%, var(--gold-pale) 100%);
  border: 1px solid var(--gold);
  border-radius: 14px;
}

.sp-rarity {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #EBCB6B;
  background: var(--green);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 10px;
}

.sp-rarity.r-传说 { background: #8A5A17; }
.sp-rarity.r-史诗 { background: var(--green); }
.sp-rarity.r-稀有 { background: #9C7A2E; }
.sp-rarity.r-普通 { background: #6B5A33; }

.sp-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.2;
  color: var(--green);
  white-space: nowrap;
}

/* 名字长了自动缩小（陨石圣斗士 / 沙漠玫瑰女神这类 6-8 字名号） */
.sp-name.is-long { font-size: 34px; letter-spacing: 3px; }
.sp-name.is-xl { font-size: 27px; letter-spacing: 2px; }

.sp-title {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--gold-deep);
}

/* ---- 三维属性条 ---- */
.sp-stat {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.sp-stat-name {
  flex: 0 0 52px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.sp-stat-bar {
  flex: 1;
  height: 10px;
  background: #E0D0A6;
  border-radius: 999px;
  overflow: hidden;
}

.sp-stat-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
}

.sp-stat-num {
  flex: 0 0 36px;
  text-align: right;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: #8A6D33;
}

/* ---- 绝招 ---- */
.sp-skill-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.sp-skill-desc { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: #4A3A1E; }

/* ---- 口头禅：传播点，做成金句气泡 ---- */
.sp-call {
  margin: 14px 4px 0;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  color: var(--green);
  background: linear-gradient(180deg, #FBF4E0 0%, var(--gold-pale) 100%);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
}

.rl-life { margin-top: 12px; }

.rl-life-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.rl-life-story { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: #4A3A1E; }

/* 金句：小字印在结论下面 */
.rl-quote {
  margin: 16px 4px 0;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.9;
  color: #8A6D33;
  text-align: center;
  background: var(--gold-pale);
  border-radius: 10px;
}

.rl-full { margin: 10px 4px 0; font-size: 13px; color: #8A6D33; }
.rl-full summary { cursor: pointer; text-align: center; outline: none; }
.rl-full p { margin: 10px 0 0; line-height: 1.9; text-align: justify; }

.rl-privacy { margin: 14px 0 0; font-size: 11.5px; color: #A98F55; text-align: center; }

/* 同框彩蛋块 */
.rl-bonus { background: var(--gold-pale); border-color: var(--gold) !important; }

/* ------------------------- 俏皮话（empty 场景） ------------------------- */

.empty-wrap { text-align: center; padding: 18px 8px; }

.empty-q {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--gold);
  color: #EBCB6B;
  font-family: var(--serif);
  font-size: 36px; font-weight: 900;
  line-height: 58px;
}

.empty-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px; font-weight: 900;
  letter-spacing: 3px;
  color: var(--green);
  white-space: nowrap;
}

.empty-witty { margin: 0 auto; max-width: 300px; font-size: 15px; line-height: 1.85; color: #4A3A1E; }

.empty-guide { margin: 16px 0 0; font-size: 12px; letter-spacing: 0.5px; color: #A98F55; }

/* ------------------------- 分享卡片弹层 ------------------------- */

.share-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(23, 38, 25, 0.78);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.share-mask.is-show { display: flex; }

.share-box { width: 100%; max-width: 340px; text-align: center; }

.share-img {
  width: 100%; display: block;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.share-tip { margin: 12px 0 10px; font-size: 13px; color: #EBCB6B; }

.share-close {
  border: 1px solid rgba(235, 203, 107, 0.6);
  background: transparent;
  color: #EBCB6B;
  font-size: 14px;
  border-radius: 999px;
  padding: 7px 26px;
}