/* ============================================================
   牡丹仙子 · Web MVP
   视觉按《UI设计稿》(2026-10-18)：仙气柔光 / 薰衣草粉紫
   ============================================================ */
:root {
  --lav-1: #f7ebf6;
  --lav-2: #e9dcf4;
  --lav-3: #dccdf0;
  --card: rgba(255, 255, 255, .72);
  --ink: #4b3b57;
  --ink-2: #7a6890;
  --ink-3: #a496b8;
  --rose: #e888a8;
  --rose-d: #d0688c;
  --pink-btn: #f0a9bd;
  --pink-btn-2: #e88ba5;
  --line: rgba(140, 110, 170, .16);
  --shadow: 0 8px 26px rgba(120, 90, 150, .16);
  --r: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: #2c2334;
  overflow: hidden;
  /* ★ 不要用 flex 居中：当 .phone 的 100% 宽度受父级 flex 项最小尺寸影响时，
     会溢出右边界，实测右侧「种子」胶囊被裁掉一半。用 margin:auto 更稳。 */
}

.phone {
  position: relative; margin: 0 auto;
  width: 100%; max-width: 430px; height: 100%; max-height: 932px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--lav-1) 0%, var(--lav-2) 42%, var(--lav-3) 100%);
  color: var(--ink);
}

/* ── 全屏场景图 ── */
.bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% 42%;
  background-color: var(--lav-2);
  transition: filter .55s ease, transform .6s ease;
}
.bg.blurred { filter: blur(9px) brightness(1.02) saturate(1.05); transform: scale(1.08); }
.veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(245, 232, 246, .55) 0%, rgba(245, 232, 246, 0) 16%),
    linear-gradient(0deg, rgba(238, 226, 244, .92) 0%, rgba(238, 226, 244, .55) 18%, rgba(238, 226, 244, 0) 34%);
}

/* ── 顶部资源 ── */
.res {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; gap: 10px; padding: 14px 16px 0;
  padding-top: max(14px, env(safe-area-inset-top));
}
.pill {
  flex: 1; display: flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(120, 90, 150, .10);
  backdrop-filter: blur(8px);
  font-size: 15px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pill em { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--ink-3); margin-left: auto; }
.ic { width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto; }
.ic.petal { background: radial-gradient(circle at 34% 30%, #ffd9e6, #e888a8); box-shadow: 0 0 8px rgba(232, 136, 168, .55); }
.ic.seed { background: radial-gradient(circle at 34% 30%, #f6e3ac, #d8b25e); box-shadow: 0 0 8px rgba(216, 178, 94, .5); }

/* ── 屏幕容器 ── */
.screen {
  position: absolute; inset: 0; z-index: 3;
  display: none; flex-direction: column;
  padding-top: 66px; padding-bottom: 76px;
}
.screen.active { display: flex; }

/* ── 花田：底部信息 ── */
.floor {
  margin-top: auto; padding: 0 18px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 5;
}
.flabel { display: flex; align-items: center; gap: 9px; }
.fname {
  font-size: 19px; font-weight: 600; letter-spacing: .1em; color: #6b4560;
  text-shadow: 0 1px 8px rgba(255, 255, 255, .8);
}
.frar {
  font-size: 9.5px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); color: var(--rose-d);
  border: 1px solid rgba(232, 136, 168, .4);
  letter-spacing: .04em;
}
.fmeta {
  font-size: 11px; color: var(--ink-2); letter-spacing: .04em;
  text-shadow: 0 1px 6px rgba(255, 255, 255, .7);
}
.btn-main {
  width: 100%; height: 50px; margin-top: 4px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-btn), var(--pink-btn-2));
  color: #fff; font-size: 16px; font-weight: 600;
  font-family: inherit; letter-spacing: .32em; text-indent: .32em;
  box-shadow: 0 8px 22px rgba(232, 139, 165, .42);
  transition: transform .12s ease, opacity .2s ease;
  cursor: pointer;
}
.btn-main:active:not(:disabled) { transform: scale(.975); }
.btn-main:disabled { background: rgba(255, 255, 255, .55); color: var(--ink-3); box-shadow: none; }
.fhint {
  min-height: 15px; font-size: 11px; color: var(--ink-2); text-align: center;
  letter-spacing: .03em;
}
.fhint.warn { color: #c9713f; }

/* ── 未开箱：花苞 ── */
.budwrap {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; padding-bottom: 90px;
}
.budwrap[hidden] { display: none; }
.bud {
  position: relative; width: 132px; height: 132px; border: 0; background: none;
  cursor: pointer; display: grid; place-items: center;
}
.bud-body {
  width: 52px; height: 74px;
  background: linear-gradient(160deg, #f6b8c8 0%, #e07394 55%, #b34a6c 100%);
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  box-shadow: inset -6px -10px 18px rgba(140, 50, 80, .28), 0 8px 26px rgba(200, 110, 140, .4);
  animation: budBreathe 2.8s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.bud-glow {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 236, .85) 0%, rgba(255, 210, 228, .3) 45%, transparent 70%);
  animation: glowPulse 2.8s ease-in-out infinite;
}
@keyframes budBreathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50%      { transform: scale(1.07) rotate(1deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50%      { opacity: .95; transform: scale(1.06); }
}
.bud-tip {
  text-align: center; font-size: 15px; color: #6b4a62; line-height: 1.9;
  letter-spacing: .08em; text-shadow: 0 1px 8px rgba(255, 255, 255, .85);
}
.bud-tip small { font-size: 11px; color: var(--ink-2); letter-spacing: .03em; }

/* ── 掉落物（点击类玩法：点一下收一个，无弹窗）── */
.drops { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.drop {
  position: absolute; width: 54px; height: 54px; border: 0; padding: 0;
  display: grid; place-items: center; pointer-events: auto; cursor: pointer;
  background: none;
  animation: dropFloat 3.4s ease-in-out infinite;
}
/* ★ 掉落物必须在花色场景上"跳出来"。
   踩过的坑：第一版只用 24px 粉色圆点 + 柔和阴影，放在粉色花瓣上**几乎看不见**，
   玩家根本不知道要点什么。现在改成：白描边环 + 外发光 + 双层投影 + 更大尺寸。 */
.drop .glyph {
  position: relative;
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .35),
    0 0 16px 4px rgba(255, 255, 255, .75),
    0 6px 14px rgba(110, 60, 90, .45),
    inset 0 -3px 6px rgba(255, 255, 255, .5);
}
.drop.petal .glyph { background: radial-gradient(circle at 34% 28%, #fff0f5, #ef6f96 62%, #c04a6f); }
.drop.seed  .glyph { background: radial-gradient(circle at 34% 28%, #fffbe0, #e8b23c 62%, #a97a1e); border-radius: 50% 50% 46% 46%; }
.drop::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 62%);
  opacity: .8;
}
.drop.pop { animation: dropPop .34s ease-out forwards; pointer-events: none; }
@keyframes dropFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-7px) scale(1.06); }
}
@keyframes dropPop {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* +N 飘字 */
.floatlayer { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.fly {
  position: absolute; font-size: 17px; font-weight: 700; color: #d0688c;
  text-shadow: 0 2px 8px rgba(255, 255, 255, .95);
  animation: flyUp 1s ease-out forwards;
  font-variant-numeric: tabular-nums;
}
.fly.seed { color: #b8862e; }
@keyframes flyUp {
  0%   { transform: translate(-50%, 0) scale(.7); opacity: 0; }
  22%  { transform: translate(-50%, -14px) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -72px) scale(1); opacity: 0; }
}

/* ── 内页通用 ── */
.page { padding-left: 16px; padding-right: 16px; overflow-y: auto; }

/**
 * ★ 关键修复（2026-10-20）：「我的」页的任务中心/积分商城/邀请好友被裁掉。
 *
 * .screen.page 同时带 .screen 类，所以是「固定高度的 flex 列容器」。
 * flex 子元素默认 flex-shrink:1 —— 内容放不下时**不是溢出滚动，而是被压扁**：
 * 实测 .menu 被压到 47px（内容需要 152px），再被它自己的 overflow:hidden 裁掉，
 * 结果既没有滚动条、内容又消失了。
 *
 * 让内页的子元素不参与收缩，撑满就交给 .page 的 overflow-y 去滚动。
 */
.page > * { flex: 0 0 auto; }

.ptitle {
  text-align: center; font-size: 17px; font-weight: 600; letter-spacing: .3em;
  color: #6b4a62; text-indent: .3em; padding: 14px 0 4px;
}
.psub { text-align: center; font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 18px; }

/* 小游戏卡片 */
.gcard {
  position: relative; height: 126px; border-radius: var(--r); overflow: hidden;
  margin-bottom: 14px; box-shadow: var(--shadow);
  display: flex; align-items: stretch;
}
.gcard-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% 46%;
  transform: scale(1.03);
  filter: saturate(1.05) brightness(1.06);
}
.g5 { background-image: url('/assets/peony/05.jpg'); }
.g4 { background-image: url('/assets/peony/04.jpg'); }
.gcard::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 255, .9) 0%, rgba(255, 250, 255, .62) 46%, rgba(255, 250, 255, 0) 72%);
}
.gcard-in { position: relative; z-index: 2; padding: 20px 0 16px 18px; display: flex; flex-direction: column; gap: 5px; max-width: 68%; }
.gname { font-size: 17px; font-weight: 600; color: #5d3f56; letter-spacing: .04em; }
.gdesc { font-size: 10.5px; color: var(--ink-2); line-height: 1.55; }
.gcost {
  align-self: flex-start; margin-top: auto;
  font-size: 9.5px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); color: var(--rose-d);
  border: 1px solid rgba(232, 136, 168, .35);
}
.gplay {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; color: #fff;
  background: linear-gradient(135deg, var(--pink-btn), var(--pink-btn-2));
  box-shadow: 0 4px 14px rgba(232, 139, 165, .5);
}
.gnote { text-align: center; font-size: 10.5px; color: var(--ink-3); line-height: 1.9; margin-top: 6px; }
.gnote b { color: var(--rose-d); font-variant-numeric: tabular-nums; }

/* 我的 */
.mehead { display: flex; align-items: center; gap: 12px; padding: 8px 4px 18px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px; color: #fff;
  background: linear-gradient(140deg, #f2b6c8, #d97e9c);
  box-shadow: 0 4px 14px rgba(217, 126, 156, .4);
}
.mename { font-size: 16px; font-weight: 600; color: #5d3f56; letter-spacing: .04em; }
.meid { font-size: 10px; color: var(--ink-3); margin-top: 3px; letter-spacing: .04em; }

.stats { display: flex; gap: 10px; margin-bottom: 16px; }
.stat {
  flex: 1; padding: 13px 8px; border-radius: 14px;
  background: var(--card); box-shadow: 0 4px 14px rgba(120, 90, 150, .10);
  text-align: center; backdrop-filter: blur(6px);
}
.stat b { display: block; font-size: 19px; color: var(--rose-d); font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 10px; color: var(--ink-3); margin-top: 3px; letter-spacing: .06em; }

.menu { border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 4px 14px rgba(120, 90, 150, .10); margin-bottom: 18px; }
.mrow {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px;
  font-size: 13px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mrow:last-child { border-bottom: 0; }
.mi {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11px; font-style: normal; color: #fff;
  background: linear-gradient(140deg, #f3c2d2, #e497b1);
}
.mrow span { flex: 1; }
.dot {
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px;
  background: #ec6f92; color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}
.chev { color: var(--ink-3); font-size: 15px; font-weight: 400; }

.atlas { padding-bottom: 10px; }
.atl-t { font-size: 12.5px; color: #6b4a62; letter-spacing: .16em; margin: 0 2px 10px; }
.atl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.acard {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background: rgba(225, 210, 238, .75);
  box-shadow: 0 3px 10px rgba(120, 90, 150, .10);
  display: grid; place-items: center;
}
.acard img { width: 100%; height: 100%; object-fit: cover; }
.acard .q { font-size: 19px; color: rgba(255, 255, 255, .85); }
.acard .alab {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-size: 9px; text-align: center; padding: 2px 0 3px;
  background: rgba(255, 255, 255, .72); color: var(--ink-2);
}
.acard.locked { background: linear-gradient(160deg, #e2d3ee, #d5c3e8); }
.acard.locked .alab { background: rgba(255, 255, 255, .55); color: var(--ink-3); }
.acard.owned { outline: 2px solid rgba(232, 136, 168, .55); outline-offset: -2px; }

/* 底部栏 */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  height: 64px; padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: rgba(250, 244, 252, .84);
  border-top: 1px solid rgba(180, 150, 200, .16);
  backdrop-filter: blur(12px);
}
.tab {
  flex: 1; border: 0; background: none; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 9.5px; letter-spacing: .08em; color: #b3a3c2; cursor: pointer;
}
.tab.active { color: #d0688c; font-weight: 600; }
.ti { width: 17px; height: 17px; border-radius: 5px; background: #c8b8d4; }
.tab.active .ti { background: linear-gradient(140deg, #f3a7bd, #dd6f8f); box-shadow: 0 0 10px rgba(232, 139, 165, .55); }

.toast {
  position: absolute; left: 50%; bottom: 96px; transform: translate(-50%, 14px);
  z-index: 20; max-width: 84%;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(70, 45, 70, .9); color: #fff;
  font-size: 12px; line-height: 1.6; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   放置类自动产出（2026-10-18）：无采集按钮
   产出物像"植物大战僵尸的太阳"那样从上方飘落，点一下收进兜里。
   ============================================================ */

/* 下落：先从上方掉到落点，然后原地轻浮 */
.drop.falling {
  animation:
    dropFall .95s cubic-bezier(.3, .8, .45, 1) both,
    dropBob 3.2s ease-in-out .95s infinite;
}
@keyframes dropFall {
  0%   { transform: translateY(-150px) scale(.6); opacity: 0; }
  55%  { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes dropBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-7px) scale(1.06); }
}

/* 落地标记：脚下一点柔光，让"停在哪儿"更清楚 */
.drop::before {
  content: '';
  position: absolute; left: 50%; bottom: -4px; width: 30px; height: 8px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, .85), transparent 70%);
  opacity: .75;
}

/* 底部信息区（没有按钮了，收紧一些） */
.floor { gap: 6px; padding-bottom: 6px; }
.fhint { min-height: 16px; }
/* ============================================================
   2026-10-18 追加：
   ① 背景与牡丹分离（共用虚化场景 + 透明花叠加）
   ② 底部导航栏按《05-底部导航栏设计》重做
   ============================================================ */

/* 背景改为共用场景图，不再随花色换整张图 */
.bg {
  background-image: url('/assets/scene/bg.jpg');
  background-position: 50% 46%;
}

/* 透明牡丹层：底部对齐，坐在花田下沿之上 */
.flowerstage {
  position: absolute; left: 0; right: 0;
  top: 7.5%; bottom: 24%;
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 3; pointer-events: none;
}
.flowerstage img {
  height: 100%; width: auto; max-width: 96%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(150, 100, 140, .22));
  transition: opacity .35s ease, transform .6s cubic-bezier(.18, .9, .25, 1);
  -webkit-user-drag: none;
}
/* 开箱瞬间：花从下方轻轻升起 */
.flowerstage.blooming img {
  animation: bloomRise .9s cubic-bezier(.18, .9, .25, 1) both;
}
@keyframes bloomRise {
  0%   { transform: translateY(26px) scale(.92); opacity: 0; filter: brightness(1.6) blur(2px); }
  60%  { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: brightness(1) blur(0); }
}
.flowerstage[hidden] { display: none; }

/* ── 底部导航：悬浮白胶囊 ── */
.tabbar {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  height: 74px; z-index: 8;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 0; border-radius: 26px;
  box-shadow: 0 10px 30px rgba(150, 110, 160, .18);
  backdrop-filter: blur(14px);
  padding-bottom: 0;
}
.tab {
  flex: 1; height: 100%; border: 0; background: none; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer;
  font-size: 10px; letter-spacing: .1em; color: #b3a3c2;
  transition: color .2s ease;
}
.tab .ti {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.tab .ti svg {
  width: 19px; height: 19px;
  fill: none; stroke: #b9aac6; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .22s ease;
}
/* 选中：粉色实心圆 + 白色图标 + 粉色文字 */
.tab.active { color: #e06a90; font-weight: 600; }
.tab.active .ti {
  background: linear-gradient(140deg, #f6b5c8, #ec7fa0);
  box-shadow: 0 6px 16px rgba(236, 127, 160, .45);
  transform: translateY(-1px);
}
.tab.active .ti svg { stroke: #fff; stroke-width: 1.7; }
/* 图标区域抬高，文字仍然对齐在同一基线 */
.tab .ti { margin-top: -8px; }
.tab.active .ti { margin-top: -10px; }
/* 底部栏改成悬浮胶囊后，toast 要抬高，否则会盖住花名与稀缺度（实测盖住了） */
.toast { bottom: 132px; }

/* 透明花与背景之间加一点"落地感"：茎底下的柔和投影 */
.flowerstage::after {
  content: '';
  position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 46%; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(120, 70, 110, .26), rgba(120, 70, 110, .07) 55%, transparent 72%);
  filter: blur(6px);
  z-index: -1;
}
/* ============================================================
   2026-10-18 追加②：内页背景不再"素"
   问题：背景与花分离后，内页把 .bg 设成了透明 ⇒ 只剩纯色渐变，
        小游戏页/我的页像空 PPT。
   方案：① 内页保留场景底，但压一层"磨砂"保证文字可读；
        ② 每页再叠一张超大的半透明牡丹做装饰（复用已有透明素材）。
   ============================================================ */

/* 内页磨砂罩：场景仍可见，但被柔化，卡片和文字更清楚 */
.phone.inner .veil {
  background:
    linear-gradient(180deg,
      rgba(248, 238, 248, .86) 0%,
      rgba(240, 228, 246, .78) 34%,
      rgba(233, 221, 245, .88) 100%);
}
/* 内页把场景稍微放大一点，避免边缘露出空白 */
.phone.inner .bg { transform: scale(1.06); }

/* 每页一张装饰牡丹：超大、极淡、出血到画面外 */
.screen.page { isolation: isolate; }
.screen.page::before {
  content: '';
  position: absolute; z-index: -1; pointer-events: none;
  inset: -6% -34% auto -34%;
  height: 62%;
  background-repeat: no-repeat;
  background-position: 84% -6%;
  background-size: 118% auto;
  opacity: .17;
  filter: saturate(1.1) blur(.5px);
}
/* 小游戏页：紫牡丹从右上探进来 */
.screen.page[data-screen="game"]::before {
  background-image: url('/assets/peony/cut/05.webp');
  background-position: 88% -10%;
}
/* 小游戏页底部再来一朵，填掉下半屏的空 */
.screen.page[data-screen="game"]::after {
  content: '';
  position: absolute; z-index: -1; pointer-events: none;
  left: -30%; right: -30%; bottom: -14%; height: 46%;
  background: url('/assets/peony/cut/04.webp') no-repeat 12% 60% / 92% auto;
  opacity: .13;
  filter: blur(1px);
}
/* 我的页：黄牡丹压在右上，与图鉴里的黄色呼应 */
.screen.page[data-screen="me"]::before {
  background-image: url('/assets/peony/cut/02.webp');
  background-position: 92% -8%;
  background-size: 112% auto;
  opacity: .15;
}

/* 小游戏页：补一个"筹备中"幽灵卡，避免大块空白 */
.soon {
  margin-top: 2px; height: 62px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 11px; letter-spacing: .1em; color: #b6a6c6;
  background: rgba(255, 255, 255, .34);
  border: 1px dashed rgba(180, 150, 200, .38);
}
.soon i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #d9c8e6; box-shadow: 0 0 0 3px rgba(217, 200, 230, .3);
}
/* 图鉴格子：原来 object-fit:cover 默认居中，裁到的是天空，花只剩一点。
   满屏图里花在画面中上部 ⇒ 把裁切焦点上移，让花头填满格子。 */
.acard img { object-fit: cover; object-position: 50% 32%; transform: scale(1.06); }

/* 我的页底部留白补一句说明，避免整屏空 */
.me-foot {
  margin: 18px 2px 6px; font-size: 10px; line-height: 1.9;
  color: #b0a0bd; letter-spacing: .04em; text-align: center;
}
/* 图鉴：改为透明花素材，裁切焦点对准花头（花在 cut 图的顶部区域）。
   满屏图裁切出来基本只有天空，花头太小。 */
.acard img {
  object-fit: cover;
  object-position: 50% 6%;
  transform: scale(1.35);
  transform-origin: 50% 6%;
}
.acard { background: linear-gradient(160deg, #efe2f6, #e2d2ef); }
/* ============================================================
   顶部资源栏 · 按《06-顶部资源栏设计》对齐
   差别：花瓣是**水滴形**（不是圆点）、种子是**竖椭圆**；
        数字更深更大，标签更淡更小。
   ============================================================ */
.res { gap: 11px; padding: 16px 14px 0; padding-top: max(16px, env(safe-area-inset-top)); }
.pill {
  height: 40px; padding: 0 16px; gap: 9px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 4px 16px rgba(150, 110, 170, .10);
}
.pill span {
  font-size: 16px; font-weight: 700; color: #3f3348;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.pill em { color: #b3a6c0; font-size: 11px; letter-spacing: .06em; }

/* 花瓣：水滴（一个角是尖的，整体转 -45° 让尖朝上） */
.ic { width: 16px; height: 16px; border-radius: 0; box-shadow: none; flex: 0 0 auto; }
.ic.petal {
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: radial-gradient(circle at 36% 30%, #ffe2ec, #f08aa6 56%, #d4567a);
  box-shadow: 0 0 9px rgba(240, 138, 166, .5);
}
/* 种子：竖椭圆，金渐变 + 左上高光 */
.ic.seed {
  width: 12.5px; height: 16.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 26%, #fff6cf, #e8b93f 58%, #b8831f);
  box-shadow: 0 0 9px rgba(232, 185, 63, .45);
}
/* 底部提示最后一行被悬浮导航压住（实测"今天的产出已收完"下缘被切） */
.screen { padding-bottom: 106px; }
.floor { padding-bottom: 12px; }
/* ============================================================
   顶部资源栏 · 用 SVG 重画图标（圆角色块拼不出真正的水滴）
   + 实心白底、细描边、图标 18px、数字 17px
   ============================================================ */
.res { gap: 11px; padding: 16px 14px 0; padding-top: max(16px, env(safe-area-inset-top)); }
.pill {
  height: 42px; padding: 0 15px; gap: 9px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 5px 16px rgba(150, 110, 170, .15);
}
.pill .ic { width: 18px; height: 18px; flex: 0 0 auto; display: block;
            filter: drop-shadow(0 1px 4px rgba(200, 120, 160, .35)); }
.pill span { font-size: 17px; font-weight: 700; color: #3a2e44;
             font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pill em { margin-left: auto; font-style: normal; font-size: 11px;
           color: #b3a6c0; letter-spacing: .08em; }
/* ============================================================
   顶部资源栏 · 对齐设计稿细节
   ① 胶囊不是纯白：淡藕荷底 + 白色描边（纯白在花背景上太刺）
   ② 图标加宽加胖（水滴高宽比 ~1.15，底部接近圆）
   ③ 数字加大到 19px
   ④ 内容整体居中 —— 早期数字只有个位数（如"1"），
      原来把「花瓣」顶到最右边会空出一大片，居中后个位数也平衡
   ============================================================ */
.pill {
  height: 42px; padding: 0 14px; gap: 9px;
  justify-content: center;
  background: linear-gradient(180deg, #f8f3fc, #f1e9f7);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 4px 14px rgba(150, 110, 170, .13);
}
.pill .ic { width: 20px; height: 20px; }
.pill span { font-size: 19px; font-weight: 700; color: #453a52; }
.pill em {
  margin-left: 4px; font-style: normal; font-size: 10.5px;
  color: #b6aac2; letter-spacing: .06em;
}
/* ============================================================
   首页背景：天空 + 草地（地平线在 58%）
   牡丹相应缩小，花根落在草地带上，不要顶到两边
   ============================================================ */
.bg { background-position: 50% 50%; background-size: cover; }
.flowerstage { top: 13%; bottom: 29%; }           /* 花高约占屏幕 58%（原来 68%） */
.flowerstage img { max-width: 78%; }               /* 同时收窄，避免顶边 */
.flowerstage::after { bottom: -2px; width: 38%; opacity: .9; }
/* 花茎底部落在草地带上，用影子盖住透明图的切断口 */
.flowerstage::after {
  bottom: -8px; width: 44%; height: 30px;
  background: radial-gradient(ellipse, rgba(90, 60, 80, .30), rgba(90, 60, 80, .10) 55%, transparent 74%);
  filter: blur(7px);
}
/* ============================================================
   景深（用客户提供的草地实拍素材）
   · 底色：上=云山（远，本身已柔），下=草地（近，实拍清晰）
   · 再叠一层模糊的同一张图，用遮罩限制在天空区，强化"远处更虚"
   · 花根落在草地带上，用接触阴影压住透明素材的切断口
   ============================================================ */
.bg { background-position: 50% 50%; background-size: cover; }
.bg::after {
  content: '';
  position: absolute; inset: -3%;
  background: url('/assets/scene/bg.jpg') center 50% / cover no-repeat;
  filter: blur(9px) brightness(1.04);
  -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 20%, rgba(0,0,0,.60) 42%, rgba(0,0,0,.18) 54%, transparent 60%);
  mask-image: linear-gradient(to bottom,
      #000 0%, #000 20%, rgba(0,0,0,.60) 42%, rgba(0,0,0,.18) 54%, transparent 60%);
  pointer-events: none;
}

/* 花往下压一点，让根落在草地的花丛里（草地从 60% 开始） */
.flowerstage { top: 12%; bottom: 26%; }
.flowerstage img { max-width: 76%; }

/* 花根处的接触阴影：把茎的断面"钉"进草地 */
.flowerstage::after {
  content: '';
  position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  width: 40%; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56, 46, 40, .45) 0%, rgba(56, 46, 40, .16) 50%, transparent 72%);
  filter: blur(5px);
  z-index: 1;
}
/* 底部花名/产出压在草地与花丛上，加一层柔光衬底保证可读 */
.floor { position: relative; }
.floor::before {
  content: '';
  position: absolute; left: -22px; right: -22px; top: -30px; bottom: -34px;
  background: linear-gradient(to top,
    rgba(255, 252, 255, .90) 0%,
    rgba(255, 250, 255, .68) 40%,
    rgba(255, 250, 255, .28) 72%,
    transparent 100%);
  z-index: -1; pointer-events: none;
}
/* 字再压深一点，草地背景下更稳 */
.fname { color: #5d3a52; text-shadow: 0 1px 6px rgba(255,255,255,.9); }
.fmeta { color: #6d5570; text-shadow: 0 1px 5px rgba(255,255,255,.85); }
.fhint { color: #7a6280; text-shadow: 0 1px 5px rgba(255,255,255,.8); }
/* ============================================================
   变花大典 · 游戏浮层（无独立页面，点卡即开）
   ============================================================ */
.gameoverlay {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column;
  background: rgba(30, 18, 34, .55);
  backdrop-filter: blur(6px);
  padding: 74px 18px 92px;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.gameoverlay.show { opacity: 1; pointer-events: auto; }
.gameoverlay[hidden] { display: none; }

.ghd { text-align: center; margin-bottom: 6px; }
.ghd h3 { font-size: 19px; color: #fff; letter-spacing: .16em; font-weight: 600; }
.ghd p { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 6px; letter-spacing: .04em; }

.gcards { display: flex; gap: 14px; margin-top: auto; margin-bottom: auto; }
.gpick {
  flex: 1; border: 0; padding: 0; background: rgba(255,255,255,.14);
  border-radius: 20px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.gpick:active { transform: scale(.97); }
.gpick img { width: 100%; height: 190px; object-fit: contain; display: block;
             background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.22), transparent 70%); }
.gpick b { color: #fff; font-size: 12px; letter-spacing: .12em; padding: 8px 0 12px; font-weight: 500; }
.gpick.win { border-color: #ffd98a; box-shadow: 0 0 0 2px rgba(255,217,138,.6), 0 8px 30px rgba(255,200,120,.45); }
.gpick.lose { opacity: .38; }
.gpick.dim { opacity: .45; }

.gres { text-align: center; color: #fff; min-height: 74px; }
.gres .big { font-size: 22px; font-weight: 700; letter-spacing: .1em; }
.gres .sub { font-size: 12px; color: rgba(255,255,255,.78); margin-top: 8px; line-height: 1.7; }
.gres .win { color: #ffd98a; }
.gres .lose { color: #c9b8d6; }

.gfoot { display: flex; gap: 10px; }
.gfoot button {
  flex: 1; height: 44px; border: 0; border-radius: 999px; font-family: inherit;
  font-size: 14px; letter-spacing: .18em; cursor: pointer;
}
.gfoot .again { background: linear-gradient(135deg, #f0a9bd, #e88ba5); color: #fff;
                box-shadow: 0 6px 20px rgba(232,139,165,.45); }
.gfoot .close { background: rgba(255,255,255,.18); color: #fff; }
.gfoot button:disabled { opacity: .45; }

/* ============================================================
   积分商城（2026-10-19）
   ============================================================ */
.shophead { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; }
.backbtn {
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.72); color: #6b4a62; font-size: 20px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding-bottom: 3px;
  box-shadow: 0 3px 10px rgba(150,110,170,.14);
}
.shopt { font-size: 16px; font-weight: 600; color: #5d3f56; letter-spacing: .16em; }
.shopbal {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.8);
  box-shadow: 0 3px 10px rgba(150,110,170,.12);
}
.shopbal b { font-size: 15px; color: #d0688c; font-variant-numeric: tabular-nums; }

.shoplist { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.sitem {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 16px;
  background: rgba(255,255,255,.76); box-shadow: 0 4px 14px rgba(150,110,170,.10);
}
.sitem .sthumb {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(150deg, #f7e6f0, #ead3e6);
}
.sitem .smeta { flex: 1; min-width: 0; }
.sitem .sname { font-size: 13.5px; color: #4b3b57; font-weight: 600; }
.sitem .sdesc { font-size: 10.5px; color: #a496b8; margin-top: 3px; line-height: 1.5; }
.sitem .sprice { font-size: 11px; color: #d0688c; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sitem .sbtn {
  flex: 0 0 auto; height: 32px; padding: 0 14px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 12px; letter-spacing: .08em; cursor: pointer;
  background: linear-gradient(135deg, #f0a9bd, #e88ba5); color: #fff;
  box-shadow: 0 4px 12px rgba(232,139,165,.35);
}
.sitem .sbtn:disabled { background: rgba(200,185,210,.5); color: #fff; box-shadow: none; cursor: not-allowed; }

.shoporders { display: flex; flex-direction: column; gap: 8px; }
.sorder {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.6);
  font-size: 11.5px; color: #6b5a72;
}
.sorder .so-no { margin-left: auto; color: #a496b8; font-size: 10px; font-variant-numeric: tabular-nums; }
.rempty { text-align: center; color: #b0a0bd; font-size: 11px; padding: 14px 0; }


/* ============================================================
   任务中心（2026-10-20）
   ============================================================ */
.tasklist { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.titem {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 16px;
  background: rgba(255,255,255,.76); box-shadow: 0 4px 14px rgba(150,110,170,.10);
}
.titem.done { background: rgba(255,255,255,.9); }
.titem.claimed { opacity: .62; }
.titem .ticon {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 17px;
  background: linear-gradient(150deg, #f7e6f0, #ead3e6);
}
.titem .tmeta { flex: 1; min-width: 0; }
.titem .tname { font-size: 13.5px; color: #4b3b57; font-weight: 600; }
.titem .tdesc { font-size: 10.5px; color: #a496b8; margin-top: 3px; line-height: 1.5; }
.titem .treward { font-size: 11px; color: #d0688c; margin-top: 4px; }
.titem .tbtn {
  flex: 0 0 auto; height: 32px; padding: 0 14px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 12px; letter-spacing: .06em; cursor: pointer;
  background: linear-gradient(135deg, #f0a9bd, #e88ba5); color: #fff;
  box-shadow: 0 4px 12px rgba(232,139,165,.32);
}
.titem .tbtn.claim { background: linear-gradient(135deg, #f6c98a, #e5a44e); }
.titem .tbtn:disabled { background: rgba(200,185,210,.45); color: #fff; box-shadow: none; cursor: not-allowed; }
.tprog { font-size: 10px; color: #b08cc0; margin-top: 3px; }


/* ============================================================
   签到 / 邀请 / 广告位（2026-10-20）
   ============================================================ */
.cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  padding: 14px 12px; border-radius: 16px;
  background: rgba(255,255,255,.72); box-shadow: 0 4px 14px rgba(150,110,170,.10);
  margin-bottom: 16px;
}
.cal .cd {
  aspect-ratio: 1/1; border-radius: 10px; display: grid; place-items: center;
  font-size: 11px; color: #8b7a96; background: rgba(240,232,248,.7);
}
.cal .cd.on { background: linear-gradient(140deg, #f3a7bd, #dd6f8f); color: #fff; font-weight: 700; }
.cal .cd.today { outline: 2px solid #e88ba5; outline-offset: -2px; }
.cal .cd.empty { background: transparent; }

.invitecard {
  padding: 18px 16px; border-radius: 18px; text-align: center;
  background: rgba(255,255,255,.78); box-shadow: 0 6px 18px rgba(150,110,170,.12);
}
.invlabel { font-size: 11px; color: #a496b8; letter-spacing: .12em; }
.invcode {
  font-size: 30px; font-weight: 700; letter-spacing: .28em; color: #d0688c;
  margin: 8px 0 10px; font-variant-numeric: tabular-nums;
}
.invhint { font-size: 10.5px; color: #b0a0bd; line-height: 1.7; margin-bottom: 14px; }

/* 广告占位层：真实接入时替换为 SDK 的原生插屏 */
.adlayer {
  position: absolute; inset: 0; z-index: 40;
  background: rgba(24, 16, 28, .78);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.adlayer.show { opacity: 1; }
.adlayer[hidden] { display: none; }
.adbox {
  width: 84%; border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.4);
  position: relative;
}
.adbox .adtag {
  position: absolute; left: 8px; top: 8px; font-size: 9px;
  padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.5); color: #fff;
}
.adbox .adbody {
  height: 260px; display: grid; place-items: center; gap: 10px;
  background: linear-gradient(160deg, #f7e6f0, #e6d6f2); color: #6b4a62;
}
.adbox .adbody .adt { font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.adbox .adbody .ads { font-size: 10.5px; color: #a496b8; }
.adclose {
  width: 100%; height: 46px; border: 0; font-family: inherit; font-size: 13px;
  letter-spacing: .16em; background: #fff; color: #6b4a62; cursor: pointer;
  border-top: 1px solid rgba(140,110,170,.14);
}
.adclose:disabled { color: #c3b4cc; }

/* 结算后牌面锁定：视觉上也要看出来不能再点 */
.gcards.locked { pointer-events: none; }
.gcards.locked .gpick { cursor: default; }
.gcards.locked .gpick.win { border-color: #ffd98a; box-shadow: 0 0 0 2px rgba(255,217,138,.65), 0 10px 30px rgba(255,200,120,.5); }

/* ============================================================
   登录页
   ============================================================ */
.loginlayer {
  position: absolute; inset: 0; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24, 16, 28, .72);
  backdrop-filter: blur(3px);
  animation: lgFade .22s ease;
}
@keyframes lgFade { from { opacity: 0 } to { opacity: 1 } }
.loginlayer[hidden] { display: none; }

.loginbox {
  width: 82%; max-width: 340px;
  padding: 26px 20px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(60, 30, 60, .34);
  text-align: center;
}
.lg-title {
  font-size: 21px; font-weight: 700; letter-spacing: .22em;
  color: #6b4a62; margin-bottom: 6px;
}
.lg-sub { font-size: 11px; color: #a496b8; margin-bottom: 20px; }

.lg-field {
  display: flex; align-items: center; gap: 8px;
  height: 46px; margin-bottom: 12px; padding: 0 12px;
  border-radius: 12px; background: #f5f1f8;
  border: 1px solid transparent; transition: border-color .16s;
}
.lg-field:focus-within { border-color: #eea9c0; }
.lg-icon { font-size: 14px; opacity: .7; }
.lg-field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; background: transparent; outline: none;
  font-family: inherit; font-size: 14px; color: #4b3b57;
  letter-spacing: .04em;
}
.lg-field input::placeholder { color: #b9aac6; }

.lg-send {
  flex: none; height: 30px; padding: 0 10px;
  border: 0; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 11px; letter-spacing: .04em;
  color: #fff; background: #eaa0b8;
  transition: opacity .15s;
}
.lg-send:disabled { background: #d9cfe0; cursor: default; }

.lg-submit {
  width: 100%; height: 46px; margin-top: 8px;
  border: 0; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: .18em;
  color: #fff;
  background: linear-gradient(135deg, #f3a7bd, #dd6f8f);
  box-shadow: 0 8px 20px rgba(221, 111, 143, .3);
}
.lg-submit:disabled { opacity: .55; cursor: default; box-shadow: none; }

.lg-skip {
  margin-top: 10px; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 12px; color: #a496b8;
}
.lg-hint {
  min-height: 16px; margin-top: 8px;
  font-size: 11px; color: #d0688c; line-height: 1.5;
}


/* ── 登录页：协议勾选 ── */
.lg-agree {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 14px 2px 6px; text-align: left; cursor: pointer;
  font-size: 10.5px; line-height: 1.6; color: #9a8aa8;
  -webkit-tap-highlight-color: transparent;
}
.lg-agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.lg-tick {
  flex: none; width: 15px; height: 15px; margin-top: 1px;
  border-radius: 4px; border: 1.5px solid #d7cde0; background: #fff;
  position: relative; transition: all .15s;
}
.lg-agree input:checked + .lg-tick {
  background: #eaa0b8; border-color: #eaa0b8;
}
.lg-agree input:checked + .lg-tick::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.lg-agree-text { flex: 1; }
.lg-link { color: #d0688c; text-decoration: none; }
.lg-agree.shake { animation: lgShake .38s ease; }
@keyframes lgShake {
  0%,100% { transform: translateX(0) }
  25% { transform: translateX(-5px) }
  75% { transform: translateX(5px) }
}

/* ── 协议阅读层 ── */
.legallayer {
  position: absolute; inset: 0; z-index: 48;
  background: #faf7fc; display: flex; flex-direction: column;
  animation: lgSlide .2s ease;
}
@keyframes lgSlide { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.legallayer[hidden] { display: none; }
.legalhead {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 12px; background: #fff;
  border-bottom: 1px solid rgba(140,110,170,.1);
}
.legalback {
  width: 32px; height: 32px; border: 0; background: transparent;
  font-size: 22px; line-height: 1; color: #6b4a62; cursor: pointer;
}
.legaltitle { font-size: 15px; font-weight: 600; color: #6b4a62; letter-spacing: .06em; }
.legalbody {
  flex: 1; overflow-y: auto; padding: 16px 18px 40px;
  font-size: 12px; line-height: 1.85; color: #5b4a63;
}
.legalbody h3 {
  font-size: 13px; color: #6b4a62; margin: 18px 0 6px;
  padding-left: 8px; border-left: 3px solid #eaa0b8;
}
.legalbody h3:first-child { margin-top: 0; }
.legalbody p { margin: 0 0 8px; }
.legalbody ul { margin: 0 0 10px; padding-left: 18px; }
.legalbody li { margin-bottom: 4px; }
.legalbody .draft {
  background: #fff4f7; border: 1px dashed #eaa0b8; border-radius: 8px;
  padding: 8px 10px; margin-bottom: 14px; font-size: 11px; color: #c4567c;
}
.legalbody .ph { background: #fff3cd; padding: 0 2px; border-radius: 2px; }


/* ── 登录页 Tab ── */
.lg-tabs {
  display: flex; gap: 6px; margin-bottom: 16px;
  background: #f3eef7; border-radius: 10px; padding: 4px;
}
.lg-tab {
  flex: 1; height: 32px; border: 0; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 12px; color: #9a8aa8; background: transparent;
  transition: all .16s;
}
.lg-tab.on { background: #fff; color: #d0688c; font-weight: 600; box-shadow: 0 2px 6px rgba(150,110,170,.14); }

.lg-sep {
  font-size: 10.5px; color: #b0a0bd; text-align: center;
  margin: 14px 0 10px; position: relative;
}
.lg-row { display: flex; gap: 8px; align-items: center; }
.lg-submit-ghost {
  margin-top: 10px;
  background: #fff; color: #d0688c;
  border: 1px solid #eaa0b8; box-shadow: none;
  font-size: 13px; letter-spacing: .1em;
}


/* ============================================================
   王总 UI 调整（2026-10-20）
   —— 原配色太粉太素，整体加深、卡片实心化、阴影加强
   ============================================================ */

/* ① 全局配色：从"浅粉"改为"深玫金"，提升对比 */
:root {
  --card:       rgba(255, 255, 255, .93);   /* 原来是 .72，太透导致发灰 */
  --ink:        #3a2944;                     /* 正文更深 */
  --ink-2:      #6b5578;
  --ink-3:      #9182a3;
  --rose:       #d94f7a;                     /* 主色加深 */
  --rose-d:     #b8385f;
  --pink-btn:   #e2608c;
  --pink-btn-2: #c94670;
  --line:       rgba(120, 80, 140, .22);
  --shadow:     0 10px 30px rgba(90, 55, 120, .22);
}

/* ② 花太大 → 收到 62%（原 78% / 76%） */
.flowerstage img { max-width: 62% !important; }
.flowerstage::after { width: 30% !important; }

/* ③ 底部颜色太浅 → 加深一层渐变，让文字和花都立得起来 */
.floor {
  background: linear-gradient(180deg,
    rgba(58, 41, 68, 0) 0%,
    rgba(58, 41, 68, .18) 34%,
    rgba(58, 41, 68, .42) 100%);
  padding-top: 26px;
  border-radius: 24px 24px 0 0;
  backdrop-filter: blur(2px);
}

/* ④ 「红牡丹」放概率上面、居中 */
.flabel {
  flex-direction: column !important;
  gap: 5px !important;
  text-align: center;
}
.fname {
  font-size: 21px !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(40, 20, 45, .55), 0 0 2px rgba(40, 20, 45, .5) !important;
}
.frar {
  background: rgba(255, 255, 255, .92) !important;
  color: var(--rose-d) !important;
  border-color: rgba(217, 79, 122, .45) !important;
  font-size: 10px !important;
  padding: 3px 11px !important;
}
.fmeta {
  color: rgba(255, 255, 255, .9) !important;
  text-shadow: 0 1px 6px rgba(40, 20, 45, .5);
  font-size: 11.5px !important;
}

/* ⑦ 底部导航：4 项后要更紧凑，选中态更明显 */
.tabbar { padding: 6px 10px !important; }
.tab { flex: 1; min-width: 0; }
.tab span { font-size: 10.5px; letter-spacing: 0; }
.tab.active { color: var(--rose-d) !important; }
.tab.active .ti {
  background: linear-gradient(140deg, #e2608c, #b8385f) !important;
  box-shadow: 0 6px 16px rgba(184, 56, 95, .4) !important;
}

/* 卡片统一加强，避免"素" */
.menu, .mrow, .stat, .shopitem, .gcard {
  box-shadow: var(--shadow);
}
