/* 商店 / 衣橱 / 我的 / 年鉴 / 资金去向（界面代理「商店与我的」）
 * 前缀：.mf-（本组共用）.shop- .pv-（预览舞台）.ward- .me- .alm- .funds-
 * 颜色全部来自 tokens.css 变量；夜间在 .device[data-theme="night"] 下微调。
 */

/* ================================================================ 共用 */
.mf-screen { background: var(--bg-0); }
.mf-screen::before { /* 细网格：前作工业语汇，白天极淡 */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.25) 260px, transparent 560px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.25) 260px, transparent 560px);
}
.device[data-theme="night"] .mf-screen::before { opacity: .7; }
.mf-screen .screen-scroll { position: relative; z-index: 1; }
.mf-topfade { position: absolute; left: 0; right: 0; top: 0; height: 58px; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-0) 55%, transparent 100%); }

/* 色调（mt-*）：商品舞台、图标底色 */
.mft-banana  { --tone: #F5BE1E; --tone-soft: rgba(245,190,30,.20); --tone-ink: #8A6200; }
.mft-energy  { --tone: #14C4B8; --tone-soft: rgba(20,196,184,.18); --tone-ink: #0B7F78; }
.mft-leaf    { --tone: #3EA44E; --tone-soft: rgba(62,164,78,.18);  --tone-ink: #2B8540; }
.mft-soil    { --tone: #A97C52; --tone-soft: rgba(169,124,82,.20); --tone-ink: #6B4429; }
.mft-amber   { --tone: #F08A24; --tone-soft: rgba(240,138,36,.18); --tone-ink: #A85A10; }
.mft-violet  { --tone: #8B6BFF; --tone-soft: rgba(139,107,255,.18); --tone-ink: #6346D9; }
.mft-rose    { --tone: #E5566B; --tone-soft: rgba(229,86,107,.16); --tone-ink: #B23A4E; }
.mft-gold    { --tone: #E8B520; --tone-soft: rgba(232,181,32,.24); --tone-ink: #8A6200; }
.mft-monkey  { --tone: #E8B520; --tone-soft: rgba(29,27,22,.16);   --tone-ink: #1D1B16; }
.mft-primary { --tone: #3EA44E; --tone-soft: rgba(62,164,78,.16);  --tone-ink: #2B8540; }
.mft-danger  { --tone: #E5566B; --tone-soft: rgba(229,86,107,.14); --tone-ink: #B23A4E; }
.device[data-theme="night"] .mft-banana, .device[data-theme="night"] .mft-gold { --tone-ink: var(--banana-300); }
.device[data-theme="night"] .mft-energy { --tone-ink: var(--cyan-300); }
.device[data-theme="night"] .mft-leaf, .device[data-theme="night"] .mft-primary { --tone-ink: var(--leaf-300); }
.device[data-theme="night"] .mft-soil { --tone-ink: var(--soil-300); }
.device[data-theme="night"] .mft-amber { --tone-ink: #FFB46A; }
.device[data-theme="night"] .mft-violet { --tone-ink: #BBA8FF; }
.device[data-theme="night"] .mft-rose, .device[data-theme="night"] .mft-danger { --tone-ink: #FF9AA9; }
.device[data-theme="night"] .mft-monkey { --tone-soft: rgba(232,181,32,.14); --tone-ink: var(--banana-300); }

.mf-backhead { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; }
.mf-back { width: 44px; height: 44px; flex: none; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-strong); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-1), var(--highlight);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform var(--t-fast) var(--ease-out); }
.mf-back:active { transform: scale(.94); }
.mf-backhead .screen-title { margin: 0; }

.mf-sec-head { display: flex; align-items: flex-end; gap: 10px; margin: 26px 2px 12px; }
.mf-sec-head .label-mono { margin-bottom: 3px; }

.mf-skel { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.mf-skel .skeleton { border-radius: 20px; }
.mf-loaderr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--muted); }
.mf-loaderr > span { color: var(--rose-500); }

/* 确认弹窗 */
.mf-cf { padding: 24px 22px 20px; text-align: center; }
.mf-cf-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--tone-soft); color: var(--tone-ink); box-shadow: inset 0 0 0 1px var(--tone-soft); }
.mf-cf .label-mono { margin-bottom: 6px; }
.mf-cf-title { font: 750 1.25rem/1.625rem var(--font-ui); letter-spacing: -.02em; }
.mf-cf-body { margin-top: 8px; color: var(--ink-2); font-size: 0.875rem; line-height: 1.3125rem; }
.mf-cf-amount { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 4px 0 8px; }
.mf-cf-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 20px; }

/* 好友选择 */
.mf-friends .notice { margin-bottom: 12px; }
.mf-fr-group + .mf-fr-group { margin-top: 14px; }
.mf-fr-sec { margin: 0 4px 8px; }

/* ================================================================ 预览舞台（试穿 / 衣橱） */
.pv-stage { position: relative; height: 320px; border-radius: 24px; overflow: hidden; background: #A6DCF6;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-2); isolation: isolate; }
.pv-stage .farm-scene { position: absolute; inset: 0; }
.pv-figure { position: absolute; left: 10px; bottom: 10px; z-index: 3; width: 96px; height: 116px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,253,248,.82), rgba(255,253,248,.62)); border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 26px rgba(30,20,8,.22); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.pv-figure-body { position: absolute; inset: 14px 8px 2px; }
.pv-figure-body svg { width: 100%; height: 100%; }
.pv-figure-ava { position: absolute; right: -8px; top: -8px; width: 36px; height: 36px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0,0,0,.2); }
.pv-figure-ava svg { width: 100%; height: 100%; }
.pv-night .pv-figure { background: linear-gradient(180deg, rgba(30,26,44,.82), rgba(30,26,44,.62)); border-color: rgba(170,160,255,.22); }
.pv-night .pv-figure-ava { box-shadow: 0 0 0 2px #2F2945, 0 6px 14px rgba(0,0,0,.4); }

/* 试穿 */
.mf-tryon-sheet .sheet-body { padding-top: 4px; }
.mf-try-timer { position: absolute; left: 12px; top: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 5px;
  border-radius: 999px; background: rgba(13,11,20,.62); color: var(--cyan-300); font: 650 0.8125rem/1 var(--font-ui);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(46,230,214,.35), 0 0 18px rgba(46,230,214,.25); }
.mf-try-timer b { color: #fff; font-weight: 750; }
.mf-try-timer.done { color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.mf-try-ring { color: var(--cyan-400); }
.mf-try-ring circle { transition: stroke-dashoffset 1s linear; }
.mf-try-part { position: absolute; right: 10px; top: 10px; z-index: 4; width: 212px; }
.mf-try-part .seg { background: rgba(255,253,248,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.device[data-theme="night"] .mf-try-part .seg { background: rgba(24,20,36,.72); }
.mf-try-part .seg button { height: 30px; font-size: 0.7812rem; }
.mf-try-over { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(13,11,20,.28); animation: fadein var(--t-med) var(--ease-out); }
.mf-try-over-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 22px; border-radius: 22px; background: var(--glass-strong);
  border: 1px solid var(--line); box-shadow: var(--shadow-3); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.mf-try-over-card .btn { margin-top: 8px; }
.mf-try-note { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; font-size: 0.7812rem; line-height: 1.0625rem; color: var(--muted); }
.mf-try-note > span:first-child { color: var(--energy); flex: none; }
.mf-try-refs { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mf-try-ref { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.mf-try-ref-art { width: 44px; height: 44px; border-radius: 13px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: none; }

/* ================================================================ 商店 */
.shop-head { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; }
.shop-head .screen-title { margin: 2px 0 0; }
.shop-wallet { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 6px; border-radius: 999px;
  background: linear-gradient(180deg, #34312A, #1D1B16); color: #FFE9A6; font: 750 0.9375rem/1 var(--font-ui);
  box-shadow: 0 2px 0 #000, 0 6px 14px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.12); }
.shop-wallet small { font: 650 0.75rem/1 var(--font-ui); color: rgba(255,233,166,.6); letter-spacing: .02em; }
.shop-wallet:active { transform: scale(.97); }
.shop-cart-btn { position: relative; width: 44px; height: 44px; flex: none; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-strong); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-1), var(--highlight);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform var(--t-fast) var(--ease-out); }
.shop-cart-btn:active { transform: scale(.94); }
.shop-cart-btn.has { color: var(--accent); box-shadow: var(--shadow-1), inset 0 0 0 1.5px rgba(62,164,78,.35); }
.shop-cart-btn.bump { animation: bump var(--t-slow) var(--ease-spring); }
.shop-cart-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--rose-500); color: #fff; font: 750 0.75rem/1.25rem var(--font-ui); text-align: center; box-shadow: 0 0 0 2px var(--bg-0); }
.shop-fly { position: absolute; width: 56px; height: 56px; z-index: 2; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.shop-fly svg { width: 56px; height: 56px; }
.shop-seg { margin-bottom: 12px; }
.shop-seg button { height: 38px; font-size: 0.9062rem; }

/* 额度 + 去向 */
.shop-meta { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1), var(--highlight); overflow: hidden; }
.shop-meta-cell { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; text-align: left; min-width: 0; }
.shop-meta-cell + .shop-meta-cell { border-left: 1px dashed var(--line-strong); }
.shop-meta-val { font: 750 1rem/1.25rem var(--font-ui); letter-spacing: -.01em; }
.shop-meta-val small { font-size: 0.75rem; color: var(--muted); font-weight: 650; }
.shop-meta-bar { height: 6px; }
.shop-meta-note { font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-meta-flow { cursor: pointer; position: relative; }
.shop-meta-flow:active { background: var(--surface-2); }
.shop-meta-flowtxt { font: 700 0.8125rem/1rem var(--font-ui); }
.shop-meta-more { display: inline-flex; vertical-align: -3px; margin-left: 2px; color: var(--faint); }
.shop-mini-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 2px 0 1px; }
.shop-mini-split i { display: block; height: 100%; }
.shop-mini-split .b { background: linear-gradient(90deg, #3B3730, #1D1B16); box-shadow: inset 0 0 0 1px rgba(232,181,32,.35); }
.shop-mini-split .t { background: linear-gradient(90deg, var(--leaf-400), var(--leaf-600)); }
.device[data-theme="night"] .shop-mini-split .b { background: linear-gradient(90deg, #4A4436, #2A261E); }

/* 待支付 */
.shop-pending { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.shop-pend-row { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 18px;
  background: rgba(245,190,30,.12); border: 1px solid rgba(245,190,30,.35); }
.shop-pend-row .lr-title { font-size: 0.875rem; display: flex; align-items: center; gap: 4px; }
.shop-pend-ic { color: var(--banana-600); flex: none; }
.shop-pend-row .btn-xs { height: 32px; }

/* 分区导航 */
.shop-nav { display: flex; gap: 6px; overflow-x: auto; margin: 14px -16px 0; padding: 6px 16px 8px; scrollbar-width: none;
  position: sticky; top: -8px; z-index: 6; background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-0) 72%, rgba(0,0,0,0) 100%); }
.shop-nav::-webkit-scrollbar { display: none; }
.shop-nav-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 650 0.8125rem/1 var(--font-ui); }
.shop-nav-btn span { color: var(--muted); display: inline-flex; }
.shop-nav-btn:active { transform: scale(.96); }
.shop-sec { scroll-margin-top: 110px; }
.shop-sec-meta { font: 650 0.75rem/1 var(--font-mono); color: var(--muted); padding-bottom: 3px; }

/* 猴王限定 */
.shop-mk { position: relative; overflow: hidden; margin-top: 16px; padding: 14px 14px 14px; border-radius: 26px; color: #FFF5D6; cursor: pointer; isolation: isolate;
  background: radial-gradient(120% 120% at 18% 40%, #4A3A12 0%, #231E14 46%, #14110C 100%);
  box-shadow: 0 0 0 1px rgba(232,181,32,.35), 0 14px 34px rgba(30,20,0,.28), inset 0 1px 0 rgba(255,233,166,.18); }
.shop-mk:active { transform: scale(.99); }
.shop-mk-main { display: flex; align-items: center; gap: 6px; }
.shop-mk-rays { position: absolute; left: -40px; top: -30px; width: 240px; height: 240px; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255,212,71,.22) 0 8deg, transparent 8deg 22deg);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: shop-spin 40s linear infinite; }
.shop-mk-grid { position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,233,166,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,233,166,.08) 1px, transparent 1px);
  background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 30%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); }
@keyframes shop-spin { to { transform: rotate(360deg); } }
.shop-mk-art { width: 132px; height: 132px; margin-left: -6px; flex: none; display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 0 24px rgba(255,212,71,.35)); }
.shop-mk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.shop-mk-eyebrow { display: inline-flex; align-items: center; gap: 5px; font: 700 0.75rem/0.875rem var(--font-mono); letter-spacing: .1em; color: var(--monkey-gold); }
.shop-mk-name { font: 800 1.3125rem/1.625rem var(--font-ui); letter-spacing: -.02em; color: #FFF5D6; margin-top: 2px; }
.shop-mk-sub { font-size: 0.7812rem; color: rgba(255,245,214,.62); }
.shop-mk-timer { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; margin-top: 4px;
  border-radius: 999px; background: rgba(46,230,214,.12); color: var(--cyan-300); box-shadow: inset 0 0 0 1px rgba(46,230,214,.35);
  font: 700 0.7812rem/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.shop-mk-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,233,166,.12); }
.shop-mk-price { color: #FFE9A6; }
.shop-mk-owned { display: inline-flex; align-items: center; gap: 4px; font: 700 0.875rem/1 var(--font-ui); color: var(--leaf-300); }
.shop-mk-btn { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border-radius: 14px;
  background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00; font: 750 0.8438rem/1 var(--font-ui);
  box-shadow: 0 2px 0 #B98A00, 0 6px 14px rgba(0,0,0,.2); }
.shop-mk-btn.ghost { background: rgba(255,233,166,.1); color: #FFE9A6; box-shadow: inset 0 0 0 1px rgba(255,233,166,.28); }
.shop-mk-btn:active { transform: translateY(1px); }
.shop-mk-teaser { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 20px; cursor: pointer;
  background: linear-gradient(90deg, rgba(232,181,32,.14), rgba(232,181,32,.02)); border: 1px solid rgba(232,181,32,.32); }
.shop-mk-teaser-art { width: 56px; height: 56px; flex: none; border-radius: 16px; background: #1D1B16; display: flex; align-items: center; justify-content: center; }
.shop-mk-teaser .lr-title { font-size: 0.875rem; line-height: 1.1875rem; }

/* 礼盒 */
.shop-box { position: relative; padding: 14px; border-radius: 24px; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(139,216,137,.32), transparent 55%), var(--surface);
  border: 1px solid rgba(62,164,78,.28); box-shadow: var(--shadow-1), var(--highlight); }
.shop-box:active { transform: scale(.99); }
.shop-box.is-owned, .shop-box.is-unavailable { opacity: .78; }
.shop-box-top { display: flex; gap: 12px; align-items: center; }
.shop-box-art { width: 112px; height: 112px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 22px;
  background: radial-gradient(circle at 50% 62%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%), rgba(62,164,78,.12); }
.device[data-theme="night"] .shop-box-art { background: radial-gradient(circle at 50% 62%, rgba(139,216,137,.22), transparent 70%), rgba(62,164,78,.1); }
.shop-box-name { font: 750 1.125rem/1.5rem var(--font-ui); letter-spacing: -.01em; margin: 6px 0 2px; }
.shop-box-buy { display: flex; align-items: center; margin-top: 8px; min-height: 44px; }
.shop-box-contents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.shop-box-c { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.shop-box-c .tiny { font-weight: 600; color: var(--ink-2); }
.shop-box-c .label-mono { font-size: 0.75rem; }

/* 外观筛选 */
.shop-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 2px; scrollbar-width: none; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 13px 0 10px; border-radius: 12px;
  background: var(--surface-2); color: var(--muted); font: 650 0.8438rem/1 var(--font-ui); border: 1px solid transparent; transition: all var(--t-fast); }
.shop-chip span { display: inline-flex; }
.shop-chip.on { background: var(--surface-solid); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.shop-chip.on span { color: var(--accent); }
.device[data-theme="night"] .shop-chip.on { background: var(--surface-3); }

/* 商品卡 */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1), var(--highlight);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast); }
.shop-card:active { transform: scale(.975); }
.shop-card-stage { position: relative; height: 118px; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(70% 60% at 50% 78%, var(--tone-soft), transparent 72%),
    linear-gradient(180deg, var(--surface-2), var(--surface)); }
.shop-card-stage::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 14px 14px; mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent 75%); }
.shop-card-stage::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 74px; height: 12px; margin-left: -37px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,28,10,.18), transparent); }
.device[data-theme="night"] .shop-card-stage::after { background: radial-gradient(closest-side, var(--tone-soft), transparent); }
.shop-card-art { position: relative; z-index: 1; width: 84px; height: 84px; transition: transform var(--t-med) var(--ease-spring); }
.shop-card:hover .shop-card-art { transform: translateY(-3px) scale(1.04); }
.shop-card-en { position: absolute; left: 10px; top: 9px; z-index: 2; font-size: 0.75rem; color: var(--tone-ink); opacity: .85; }
.shop-card-tag { position: absolute; right: 8px; top: 8px; z-index: 2; }
.shop-card-body { padding: 9px 12px 8px; display: flex; flex-direction: column; min-width: 0; }
.shop-card-name { font: 700 0.9375rem/1.25rem var(--font-ui); letter-spacing: -.01em; }
.shop-card-sub { font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); margin-top: 1px; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; min-height: 44px; margin-bottom: -4px; }
.shop-card.is-owned .shop-card-art, .shop-card.is-unavailable .shop-card-art { opacity: .78; }
.shop-card.is-unavailable { opacity: .82; }
.shop-free { display: inline-flex; align-items: center; gap: 4px; font: 750 0.875rem/1 var(--font-ui); color: var(--cyan-600); }
.device[data-theme="night"] .shop-free { color: var(--cyan-300); }
.shop-owned { font: 650 0.7812rem/1 var(--font-ui); color: var(--muted); min-width: 0; }
.shop-qadd { isolation: isolate; position: relative; width: 44px; height: 44px; flex: none; margin-right: -8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.shop-qadd::before { content: ""; position: absolute; inset: 6px; border-radius: 12px; z-index: -1;
  background: linear-gradient(180deg, #57C064, #3EA44E); box-shadow: 0 2px 0 #2A7E3B, 0 4px 10px rgba(62,164,78,.3); transition: transform var(--t-fast); }
.shop-qadd span { display: inline-flex; position: relative; }
.shop-qadd:active::before { transform: translateY(1px) scale(.95); }
.shop-qadd.in { color: var(--leaf-600); }
.shop-qadd.in::before { background: rgba(62,164,78,.14); box-shadow: inset 0 0 0 1.5px rgba(62,164,78,.4); }
.device[data-theme="night"] .shop-qadd.in { color: var(--leaf-300); }

.shop-have { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 12px; margin-bottom: 12px; border-radius: 16px;
  background: var(--surface-2); color: var(--ink-2); font-size: 0.8125rem; line-height: 1.125rem; text-align: left; }
.shop-have > span:first-child { color: var(--accent); }

/* 村树 */
.shop-vlist { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1), var(--highlight); overflow: hidden; }
.shop-vhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(90deg, rgba(62,164,78,.12), transparent); color: var(--leaf-600); }
.device[data-theme="night"] .shop-vhead { color: var(--leaf-300); }
.shop-vhead .lr-title { color: var(--ink); }
.shop-vrow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.shop-vrow:active { background: var(--surface-2); }
.shop-vrow.is-unavailable { opacity: .7; }
.shop-vrow-art { width: 56px; height: 56px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.shop-vnote { display: flex; align-items: center; gap: 6px; margin: 8px 4px 0; font-size: 0.75rem; color: var(--muted); }

/* 年鉴外观轨 */
.shop-pass { position: relative; padding: 14px; border-radius: 24px; cursor: pointer; overflow: hidden; color: #F2EFFA;
  background: radial-gradient(120% 120% at 100% 0%, rgba(46,230,214,.22), transparent 50%), linear-gradient(160deg, #2A2440, #15121F);
  box-shadow: 0 0 0 1px rgba(46,230,214,.25), 0 12px 30px rgba(20,14,40,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.shop-pass:active { transform: scale(.99); }
.shop-pass-head { display: flex; align-items: flex-start; gap: 10px; }
.shop-pass-name { font: 750 1.0625rem/1.375rem var(--font-ui); }
.shop-pass-sub { font-size: 0.7812rem; color: rgba(242,239,250,.6); margin-top: 2px; }
.shop-pass-price { color: #FFE9A6; }
.shop-pass-strip { display: flex; gap: 6px; overflow-x: auto; margin: 12px -14px 0; padding: 0 14px 2px; scrollbar-width: none; }
.shop-pass-strip::-webkit-scrollbar { display: none; }
.shop-pass-cell { flex: none; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 5px; border-radius: 14px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.shop-pass-cell .num { font: 700 0.75rem/0.875rem var(--font-mono); color: rgba(242,239,250,.55); }
.shop-pass-cell.reached { box-shadow: inset 0 0 0 1px rgba(46,230,214,.5), 0 0 12px rgba(46,230,214,.18); }
.shop-pass-cell.reached .num { color: var(--cyan-300); }
.shop-pass-cell small { font-size: 0.75rem; color: inherit; opacity: .7; white-space: nowrap; max-width: 54px; overflow: hidden; text-overflow: ellipsis; }
.shop-pass-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(242,239,250,.6); }
.shop-det .shop-pass-strip { margin: 8px 0 0; padding: 0; }
.shop-det .shop-pass-cell { background: var(--surface-2); box-shadow: none; color: var(--ink-2); }
.shop-det .shop-pass-cell .num { color: var(--muted); }

.shop-foot-note { margin: 28px 4px 8px; text-align: center; font-size: 0.75rem; line-height: 1.0625rem; color: var(--muted); }
.shop-foot-note .label-mono { margin-bottom: 4px; color: var(--faint); }

/* 详情 */
.shop-detail-sheet .sheet-body { padding-top: 2px; }
.shop-det-stage { position: relative; height: 212px; border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60% 60% at 50% 66%, var(--tone-soft), transparent 75%), linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line); }
.shop-det-grid { position: absolute; inset: 0; opacity: .9;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 20px 20px; mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent 80%); }
.shop-det-stage::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 140px; height: 18px; margin-left: -70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,28,10,.2), transparent); }
.device[data-theme="night"] .shop-det-stage::after { background: radial-gradient(closest-side, var(--tone-soft), transparent); }
.shop-det-art { position: relative; z-index: 1; width: 164px; height: 164px; filter: drop-shadow(0 12px 16px rgba(40,28,10,.16)); }
.shop-det-en { position: absolute; left: 14px; top: 12px; color: var(--tone-ink); }
.shop-det-timer { position: absolute; right: 12px; top: 10px; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px;
  background: #1D1B16; color: var(--cyan-300); font: 700 0.75rem/1 var(--font-ui); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px rgba(46,230,214,.35); }
.shop-det-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.shop-det-desc { margin: 10px 2px 0; font-size: 0.9062rem; line-height: 1.375rem; color: var(--ink-2); }
.shop-det-box { margin-top: 14px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.shop-det-box .label-mono { margin-bottom: 6px; }
.shop-det-boxrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.shop-det-boxrow + .shop-det-boxrow { border-top: 1px solid var(--line); }
.shop-det-boxart { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.shop-det-vil { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 18px; background: rgba(62,164,78,.10); }
.shop-det-vil-ic { width: 40px; height: 40px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); color: var(--accent); }
.shop-det-qty { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 10px 10px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.shop-stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 14px; background: var(--surface-2); }
.shop-stepper button { width: 44px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.shop-stepper button:active:not([disabled]) { background: var(--surface-3); }
.shop-stepper button[disabled] { opacity: .35; cursor: default; }
.shop-stepper .num { min-width: 30px; text-align: center; font: 750 1.0625rem/1 var(--font-ui); }
.shop-stepper.sm button { width: 36px; height: 36px; }
.shop-stepper.sm .num { min-width: 22px; font-size: 0.9375rem; }
.shop-det-gift { margin-top: 14px; }
.shop-det-gift > .label-mono { margin: 0 2px 8px; }
.shop-gift-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-gift-opt { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 10px; border-radius: 16px; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.shop-gift-opt > span:first-child { color: var(--muted); flex: none; }
.shop-gift-opt b { display: block; font: 700 0.8438rem/1.125rem var(--font-ui); }
.shop-gift-opt small { display: block; font-size: 0.75rem; line-height: 0.875rem; color: var(--muted); }
.shop-gift-opt.on { border-color: var(--leaf-400); box-shadow: 0 0 0 4px rgba(92,193,100,.14); }
.shop-gift-opt.on > span:first-child { color: var(--accent); }
.shop-gift-opt.off { opacity: .55; }
.shop-det-rules { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.shop-rule { display: flex; align-items: flex-start; gap: 8px; font-size: 0.7812rem; line-height: 1.125rem; color: var(--ink-2); }
.shop-rule > span:first-child { flex: none; color: var(--muted); margin-top: 1px; }
.shop-rule.warn { color: #8A6200; }
a.shop-rule, button.shop-rule { min-height: 44px; align-items: center; }   /* 可点的规则行（公告原文、定价规则链接）：触控 ≥44px（S3 §9.5，W1-FE 集成走查） */
.device[data-theme="night"] .shop-rule.warn { color: var(--banana-300); }
.shop-det-total { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 14px 4px 0; }
.shop-det-total-l { margin-right: auto; font-size: 0.8125rem; color: var(--muted); }
.shop-try-btn { flex: none; padding: 0 16px; }

/* 购物车 */
.shop-cart-lines { display: flex; flex-direction: column; gap: 8px; }
.shop-cl { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.shop-cl.bad { border-color: rgba(229,86,107,.45); background: rgba(229,86,107,.06); }
.shop-cl-art { width: 52px; height: 52px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 60% at 50% 75%, var(--tone-soft, transparent), transparent 75%), var(--surface-2); }
.shop-cl-name { font: 700 0.9062rem/1.1875rem var(--font-ui); }
.shop-cl-sub { font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); }
.shop-cl-bad { color: #C23A50; font-weight: 600; }
.device[data-theme="night"] .shop-cl-bad { color: #FF9AA9; }
.shop-cl-price { margin-top: 3px; }
.shop-cl-del { width: 40px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--faint); border-radius: 12px; }
.shop-cl-del:active { background: var(--surface-2); color: var(--rose-500); }
.shop-cart-sum { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.shop-cart-total { font-size: 1.375rem !important; }
.shop-cart-cap { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 14px; background: var(--surface-2); font-size: 0.7812rem; color: var(--ink-2); }
.shop-cart-cap.over { background: rgba(229,86,107,.10); color: #B23A4E; }
.device[data-theme="night"] .shop-cart-cap.over { color: #FF9AA9; }
.shop-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 20px 26px; text-align: center; }
.shop-cart-empty-art { opacity: .9; filter: grayscale(.2); }
.shop-foot-warn { color: #C23A50; margin-bottom: 8px; text-align: center; }
.shop-eq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; text-align: left; }
.shop-eq-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.shop-eq-art { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }

/* 透明卡 */
.shop-split { display: flex; gap: 4px; height: 64px; }
.shop-split > div { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; border-radius: 16px; min-width: 0; }
.shop-split b { font: 800 1.375rem/1.625rem var(--font-ui); }
.shop-split span { font-size: 0.75rem; opacity: .8; }
.shop-split-burn { background: linear-gradient(135deg, #3B3730, #14120E); color: #FFD9A0; box-shadow: inset 0 0 0 1px rgba(232,181,32,.3); }
.shop-split-team { background: linear-gradient(135deg, #57C064, #2B8540); color: #fff; }
.shop-trans-lines { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.shop-trans-lines li { display: flex; gap: 10px; font-size: 0.8438rem; line-height: 1.25rem; color: var(--ink-2); }
.shop-trans-lines .mono { flex: none; font-size: 0.75rem; line-height: 1.25rem; color: var(--energy); }

/* ================================================================ 衣橱 */
.ward-hero { position: relative; }
.ward-hero .pv-stage { height: 286px; }
.ward-hero-part { position: absolute; right: 10px; top: 10px; z-index: 4; width: 212px; }
.ward-hero-part .seg { background: rgba(255,253,248,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.device[data-theme="night"] .ward-hero-part .seg { background: rgba(24,20,36,.72); }
.ward-hero-part .seg button { height: 30px; font-size: 0.7812rem; }
.ward-hero-pv { position: absolute; left: 12px; top: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px 0 9px; border-radius: 999px;
  background: rgba(13,11,20,.62); color: var(--cyan-300); font: 700 0.75rem/1 var(--font-ui); box-shadow: 0 0 0 1px rgba(46,230,214,.4), 0 0 16px rgba(46,230,214,.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: popin var(--t-med) var(--ease-spring); }
.ward-hero-title { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 9px;
  background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00; font: 750 0.7812rem/1 var(--font-ui); box-shadow: 0 2px 0 #B98A00, 0 6px 14px rgba(0,0,0,.2); }
.ward-sel { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1), var(--highlight); min-height: 72px; }
.ward-sel.is-empty { background: var(--surface-2); box-shadow: none; border-color: transparent; }
.ward-sel-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); color: var(--accent); }
.ward-sel-art { width: 52px; height: 52px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.ward-sel-refund { font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); margin-top: 1px; }
.ward-sel-refund.ok { color: #8A6200; }
.device[data-theme="night"] .ward-sel-refund.ok { color: var(--banana-300); }
.ward-sel-acts { display: flex; gap: 6px; flex: none; }
.ward-sel-acts .btn-sm { height: 40px; padding: 0 12px; }
.ward-refund-btn { color: #B23A4E !important; }
.device[data-theme="night"] .ward-refund-btn { color: #FF9AA9 !important; }
.ward-seg { margin-bottom: 14px; }
.ward-seg button { height: 38px; }
.ward-chips { margin-bottom: 4px; }
.ward-chip-n { margin-left: 2px; font: 700 0.75rem/1 var(--font-mono); color: var(--faint); }
.shop-chip.on .ward-chip-n { color: var(--accent); }
.ward-group { margin-top: 14px; }
.ward-group-head { display: flex; align-items: center; gap: 7px; margin: 0 2px 8px; min-height: 28px; }
.ward-group-ic { width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); flex: none; }
.ward-group-name { font: 700 0.9375rem/1.25rem var(--font-ui); }
.ward-group-head .label-mono { font-size: 0.75rem; }
.ward-group-cur { font-size: 0.75rem; color: var(--leaf-600); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device[data-theme="night"] .ward-group-cur { color: var(--leaf-300); }
.ward-un { height: 32px; padding: 0 10px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font: 650 0.75rem/1 var(--font-ui); position: relative; }
.ward-un::after { content: ""; position: absolute; inset: -6px -2px; }
.ward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ward-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 6px 8px; border-radius: 18px; text-align: center;
  background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-1); transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-fast); min-width: 0; }
.ward-card:active { transform: scale(.96); }
.ward-card.on { border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(20,196,184,.18), 0 0 18px rgba(46,230,214,.2); }
.ward-card.eq { border-color: rgba(62,164,78,.5); }
.ward-card-stage { position: relative; height: 76px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 60% at 50% 75%, var(--tone-soft), transparent 75%), var(--surface-2); }
.ward-card-art { width: 62px; height: 62px; }
.ward-card-check { position: absolute; right: 5px; top: 5px; width: 20px; height: 20px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: var(--leaf-500); color: #fff; box-shadow: 0 2px 6px rgba(62,164,78,.4); }
.ward-card-name { font: 650 0.7812rem/1.0625rem var(--font-ui); margin-top: 4px; padding: 0 2px; }
.ward-card-st { font-size: 0.75rem; line-height: 0.8125rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ward-card-st.st-leaf { color: var(--leaf-600); font-weight: 600; }
.ward-card-st.st-banana { color: #A87700; font-weight: 600; }
.device[data-theme="night"] .ward-card-st.st-leaf { color: var(--leaf-300); }
.device[data-theme="night"] .ward-card-st.st-banana { color: var(--banana-300); }
.ward-none { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 16px; border: 1.5px dashed var(--line-strong);
  color: var(--muted); font-size: 0.8125rem; text-align: left; }
.ward-none.static { cursor: default; }
.ward-none > span:first-child { color: var(--faint); }
.ward-link { height: 32px; padding: 0 4px; color: var(--accent); font: 650 0.7812rem/1 var(--font-ui); }
.ward-refunds .list-row { padding: 10px 12px; }
.ward-rf-art { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.ward-rf-row .lr-sub { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ward-giftcaps { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.ward-giftcaps > div { padding: 10px 12px; }
.ward-giftcaps > div + div { border-left: 1px dashed var(--line-strong); }
.ward-giftcaps b { font: 750 1.25rem/1.625rem var(--font-ui); }
.ward-giftcaps small { font-size: 0.75rem; color: var(--muted); }
.ward-giftcaps .label-mono { font-size: 0.75rem; }
.ward-cons { display: flex; flex-direction: column; gap: 8px; }
.ward-con { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ward-con-art { width: 52px; height: 52px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(229,86,107,.08); }
.ward-con-qty { font: 750 1rem/1 var(--font-ui); color: var(--ink-2); }
.ward-coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ward-coll { padding: 8px 6px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; min-width: 0; }
.ward-coll-art { display: flex; justify-content: center; height: 66px; align-items: center; }
.ward-coll-name { font: 650 0.7812rem/1.0625rem var(--font-ui); margin-top: 2px; }
.ward-yard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ward-yard-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 16px; min-height: 96px;
  background: var(--surface); border: 1.5px dashed var(--line-strong); color: var(--muted); min-width: 0; }
.ward-yard-cell.full { border-style: solid; border-color: var(--line); }
.ward-yard-cell.self { border-color: var(--leaf-400); background: rgba(62,164,78,.08); }
.ward-yard-cell:active:not([disabled]) { transform: scale(.96); }
.ward-yard-cell .tiny { max-width: 100%; padding: 0 2px; }
.ward-yard-art { height: 50px; display: flex; align-items: center; }
.ward-yard-plus { height: 50px; display: flex; align-items: center; color: var(--faint); }

/* ================================================================ 我的 */
.me-head { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; }
.me-head .screen-title { margin: 2px 0 0; }
.me-card { position: relative; overflow: hidden; padding: 16px; border-radius: 28px; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, rgba(245,190,30,.30), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(92,193,100,.26), transparent 55%), var(--surface-solid);
  border: 1px solid var(--line); box-shadow: var(--shadow-2), var(--highlight); }
.device[data-theme="night"] .me-card { background: radial-gradient(90% 120% at 100% 0%, rgba(46,230,214,.20), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(139,107,255,.22), transparent 55%), var(--surface-solid); }
.me-card-grid { position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 16px 16px;
  mask-image: linear-gradient(120deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000 100%); }
.me-card-glow { position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255,226,122,.35), transparent 65%); }
.device[data-theme="night"] .me-card-glow { background: radial-gradient(circle, rgba(46,230,214,.22), transparent 65%); }
.me-card-top { display: flex; gap: 14px; align-items: center; }
.me-ava { width: 80px; height: 80px; flex: none; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 3px var(--surface-solid), 0 0 0 5px var(--leaf-400), 0 10px 24px rgba(40,28,10,.2); }
.device[data-theme="night"] .me-ava { box-shadow: 0 0 0 3px var(--surface-solid), 0 0 0 5px var(--cyan-400), 0 0 24px rgba(46,230,214,.35); }
.me-ava svg { width: 100%; height: 100%; }
.me-ava:active { transform: scale(.96); }
.me-name-row { display: flex; align-items: baseline; gap: 8px; }
.me-name { font: 800 1.5rem/1.875rem var(--font-ui); letter-spacing: -.02em; }
.me-lv { font: 750 0.8125rem/1 var(--font-ui); padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--bg-1); }
.me-title { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; margin-top: 4px; border-radius: 8px;
  background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00; font: 750 0.75rem/1 var(--font-ui); box-shadow: 0 2px 0 #B98A00; }
.me-title.empty { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; height: 28px; padding: 0 10px; justify-content: center; }
.me-id { margin-top: 6px; font-size: 0.75rem; color: var(--muted); letter-spacing: .02em; }
.me-xp { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.me-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.me-badge { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 8px; border-radius: 999px; font: 650 0.75rem/1 var(--font-ui);
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.me-badge b { font-weight: 800; }
.me-badge.mine { background: #1D1B16; color: #FFE9A6; border-color: rgba(232,181,32,.4); box-shadow: 0 0 12px rgba(46,230,214,.12); }
.me-badge.mine > span { color: var(--cyan-300); }
.me-badge.theme { background: rgba(139,107,255,.12); color: #6346D9; border-color: rgba(139,107,255,.25); }
.device[data-theme="night"] .me-badge.theme { color: #BBA8FF; }
.me-badge.farm { background: rgba(62,164,78,.12); color: var(--leaf-600); border-color: rgba(62,164,78,.25); }
.device[data-theme="night"] .me-badge.farm { color: var(--leaf-300); }
.me-badge.vil { color: var(--ink-2); }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.me-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 2px 9px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; }
.me-stat:active { transform: scale(.96); }
.me-stat-val { font: 800 0.9375rem/1.1875rem var(--font-ui); letter-spacing: -.02em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.me-stat-label { font-size: 0.75rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; line-height: 0.8125rem; }
.me-stat-label small { font-size: 0.75rem; color: var(--faint); }
.me-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; padding: 10px 4px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.me-entry { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; border-radius: 16px; }
.me-entry:active { background: var(--surface-2); }
.me-entry-ic { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); box-shadow: inset 0 0 0 1px var(--tone-soft); }
.me-entry-label { font: 650 0.7812rem/1 var(--font-ui); color: var(--ink-2); }
.me-entry-badge { position: absolute; top: 2px; right: calc(50% - 32px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose-500); color: #fff;
  font: 750 0.75rem/1.125rem var(--font-ui); box-shadow: 0 0 0 2px var(--surface-solid); }
.me-settings .list-row, .me-screen .list-row { min-height: 60px; }
.me-set-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--ink-2); }
.me-set-push { flex-wrap: wrap; }
.me-push-seg { width: 9.75rem; flex: none; }
.me-push-seg .seg button { height: 32px; }
.me-logout .lr-title { color: #B23A4E; }
.device[data-theme="night"] .me-logout .lr-title { color: #FF9AA9; }
.me-tz-row.on { background: rgba(62,164,78,.06); }
.me-acc-on { background: rgba(62,164,78,.06); }
.me-inv-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 20px;
  background: linear-gradient(135deg, #1E1A2C, #14111E); color: #F2EFFA; box-shadow: inset 0 0 0 1px rgba(46,230,214,.3), 0 0 22px rgba(46,230,214,.12); }
.me-inv-code .label-mono { color: var(--cyan-300); }
.me-inv-code-v { font-size: 1.5rem; line-height: 1.875rem; font-weight: 700; letter-spacing: .08em; }
.me-inv-rules { margin-top: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface-2); }
.me-inv-rule { display: flex; gap: 10px; align-items: flex-start; }
.me-inv-rule + .me-inv-rule { margin-top: 8px; }
.me-inv-rule > .mono { flex: none; width: 30px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); font-size: 0.75rem; color: var(--energy); font-weight: 700; }
.me-inv-rule b { font: 700 0.8438rem/1.125rem var(--font-ui); }
.me-inv-card { margin-top: 10px; padding: 12px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.me-ms { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.me-ms-done { color: var(--leaf-600); font-weight: 700; }
.device[data-theme="night"] .me-ms-done { color: var(--leaf-300); }
.me-ms-act { display: flex; justify-content: flex-end; margin-top: 6px; min-height: 28px; align-items: center; }
.me-inv-note { margin-top: 14px; }
.me-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.me-choice { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); }
.me-choice b { font: 700 0.8125rem/1.0625rem var(--font-ui); }
.me-choice small { font-size: 0.75rem; color: var(--muted); }
.me-choice:active:not([disabled]) { transform: scale(.96); border-color: var(--leaf-400); }
.me-choice.owned { opacity: .5; }

/* ================================================================ 年鉴 */
.alm-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 26px; isolation: isolate;
  background: radial-gradient(100% 140% at 0% 0%, rgba(255,212,71,.32), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(92,193,100,.22), transparent 60%), var(--surface-solid);
  border: 1px solid var(--line); box-shadow: var(--shadow-2), var(--highlight); }
.device[data-theme="night"] .alm-hero { background: radial-gradient(100% 140% at 0% 0%, rgba(46,230,214,.18), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(139,107,255,.22), transparent 60%), var(--surface-solid); }
.alm-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 16px 16px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.alm-ring { position: relative; width: 108px; height: 108px; flex: none; }
.alm-ring svg { width: 108px; height: 108px; }
.alm-ring-bg { stroke: var(--surface-3); }
.alm-ring-fg { stroke: var(--banana-500); filter: drop-shadow(0 0 6px rgba(245,190,30,.5)); transition: stroke-dashoffset var(--t-slow) var(--ease-out); }
.device[data-theme="night"] .alm-ring-fg { stroke: var(--cyan-400); filter: drop-shadow(0 0 6px rgba(46,230,214,.6)); }
.alm-ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.alm-ring-txt small { font: 700 0.75rem/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); }
.alm-ring-txt b { font: 800 2.25rem/2.9375rem var(--font-ui); letter-spacing: -.03em; }
.alm-ring-txt span { font: 650 0.75rem/1 var(--font-ui); color: var(--muted); }
.alm-hero-eb { font-size: 0.75rem; }
.alm-hero-name { font: 800 1.375rem/1.75rem var(--font-ui); letter-spacing: -.02em; margin-top: 2px; }
.alm-hero-pts { font-size: 0.8125rem; color: var(--ink-2); margin-top: 2px; }
.alm-hero-pts b { font-weight: 800; color: var(--ink); }
.alm-hero-meta { display: flex; flex-direction: column; gap: 1px; margin-top: 6px; font-size: 0.75rem; color: var(--muted); }
.alm-hero-meta b { color: var(--ink-2); font-weight: 750; }
.alm-legacy { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
/* 本季累计额度（v0.5 W1-FE-ECON，S4 §2.4）：已累计 / 还能累计 / 满轨，当前累计上限处一条刻线；静态，不做动效、不做倒计时 */
.alm-cap { margin-top: 12px; padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.alm-cap-head { display: flex; align-items: flex-start; gap: 10px; }
.alm-cap-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(92,193,100,.14); color: var(--leaf-600); }
.device[data-theme="night"] .alm-cap-ic { color: var(--leaf-300); }
.alm-cap.st-closed .alm-cap-ic { background: var(--surface-3); color: var(--muted); }
.alm-cap-title { margin: 0; font: 750 var(--fs-head)/var(--lh-head) var(--font-ui); color: var(--ink); }
.alm-cap-sub { margin-top: 2px; font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); }
.alm-cap-bar { position: relative; height: 12px; margin: 14px 2px 0; border-radius: 6px; background: var(--surface-3); }
.alm-cap-room { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: repeating-linear-gradient(135deg, rgba(92,193,100,.32) 0 6px, rgba(92,193,100,.12) 6px 12px); }
.alm-cap-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--leaf-400), var(--banana-500)); }
.device[data-theme="night"] .alm-cap-room { background: repeating-linear-gradient(135deg, rgba(46,230,214,.32) 0 6px, rgba(46,230,214,.12) 6px 12px); }
.device[data-theme="night"] .alm-cap-fill { background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300)); }
.alm-cap-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-2); }
.alm-cap-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--ink-2); }
.alm-cap-nums span { display: inline-flex; align-items: center; gap: 5px; }
.alm-cap-nums .lg { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.alm-cap-nums .lg.fill { background: var(--leaf-500); }
.alm-cap-nums .lg.room { background: repeating-linear-gradient(135deg, rgba(92,193,100,.55) 0 3px, rgba(92,193,100,.18) 3px 6px); box-shadow: inset 0 0 0 1px rgba(92,193,100,.5); }
.device[data-theme="night"] .alm-cap-nums .lg.fill { background: var(--cyan-400); }
.device[data-theme="night"] .alm-cap-nums .lg.room { background: repeating-linear-gradient(135deg, rgba(46,230,214,.55) 0 3px, rgba(46,230,214,.18) 3px 6px); box-shadow: inset 0 0 0 1px rgba(46,230,214,.5); }
.alm-cap-track { justify-content: flex-end; color: var(--muted); }
.alm-cap-full { margin-top: 10px; }
.alm-cap-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; font-size: var(--fs-call); line-height: var(--lh-call); color: var(--ink-2); }
.alm-cap-note > span:first-child { display: flex; flex: none; margin-top: 1px; color: var(--leaf-600); }
/* 往季带来的老点数（不占本季累计额度，W2-FE 主会话裁决 10）*/
.alm-cap-legacy { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-call); line-height: var(--lh-call); color: var(--ink-2); }
.alm-cap-legacy > span:first-child { display: flex; flex: none; margin-top: 1px; color: var(--violet-500, #8B6BFF); }
.device[data-theme="night"] .alm-cap-note > span:first-child { color: var(--leaf-300); }
.alm-trackwrap { display: flex; margin: 0 -16px; }
.alm-labels { flex: none; width: 46px; padding-left: 8px; display: flex; flex-direction: column; position: relative; z-index: 2;
  background: linear-gradient(90deg, var(--bg-0) 70%, transparent); }
.alm-lab { height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 700 0.75rem/1 var(--font-ui); color: var(--ink-2); writing-mode: horizontal-tb; }
.alm-lab span { width: 28px; height: 28px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.alm-lab.free span { background: rgba(245,190,30,.18); color: #8A6200; }
.alm-lab.prem span { background: rgba(139,107,255,.16); color: #6346D9; }
.device[data-theme="night"] .alm-lab.free span { color: var(--banana-300); }
.device[data-theme="night"] .alm-lab.prem span { color: #BBA8FF; }
.alm-lab.locked { color: var(--muted); }
.alm-lab-mid { height: 36px; }
.alm-track { position: relative; flex: 1; min-width: 0; display: flex; overflow-x: auto; padding: 0 16px 6px 4px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.alm-track::-webkit-scrollbar { display: none; }
.alm-rail { position: absolute; left: 4px; top: 116px; height: 4px; border-radius: 2px; background: var(--surface-3); pointer-events: none; }
.alm-rail-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, var(--leaf-400), var(--banana-500)); box-shadow: 0 0 8px rgba(245,190,30,.5); }
.device[data-theme="night"] .alm-rail-fill { background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300)); box-shadow: 0 0 10px rgba(46,230,214,.6); }
.alm-col { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; scroll-snap-align: start; position: relative; z-index: 1; padding-top: 4px; }
.alm-cell { position: relative; width: 68px; height: 92px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-1); padding: 4px; }
.alm-cell.none { background: transparent; border-color: transparent; box-shadow: none; }
.alm-cell.none i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.alm-cell-art { width: 46px; height: 46px; }
.alm-cell-name { font: 650 0.75rem/0.9375rem var(--font-ui); color: var(--ink-2); max-width: 60px; }
/* 大 / 特大字号：年鉴格子随字变高（名字两行不被格子裁掉；W4-FE-FINAL 无障碍自检） */
html[data-font='large'] .alm-cell, html[data-font='xlarge'] .alm-cell { height: auto; min-height: 92px; }
.alm-cell.st-locked .alm-cell-art, .alm-cell.st-premium .alm-cell-art { filter: saturate(.35); opacity: .6; }
.alm-cell.st-locked .alm-cell-name { color: var(--faint); }
.alm-cell.st-claimed { background: var(--surface-2); box-shadow: none; }
.alm-cell.st-claimed .alm-cell-art { opacity: .55; }
.alm-cell.st-claimable { border-color: var(--banana-500); background: linear-gradient(180deg, rgba(255,226,122,.35), var(--surface)); box-shadow: 0 0 0 3px rgba(245,190,30,.18), 0 6px 16px rgba(245,190,30,.3); animation: alm-glow 1.8s var(--ease-in-out) infinite; }
.alm-cell.prem.st-claimable { border-color: var(--cyan-500); background: linear-gradient(180deg, rgba(46,230,214,.22), var(--surface)); box-shadow: 0 0 0 3px rgba(46,230,214,.16), 0 6px 16px rgba(46,230,214,.3); }
.alm-cell.prem { background: linear-gradient(180deg, rgba(139,107,255,.10), var(--surface)); }
.alm-cell.prem.st-claimed { background: var(--surface-2); }
@keyframes alm-glow { 50% { transform: translateY(-2px); } }
.alm-cell:active:not([disabled]) { transform: scale(.95); }
.alm-cell-badge { position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--muted); }
.alm-cell-badge.ok { background: var(--leaf-500); color: #fff; }
.alm-cell-get { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); height: 20px; padding: 0 9px; border-radius: 999px; font: 800 0.75rem/1.25rem var(--font-ui);
  background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00; box-shadow: 0 2px 0 #B98A00; white-space: nowrap; }
.alm-cell.prem .alm-cell-get { background: linear-gradient(180deg, #45EBDD, #14C4B8); color: #052B28; box-shadow: 0 2px 0 #0B8E86; }
.alm-node { position: relative; height: 40px; width: 100%; display: flex; align-items: center; justify-content: center; }
.alm-node-line { display: none; }
.alm-node-dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: 750 0.75rem/1 var(--font-ui);
  background: var(--surface-solid); color: var(--muted); box-shadow: 0 0 0 1.5px var(--line-strong); }
.alm-col.reached .alm-node-dot { background: var(--leaf-500); color: #fff; box-shadow: 0 0 0 2px var(--bg-0); }
.device[data-theme="night"] .alm-col.reached .alm-node-dot { background: var(--cyan-500); color: #052B28; }
.alm-col.cur .alm-node-dot { width: 32px; height: 32px; border-radius: 11px; font-size: 0.8125rem; background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00;
  box-shadow: 0 0 0 3px var(--bg-0), 0 0 0 5px var(--banana-500), 0 0 16px rgba(245,190,30,.6); }
.alm-legend { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 2px 0; font-size: 0.75rem; color: var(--muted); }
.alm-legend span { display: inline-flex; align-items: center; gap: 5px; }
.alm-legend .lg { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.alm-legend .lg.claimable { border-color: var(--banana-500); background: rgba(255,226,122,.5); }
.alm-legend .lg.claimed { background: var(--leaf-500); border-color: var(--leaf-500); }
.alm-legend .lg.premium { background: rgba(139,107,255,.2); border-color: rgba(139,107,255,.5); }
.alm-buy { margin-top: 18px; padding: 16px; border-radius: 24px; color: #F2EFFA; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, rgba(46,230,214,.24), transparent 50%), radial-gradient(100% 100% at 0% 100%, rgba(139,107,255,.3), transparent 60%), linear-gradient(160deg, #2A2440, #15121F);
  box-shadow: 0 0 0 1px rgba(46,230,214,.25), 0 12px 30px rgba(20,14,40,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.alm-buy-head { display: flex; align-items: flex-start; gap: 10px; }
.alm-buy-name { font: 800 1.1875rem/1.5rem var(--font-ui); margin-top: 3px; }
.alm-buy-sub { font-size: 0.7812rem; color: rgba(242,239,250,.62); margin-top: 2px; }
.alm-buy-proj { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 0.7812rem; line-height: 1.0625rem; color: var(--cyan-300); }
.alm-buy-proj + .alm-buy-proj { margin-top: 3px; }
.alm-buy-cta { box-shadow: 0 3px 0 #000, 0 0 0 1px rgba(255,233,166,.55), 0 0 18px rgba(255,212,71,.25) !important; }
.alm-buy-proj b { color: #fff; }
.alm-buy-price { color: #FFE9A6; }
.alm-buy-ghost { --b-bg: rgba(255,255,255,.08) !important; --b-ink: #F2EFFA !important; --b-edge: rgba(0,0,0,.3) !important; }
.alm-buy-note { margin-top: 10px; color: rgba(242,239,250,.5); }
.alm-src-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(232,94,156,.12); color: #C2417F; }
.device[data-theme="night"] .alm-src-ic { color: #FF9AC8; }
.alm-src-ic.off { background: var(--surface-3); color: var(--muted); }
.alm-src-today { white-space: nowrap; color: var(--ink-2); }
.alm-src-share { margin: 8px 4px 0; line-height: var(--lh-cap); }
.alm-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.alm-rules li { display: flex; gap: 8px; font-size: var(--fs-call); line-height: var(--lh-call); color: var(--ink-2); }
.alm-rules .mono { flex: none; color: var(--muted); font-size: 0.75rem; line-height: var(--lh-call); }
.alm-cs-stage { height: 180px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60% 60% at 50% 65%, rgba(245,190,30,.24), transparent 75%), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.alm-cs-stage.prem { background: radial-gradient(60% 60% at 50% 65%, rgba(139,107,255,.24), transparent 75%), var(--surface-2); }
.alm-cs-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.alm-cs-note { margin-top: 10px; font-size: 0.875rem; line-height: 1.3125rem; color: var(--ink-2); }

/* ================================================================ 资金去向 */
.funds-hero { position: relative; overflow: hidden; padding: 18px 16px 14px; border-radius: 26px; isolation: isolate; color: #FFF5D6;
  background: radial-gradient(120% 100% at 0% 0%, rgba(232,181,32,.28), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(46,230,214,.16), transparent 60%), linear-gradient(160deg, #26221A, #12100C);
  box-shadow: 0 0 0 1px rgba(232,181,32,.28), 0 16px 36px rgba(20,14,0,.28), inset 0 1px 0 rgba(255,233,166,.14); }
.funds-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,233,166,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,233,166,.06) 1px, transparent 1px);
  background-size: 18px 18px; }
.funds-hero-top { display: flex; align-items: flex-start; gap: 10px; }
.funds-eb { color: var(--monkey-gold); }
.funds-burn { font: 800 2.125rem/2.5rem var(--font-ui); letter-spacing: -.03em; margin-top: 4px; color: #FFF5D6; text-shadow: 0 0 24px rgba(255,212,71,.25); }
.funds-burn small { font: 700 0.75rem/1 var(--font-ui); color: rgba(255,245,214,.55); letter-spacing: .04em; }
.funds-inv-chip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 11px 0 9px; border-radius: 999px; font: 750 0.75rem/1 var(--font-ui); flex: none; }
.funds-inv-chip.ok { background: rgba(92,193,100,.16); color: var(--leaf-300); box-shadow: inset 0 0 0 1px rgba(92,193,100,.45); }
.funds-inv-chip.bad { background: rgba(229,86,107,.18); color: #FF9AA9; box-shadow: inset 0 0 0 1px rgba(229,86,107,.5); }
.funds-split { margin-top: 14px; }
.funds-split-bar { display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; }
.funds-split-bar i, .funds-batch-bar i { display: block; height: 100%; }
.funds-split-bar .b, .funds-batch-bar .b { background: linear-gradient(90deg, #5A4A22, #8A6B1E); box-shadow: inset 0 0 0 1px rgba(255,212,71,.35); }
.funds-split-bar .t, .funds-batch-bar .t { background: linear-gradient(90deg, var(--leaf-400), var(--leaf-600)); }
.funds-split-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: rgba(255,245,214,.7); }
.funds-split-legend b { color: #FFF5D6; }
.funds-dot { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
.funds-dot.b { background: #C99A2B; } .funds-dot.t { background: var(--leaf-500); }
.funds-zero { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(46,230,214,.08);
  box-shadow: inset 0 0 0 1px rgba(46,230,214,.25); font-size: 0.7812rem; line-height: 1.125rem; color: rgba(255,245,214,.8); }
.funds-zero > span:first-child { color: var(--cyan-300); flex: none; margin-top: 1px; }
.funds-zero b { color: var(--cyan-300); }
.funds-tots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.funds-tot { padding: 12px 12px 11px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.funds-tot::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tone); }
.funds-tot .label-mono { color: var(--tone-ink); font-size: 0.75rem; }
.funds-tot-v { font: 800 1.25rem/1.625rem var(--font-ui); letter-spacing: -.02em; margin-top: 3px; }
.funds-tot-l { font: 650 0.7812rem/1.0625rem var(--font-ui); color: var(--ink-2); }
.funds-tot .tiny { margin-top: 2px; }
.funds-flow { padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.funds-flow-row { display: flex; align-items: center; gap: 0; }
.funds-fn { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; padding: 8px; border-radius: 14px; background: var(--tone-soft); }
.funds-fn-ic { width: 30px; height: 30px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); color: var(--tone-ink); }
.funds-fn b { display: block; font: 750 0.8125rem/1.0625rem var(--font-ui); white-space: nowrap; }
.funds-fn small { display: block; font-size: 0.75rem; line-height: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funds-fa { position: relative; width: 52px; flex: none; display: flex; align-items: center; padding: 0 2px; color: var(--energy); }
.funds-fa i { display: block; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--energy) 0 4px, transparent 4px 7px); animation: funds-dash .8s linear infinite; }
.funds-fa-head { display: inline-flex; margin-left: -5px; }
.funds-fa small { position: absolute; top: -15px; left: 0; right: 0; text-align: center; font: 700 0.75rem/1 var(--font-mono); color: var(--energy); white-space: nowrap; }
@keyframes funds-dash { to { background-position: 7px 0; } }
.funds-branch { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 8px 0 6px; font: 650 0.75rem/1 var(--font-ui); color: var(--muted); }
.funds-branch span { color: var(--energy); display: inline-flex; }
.funds-flow-out { display: flex; gap: 4px; }
.funds-out { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-radius: 14px; min-width: 0; }
.funds-out b { display: block; font: 800 1.0625rem/1.25rem var(--font-ui); }
.funds-out small { display: block; font-size: 0.75rem; line-height: 0.8125rem; opacity: .8; white-space: nowrap; }
.funds-out.b { flex: 3; background: linear-gradient(135deg, #3B3730, #14120E); color: #FFD9A0; box-shadow: inset 0 0 0 1px rgba(232,181,32,.3); }
.funds-out.b > span { color: var(--monkey-gold); display: inline-flex; }
.funds-out.t { flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; background: linear-gradient(135deg, #57C064, #2B8540); color: #fff; }
.funds-next { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: 0.75rem; color: var(--muted); }
.funds-next > span { display: inline-flex; align-items: center; gap: 4px; }
.funds-next .num { color: var(--ink); font-weight: 700; }
.funds-wallets .list-row { padding: 10px 12px; }
.funds-w-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); }
.funds-w-r { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font: 750 0.875rem/1 var(--font-ui); flex: none; }
.funds-w-r { flex-direction: row; align-items: center; gap: 6px; }
.funds-w-r.col { flex-direction: column; align-items: flex-end; gap: 3px; }
.funds-w-r small { font-weight: 500; }
.funds-okdot { width: 20px; height: 20px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.funds-okdot.ok { background: rgba(62,164,78,.16); color: var(--leaf-600); }
.funds-okdot.bad { background: rgba(229,86,107,.16); color: #C23A50; }
.device[data-theme="night"] .funds-okdot.ok { color: var(--leaf-300); }
.funds-batches { display: flex; flex-direction: column; gap: 8px; }
.funds-batch { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.funds-batch-head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 60px; padding: 10px 10px 10px 12px; text-align: left; }
.funds-batch-date { width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 12px; background: var(--surface-2); }
.funds-batch-date b { font: 800 0.875rem/1.125rem var(--font-ui); }
.funds-batch-date small { font-size: 0.75rem; color: var(--muted); }
.funds-batch-bar { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.funds-batch-amt { display: flex; flex-direction: column; align-items: flex-end; font: 750 0.875rem/1.125rem var(--font-ui); }
.funds-batch-amt small { font: 600 0.75rem/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; }
.funds-chev { color: var(--faint); transition: transform var(--t-med) var(--ease-out); }
.funds-chev.up { transform: rotate(180deg); }
.funds-batch-body { padding: 4px 14px 12px; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 6px; animation: slideup var(--t-med) var(--ease-out); }
.funds-kv { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; padding-top: 6px; }
.funds-hash { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 12px; background: var(--surface-2); text-align: left; }
.funds-hash .mono { flex: 1; font-size: 0.75rem; color: var(--ink-2); }
.funds-hash > span:last-child { color: var(--muted); }
.funds-more { width: 100%; height: 44px; margin-top: 8px; border-radius: 14px; color: var(--accent); font: 650 0.8125rem/1 var(--font-ui); background: var(--surface-2); }
.funds-empty { padding: 16px; border-radius: 18px; background: var(--surface-2); color: var(--muted); font-size: 0.8125rem; line-height: 1.1875rem; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.funds-orders { display: flex; flex-direction: column; gap: 10px; }
.funds-order { padding: 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.funds-order-head { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-strong); }
.funds-oline { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.funds-oline + .funds-oline { border-top: 1px solid var(--line); }
.funds-oline-art { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.funds-oline-amt { font: 650 0.8125rem/1 var(--font-ui); color: var(--muted); }
.funds-order-foot { padding-top: 6px; font-size: 0.75rem; color: var(--faint); border-top: 1px dashed var(--line); }
.funds-sec-anchor { scroll-margin-top: 54px; }
.funds-invs { display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.funds-iv { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 48px; padding: 12px 12px 12px 14px; text-align: left; }
.funds-iv + .funds-iv { border-top: 1px solid var(--line); }
.funds-iv:active { background: var(--surface-2); }
.funds-iv.bad { background: rgba(229,86,107,.07); }
.funds-iv-ic { width: 20px; height: 20px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-top: 0; }
.funds-iv.ok .funds-iv-ic { background: var(--leaf-500); color: #fff; box-shadow: 0 0 10px rgba(92,193,100,.35); }
.funds-iv.bad .funds-iv-ic { background: var(--rose-500); color: #fff; box-shadow: 0 0 10px rgba(229,86,107,.4); }
.funds-iv-name { font: 600 0.8125rem/1.1875rem var(--font-ui); color: var(--ink); }
.funds-iv-detail { margin-top: 5px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); word-break: break-all; }
.funds-iv.bad .funds-iv-detail { color: #C23A50; background: rgba(229,86,107,.08); }
.funds-iv .funds-chev { margin-top: 2px; }
.funds-ledger { display: flex; flex-direction: column; gap: 6px; }
.funds-lg { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.funds-lg-type { font: 700 0.8125rem/1.125rem var(--font-ui); }
.funds-lg-amt { font: 750 0.8125rem/1 var(--font-ui); }
.funds-rules { margin-top: 22px; padding: 14px; border-radius: 18px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.funds-rule { display: flex; gap: 10px; font-size: 0.7812rem; line-height: 1.1875rem; color: var(--ink-2); }
.funds-rule .mono { flex: none; font-size: 0.75rem; line-height: 1.1875rem; color: var(--energy); }

/* 弹层隔离：本组弹层内部的 z-index 不外溢到叠在上面的其他弹层 */
.shop-detail-sheet, .shop-cart-sheet, .shop-trans-sheet, .mf-tryon-sheet, .mf-friend-sheet, .mf-confirm,
.ward-yard-sheet, .me-tz-sheet, .me-invite-sheet, .alm-cell-sheet { isolation: isolate; }
.shop-det-stage, .alm-cs-stage { isolation: isolate; }
.me-ms-n { margin-left: 6px; }
.me-ms .row-between { min-height: 28px; }

/* 夜间微调 */
.device[data-theme="night"] .shop-wallet { box-shadow: 0 2px 0 #000, inset 0 0 0 1px rgba(232,181,32,.38), 0 0 16px rgba(232,181,32,.12); }
.device[data-theme="night"] .shop-mk { box-shadow: 0 0 0 1px rgba(232,181,32,.45), 0 0 34px rgba(232,181,32,.14), 0 14px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,233,166,.18); }
.device[data-theme="night"] .shop-pass, .device[data-theme="night"] .alm-buy { box-shadow: 0 0 0 1px rgba(46,230,214,.38), 0 0 30px rgba(46,230,214,.12), 0 12px 30px rgba(0,0,0,.5); }
.device[data-theme="night"] .funds-hero { box-shadow: 0 0 0 1px rgba(232,181,32,.36), 0 0 34px rgba(232,181,32,.1), 0 16px 36px rgba(0,0,0,.5); }
.device[data-theme="night"] .shop-card-en, .device[data-theme="night"] .shop-det-en { opacity: 1; }
.device[data-theme="night"] .me-lv { background: var(--cyan-400); color: #052B28; }
.shop-cap-big { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.shop-cap-big > b, .shop-cap-num b { font: 800 1.875rem/2.4375rem var(--font-ui); letter-spacing: -.02em; }
.shop-cap-big strong { color: var(--ink); font-weight: 750; }
.shop-cap-num { display: flex; align-items: baseline; gap: 4px; }
.shop-cap-num span { font: 650 0.875rem/1 var(--font-ui); color: var(--muted); }
.shop-cap-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.funds-batch-tx { margin-top: 5px; font-size: 0.75rem; line-height: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-pass .tag-leaf, .alm-buy .tag-leaf { color: var(--leaf-300); background: rgba(92,193,100,.2); }
.ward-empties { margin-top: 14px; line-height: 1.125rem; }

/* 触控目标 ≥44px：小按钮用透明扩展区补足点击面积（视觉尺寸不变） */
.mf-screen .btn-xs::after, .mf-screen .btn-sm::after,
.shop-detail-sheet .btn-xs::after, .shop-cart-sheet .btn-sm::after, .mf-confirm .btn-sm::after, .me-invite-sheet .btn-xs::after, .me-invite-sheet .btn-sm::after {
  content: ""; position: absolute; inset: -8px -2px;
}
.shop-chip { height: 40px; }
.shop-nav-btn { height: 40px; }
.me-badge.vil { position: relative; }
.me-badge.vil::after { content: ""; position: absolute; inset: -8px -2px; }
.ward-link { min-height: 44px; padding: 0 6px; }
.funds-inv-chip { position: relative; }
.funds-inv-chip::after { content: ""; position: absolute; inset: -6px -2px; }
.ward-hero-part .seg button, .mf-try-part .seg button { position: relative; }
.ward-hero-part .seg button::after, .mf-try-part .seg button::after { content: ""; position: absolute; inset: -7px 0; }


/* ================================================================ 验收修复（商店 / 衣橱 / 年鉴 / 资金去向）*/
/* 「测试币」小字：所有 MONKEY 金额旁统一标注（SPEC §0.7） */
.mf-tc { font: 650 0.75rem/1 var(--font-ui); opacity: .62; margin-left: -2px; letter-spacing: .02em; white-space: nowrap; align-self: center; }
.btn .mf-tc { margin-left: 4px; opacity: .7; }

/* 试穿：「已换上」高亮 */
.pv-figure.pv-hl { box-shadow: 0 0 0 2px var(--cyan-400), 0 0 0 6px rgba(46,230,214,.22), 0 10px 26px rgba(30,20,8,.22); animation: pv-hl-pulse 1.8s var(--ease-in-out) infinite; }
.pv-hl-tag { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 8px 0 6px;
  border-radius: 999px; background: linear-gradient(180deg, #45EBDD, #14C4B8); color: #052B28; font: 800 0.75rem/1 var(--font-ui); white-space: nowrap; box-shadow: 0 2px 0 #0B8E86, 0 4px 10px rgba(0,0,0,.18); }
@keyframes pv-hl-pulse { 50% { box-shadow: 0 0 0 2px var(--cyan-400), 0 0 0 9px rgba(46,230,214,.08), 0 10px 26px rgba(30,20,8,.22); } }
@media (prefers-reduced-motion: reduce) { .pv-figure.pv-hl { animation: none; } }
.mf-try-ref.on { border-color: rgba(20,196,184,.45); box-shadow: 0 0 0 3px rgba(20,196,184,.12); }

/* 购物车：不可退的行 */
.shop-cl-norf { color: #A85A10; font-weight: 600; }
.device[data-theme="night"] .shop-cl-norf { color: #FFB46A; }

/* 详情：额度不足提示 / 试穿方形按钮 */
.shop-det-cap { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px;
  background: rgba(229,86,107,.10); color: #B23A4E; font-size: 0.8125rem; line-height: 1.125rem; }
.shop-det-cap > span:first-child { flex: none; margin-top: 1px; }
.shop-det-cap b { font-weight: 700; }
.shop-det-cap .tiny { color: inherit; opacity: .8; margin-top: 2px; }
.device[data-theme="night"] .shop-det-cap { color: #FF9AA9; }
.shop-det-foot .btn { padding: 0 14px; white-space: nowrap; }
.shop-try-sq { flex: none; width: 56px; height: 56px; border-radius: 18px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--surface-solid); color: var(--ink-2); border: 1px solid var(--line-strong); box-shadow: 0 3px 0 var(--line-strong), var(--highlight);
  transition: transform var(--t-fast) var(--ease-out); }
.shop-try-sq small { font: 700 0.75rem/1 var(--font-ui); color: var(--muted); }
.shop-try-sq > span { color: var(--energy); display: inline-flex; }
.shop-try-sq:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line-strong); }
.device[data-theme="night"] .shop-try-sq { background: var(--surface-3); box-shadow: 0 3px 0 rgba(0,0,0,.5), var(--highlight); }

/* 装备弹窗：将替换 */
.shop-eq-repl { color: #A85A10; font-weight: 600; }
.device[data-theme="night"] .shop-eq-repl { color: #FFB46A; }

/* 注册当天的一句话 */
.shop-d1 { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 20px;
  background: linear-gradient(90deg, rgba(92,193,100,.16), rgba(92,193,100,.04)); border: 1px solid rgba(62,164,78,.28); }
.shop-d1-ic { width: 40px; height: 40px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); color: var(--accent); }
.shop-d1 .lr-title { font-size: 0.9062rem; }

/* 猴王卡 / 外观轨卡：已在购物车 */
.shop-mk-btn.in { background: rgba(92,193,100,.16); color: var(--leaf-300); box-shadow: inset 0 0 0 1.5px rgba(92,193,100,.55); }

/* 悬浮购物车条（底栏上方 8px） */
.shop-cartbar { position: absolute; left: 14px; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 45; height: 60px;
  display: flex; align-items: center; gap: 8px; padding: 0 6px 0 8px; border-radius: 20px; color: #FFE9A6;
  background: linear-gradient(180deg, #34312A 0%, #1D1B16 100%);
  box-shadow: 0 3px 0 #000, 0 12px 28px rgba(20,14,0,.32), inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(232,181,32,.28);
  animation: shop-bar-in var(--t-slow) var(--ease-spring); }
@keyframes shop-bar-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .shop-cartbar { animation: none; } }
.shop-cartbar-main { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 10px; text-align: left; color: inherit; }
.shop-cartbar-ic { position: relative; width: 42px; height: 42px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,233,166,.1); box-shadow: inset 0 0 0 1px rgba(255,233,166,.22); color: #FFE9A6; }
.shop-cartbar-ic.bump { animation: bump var(--t-slow) var(--ease-spring); }
.shop-cartbar-ic .shop-cart-count { box-shadow: 0 0 0 2px #1D1B16; }
.shop-cartbar-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.shop-cartbar-n { font: 650 0.75rem/1 var(--font-ui); color: rgba(255,233,166,.7); }
.shop-cartbar-price { color: #FFF5D6; font-size: 1.0625rem; }
.shop-cartbar-go { flex: none; height: 46px; padding: 0 12px 0 16px; border-radius: 15px; display: inline-flex; align-items: center; gap: 2px;
  background: linear-gradient(180deg, #FFE27A, #F2B705); color: #3A2A00; font: 800 0.9375rem/1 var(--font-ui); box-shadow: 0 2px 0 #B98A00, 0 6px 14px rgba(0,0,0,.2); }
.shop-cartbar-go:active { transform: translateY(1px); }
.device[data-theme="night"] .shop-cartbar { box-shadow: 0 3px 0 #000, 0 0 0 1px rgba(232,181,32,.45), 0 0 26px rgba(232,181,32,.16), 0 12px 28px rgba(0,0,0,.5); }
.shop-screen.has-cartbar .screen-scroll { padding-bottom: calc(166px + env(safe-area-inset-bottom)); }

/* 衣橱：底部常驻的选中操作条 */
.ward-dock { position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; min-height: 72px;
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 10px; border-radius: 22px;
  background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3), var(--highlight);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  animation: shop-bar-in var(--t-slow) var(--ease-spring); }
@media (prefers-reduced-motion: reduce) { .ward-dock { animation: none; } }
.ward-dock-art { position: relative; width: 52px; height: 52px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); box-shadow: inset 0 0 0 1.5px rgba(20,196,184,.45); }
.ward-dock-art > span:first-child { display: flex; }
.ward-dock-eye { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-500); color: #fff; box-shadow: 0 0 0 2px var(--surface-solid); }
.ward-dock .lr-title { font-size: 0.9062rem; }
.ward-screen.has-dock .screen-scroll { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.ward-dock .btn-sm { height: 40px; padding: 0 12px; position: relative; }
.ward-dock .btn-sm::after { content: ""; position: absolute; inset: -4px -2px; }

/* 送礼确认 */
.ward-gift-who { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); text-align: left; }
.ward-gift-art { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.ward-gift-warn { color: #A85A10; font-weight: 600; }
.device[data-theme="night"] .ward-gift-warn { color: #FFB46A; }

/* 年鉴：注册当天折叠的外观轨 */
.alm-buy-fold { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin-top: 18px; padding: 10px 14px; border-radius: 18px; text-align: left;
  background: var(--surface); border: 1px dashed var(--line-strong); color: var(--ink-2); }
.alm-buy-fold b { display: block; font: 700 0.875rem/1.1875rem var(--font-ui); color: var(--ink); }
.alm-buy-fold small { display: block; font-size: 0.75rem; line-height: 0.9375rem; color: var(--muted); }
.alm-buy-fold-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(139,107,255,.14); color: #6346D9; }
.device[data-theme="night"] .alm-buy-fold-ic { color: #BBA8FF; }
.alm-buy-fold-chev { color: var(--faint); display: inline-flex; }

/* ================================================================ v0.4 第二轮（F3）：商店 / 我的 / 消费保护 / 服务条款 / 资金去向
 * 字号一律用 --fs-* 令牌（rem，跟随「字号：标准 / 大」），最小 12px；触控目标 ≥44px；昼夜都用令牌颜色。 */

/* ---------- 共用：好友选择里的 NPC 标识 */
.mf-fr-name { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mf-npc-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 6px; background: var(--surface-3); color: var(--ink-2);
  font: 700 var(--fs-cap)/1 var(--font-ui); letter-spacing: .04em; }
.mf-fr-foot { display: flex; align-items: flex-start; gap: 6px; margin: 12px 4px 0; }
.mf-fr-foot > span:first-child { flex: none; margin-top: 1px; }

/* ---------- 商店：消费保护横幅 / 价格说明条 / 猴王规则 / 额度不足 */
.shop-spend-banner { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin: 0 0 10px; padding: 10px 12px; border-radius: 18px; text-align: left;
  background: rgba(245,190,30,.14); border: 1px solid rgba(245,190,30,.40); color: var(--ink); }
.shop-spend-banner b { display: block; font: 700 var(--fs-body)/var(--lh-body) var(--font-ui); }
.shop-spend-banner .tiny { color: var(--ink-2); }
.shop-spend-banner > span:last-child { color: var(--muted); flex: none; }
.shop-spend-banner.out { background: rgba(229,86,107,.10); border-color: rgba(229,86,107,.34); }
.shop-spend-banner.paused { background: rgba(20,196,184,.12); border-color: rgba(20,196,184,.38); }
.shop-sb-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); color: #8A6200; }
.shop-spend-banner.out .shop-sb-ic { color: #B23A4E; }
.shop-spend-banner.paused .shop-sb-ic { color: var(--cyan-600); }
.device[data-theme="night"] .shop-sb-ic { background: var(--surface-3); color: var(--banana-300); }
.device[data-theme="night"] .shop-spend-banner.out .shop-sb-ic { color: #FF9AA9; }
.device[data-theme="night"] .shop-spend-banner.paused .shop-sb-ic { color: var(--cyan-300); }
.shop-spend-banner:active { transform: scale(.99); }

.shop-price-strip { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 8px; padding: 0 12px; border-radius: 14px; text-align: left;
  background: var(--surface-2); color: var(--ink-2); font: 600 var(--fs-call)/var(--lh-call) var(--font-ui); }
.shop-price-strip > span:first-child { color: var(--energy); flex: none; display: inline-flex; }
.shop-ps-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(20,196,184,.14); color: var(--cyan-600); font: 650 var(--fs-cap)/var(--lh-cap) var(--font-ui); }
.device[data-theme="night"] .shop-ps-tag { color: var(--cyan-300); }
.shop-ps-more { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font: 600 var(--fs-cap)/1 var(--font-ui); }
.shop-price-strip:active { background: var(--surface-3); }
.shop-price-big { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface-2); color: var(--ink);
  font: 700 var(--fs-head)/var(--lh-head) var(--font-ui); }
.shop-price-big > span { color: var(--energy); flex: none; display: inline-flex; }

.shop-mk-note { display: flex; align-items: flex-start; gap: 5px; margin-top: 2px; font: 600 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: rgba(255,245,214,.78); }
.shop-mk-note > span:first-child { color: var(--monkey-gold); flex: none; margin-top: 1px; }
.shop-mk-teaser-note { color: var(--ink-2); margin-top: 2px; }
.shop-det-mk { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(232,181,32,.12); border: 1px solid rgba(232,181,32,.30); }
.shop-det-mk-rule { display: flex; align-items: flex-start; gap: 6px; font: 650 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); }
.shop-det-mk-rule > span:first-child { color: #8A6200; flex: none; margin-top: 1px; }
.device[data-theme="night"] .shop-det-mk-rule > span:first-child { color: var(--banana-300); }
.shop-det-cap.paused { background: rgba(20,196,184,.12); color: var(--cyan-600); }
.device[data-theme="night"] .shop-det-cap.paused { color: var(--cyan-300); }
.shop-det-cap .grow { min-width: 0; }
.shop-det-cap-link { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; margin-top: 4px; padding: 0; color: inherit; font: 700 var(--fs-cap)/1 var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
.shop-cart-cap { display: flex; align-items: center; gap: 6px; }
.shop-foot-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; padding: 0 8px; color: var(--accent); font: 650 var(--fs-cap)/1 var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 我的：头像框 / 称号 / 等级奖励 / 消费与安全 / 设置 */
.me-title { font-size: var(--fs-cap); }
.me-title.lv20 { padding-left: 4px; background: linear-gradient(90deg, rgba(169,124,82,.22), rgba(169,124,82,.08)); color: var(--soil-600); box-shadow: inset 0 0 0 1px rgba(169,124,82,.35); }
.device[data-theme="night"] .me-title.lv20 { color: var(--soil-300); }
.me-title-art { display: inline-flex; width: 22px; height: 22px; }
.me-title-art svg { width: 22px; height: 22px; }
button.me-title { min-height: 28px; position: relative; }
button.me-title::after { content: ""; position: absolute; inset: -8px -4px; }
.me-badge.star { background: rgba(232,181,32,.16); color: #8A6200; border-color: rgba(232,181,32,.4); }
.device[data-theme="night"] .me-badge.star { color: var(--banana-300); }
.me-badge-art { display: inline-flex; width: 18px; height: 18px; }
.me-badge-art svg { width: 18px; height: 18px; }

.me-rewards { margin-top: 12px; padding: 12px 12px 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.me-rw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 2px 8px; }
.me-rw-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.me-rw { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 96px; padding: 8px 2px 8px; border-radius: 16px; background: var(--surface-2); text-align: center; color: var(--ink-2); }
.me-rw[disabled] { cursor: default; }
.me-rw:not(.got) .me-rw-art { filter: grayscale(1); opacity: .45; }
.me-rw.got { background: rgba(62,164,78,.10); box-shadow: inset 0 0 0 1px rgba(62,164,78,.28); color: var(--ink); }
.me-rw.star.got { background: rgba(232,181,32,.14); box-shadow: inset 0 0 0 1px rgba(232,181,32,.36); }
button.me-rw.got:active { transform: scale(.96); }
.me-rw-art { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--energy); }
.me-rw-art svg { width: 40px; height: 40px; }
.me-rw-name { font: 650 var(--fs-cap)/var(--lh-cap) var(--font-ui); max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.me-rw-lv { display: inline-flex; align-items: center; gap: 2px; font: 700 var(--fs-cap)/1 var(--font-ui); color: var(--muted); }
.me-rw.got .me-rw-lv { color: var(--leaf-600); }
.device[data-theme="night"] .me-rw.got .me-rw-lv { color: var(--leaf-300); }
.me-rw-note { margin: 8px 2px 0; }

.me-safety .lr-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.me-inline-tag { height: 20px; }
.me-safety-bar { margin-top: 6px; height: 6px; }
.me-ic-shield { background: rgba(20,196,184,.14); color: var(--cyan-600); }
.device[data-theme="night"] .me-ic-shield { color: var(--cyan-300); }
.me-ic-age { font: 800 var(--fs-cap)/1 var(--font-ui); letter-spacing: -.02em; color: var(--muted); }
.me-ic-age.ok { background: rgba(62,164,78,.16); color: var(--leaf-600); }
.device[data-theme="night"] .me-ic-age.ok { color: var(--leaf-300); }
.me-ic-font { font: 750 var(--fs-body)/1 var(--font-ui); letter-spacing: -.02em; }
.me-set-font { flex-wrap: wrap; }
.me-font-seg { width: 132px; flex: none; }
.me-font-seg .seg button, .me-push-seg .seg button { height: 36px; position: relative; }
.me-font-seg .seg button::after, .me-push-seg .seg button::after { content: ""; position: absolute; inset: -4px 0; }
.me-settings .switch, .me-safety .switch { flex: none; }

/* ---------- 消费保护（#/spend） */
.sp-amt { display: inline-flex; align-items: baseline; gap: 5px; }
.sp-amt-ic { align-self: center; display: inline-flex; }
.sp-amt .num { font-weight: 800; }
.sp-amt small { font: 650 var(--fs-cap)/1 var(--font-ui); color: inherit; opacity: .7; }
.sp-hero { position: relative; overflow: hidden; padding: 16px; border-radius: 26px; isolation: isolate; color: #FFF5D6;
  background: radial-gradient(120% 100% at 0% 0%, rgba(232,181,32,.26), transparent 55%), linear-gradient(160deg, #26221A, #12100C);
  box-shadow: 0 0 0 1px rgba(232,181,32,.28), 0 14px 32px rgba(20,14,0,.26), inset 0 1px 0 rgba(255,233,166,.14); }
.sp-hero.paused { background: radial-gradient(120% 100% at 0% 0%, rgba(46,230,214,.24), transparent 60%), linear-gradient(160deg, #13302E, #0B1716);
  box-shadow: 0 0 0 1px rgba(46,230,214,.32), 0 14px 32px rgba(0,20,18,.26), inset 0 1px 0 rgba(123,241,232,.14); }
.sp-hero-eb { font: 700 var(--fs-cap)/var(--lh-cap) var(--font-ui); letter-spacing: .06em; color: var(--monkey-gold); }
.sp-hero.paused .sp-hero-eb { color: var(--cyan-300); }
.sp-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; }
.sp-hero-amt { color: #FFF5D6; }
.sp-hero-amt .num { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.03em; }
.sp-hero-amt .sp-amt-ic { color: var(--monkey-gold); }
.sp-hero .tag { background: rgba(255,233,166,.12); color: #FFE9A6; }
.sp-hero .tag-energy { background: rgba(46,230,214,.16); color: var(--cyan-300); }
.sp-bar { background: rgba(255,233,166,.12); }
.sp-bar.hot > i { background: linear-gradient(90deg, #F07385, #E5566B); }
.sp-hero-sub { margin-top: 8px; font: 500 var(--fs-cap)/1.5 var(--font-ui); color: rgba(255,245,214,.74); }
.sp-hero-sub b { color: #FFF5D6; }
.sp-hero-day { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,233,166,.08);
  font: 600 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: rgba(255,245,214,.86); }
.sp-hero-day > span:first-child { flex: none; color: var(--monkey-gold); }
.sp-hero-day b { color: #FFF5D6; }
.sp-hero-day.warn > span:first-child { color: #FFB46A; }
.sp-hero .sp-left-note { margin-top: 8px; color: rgba(255,245,214,.66); line-height: var(--lh-cap); }
.sp-hero-top { display: flex; gap: 12px; align-items: flex-start; }
.sp-hero-ic { width: 48px; height: 48px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(46,230,214,.16); color: var(--cyan-300); }
.sp-hero-big { margin-top: 2px; font: 800 var(--fs-title)/var(--lh-title) var(--font-ui); letter-spacing: -.02em; color: #F2FFFD; }
.sp-hero.paused .sp-hero-sub { color: rgba(226,250,247,.8); }
.sp-hero-note { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(123,241,232,.16);
  font: 600 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: rgba(226,250,247,.82); }
.sp-hero-note > span:first-child { color: var(--leaf-300); display: inline-flex; }

.sp-age { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.sp-age-badge { width: 40px; height: 40px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--muted);
  font: 800 var(--fs-call)/1 var(--font-ui); letter-spacing: -.02em; }
.sp-age.ok .sp-age-badge { background: linear-gradient(180deg, #57C064, #2B8540); color: #fff; }
.sp-age .lr-title { font: 650 var(--fs-body)/var(--lh-body) var(--font-ui); }
.sp-age .lr-sub { font-size: var(--fs-cap); line-height: var(--lh-cap); color: var(--muted); }

.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sp-cell { padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; }
.sp-cell.wide { grid-column: 1 / -1; }
.sp-cell-l { font: 600 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: var(--muted); }
.sp-cell-v { margin-top: 4px; font: 800 var(--fs-head)/var(--lh-head) var(--font-ui); letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.sp-cell-v.big { font-size: var(--fs-title); line-height: var(--lh-title); }
.sp-cell-v small { font: 650 var(--fs-cap)/1 var(--font-ui); color: var(--muted); }
.sp-cell-sub { margin-top: 4px; font: 500 var(--fs-cap)/1.5 var(--font-ui); color: var(--muted); }
.sp-link { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 8px; padding: 0 14px; border-radius: 16px; background: var(--surface-2); color: var(--ink-2);
  font: 650 var(--fs-call)/1 var(--font-ui); text-align: left; }
.sp-link > span:first-child { color: var(--energy); display: inline-flex; }
.sp-link:active { background: var(--surface-3); }

.sp-lims { display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.sp-lim + .sp-lim { border-top: 1px solid var(--line); }
.sp-lim-main { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 12px 10px 14px; text-align: left; }
.sp-lim-main:active { background: var(--surface-2); }
.sp-lim-main .lr-title { font: 650 var(--fs-body)/var(--lh-body) var(--font-ui); }
.sp-lim-main .lr-sub { font: 600 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink-2); }
.sp-lim-ic { width: 40px; height: 40px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); }
.sp-lim-edit { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font: 650 var(--fs-call)/1 var(--font-ui); }
.sp-lim-pend { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 10px 10px 10px 12px; border-radius: 14px; background: rgba(245,190,30,.14); color: #8A6200; }
.sp-lim-pend b { display: block; font: 700 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); }
.sp-lim-pend .tiny { color: var(--ink-2); }
.sp-lim-pend > span:first-child { flex: none; }
.device[data-theme="night"] .sp-lim-pend { color: var(--banana-300); }
.sp-foot { margin: 8px 4px 0; font: 500 var(--fs-cap)/1.55 var(--font-ui); color: var(--muted); }

.sp-edit-now { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.sp-edit-now b { font: 750 var(--fs-body)/var(--lh-body) var(--font-ui); }
.sp-edit-label { display: block; margin: 16px 2px 8px; font: 650 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink-2); }
.sp-input-wrap { position: relative; }
.sp-input { height: 56px; padding-right: 88px; font: 800 var(--fs-title)/1 var(--font-ui); letter-spacing: -.01em; }
.sp-input-unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 700 var(--fs-cap)/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; pointer-events: none; }
.sp-dir { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2);
  font: 600 var(--fs-call)/var(--lh-call) var(--font-ui); }
.sp-dir > span:first-child { flex: none; margin-top: 1px; }
.sp-dir.ok { background: rgba(62,164,78,.12); color: var(--leaf-700); }
.sp-dir.raise { background: rgba(245,190,30,.16); color: #6E4E00; }
.sp-dir.bad { background: rgba(229,86,107,.12); color: #B23A4E; }
.device[data-theme="night"] .sp-dir.ok { color: var(--leaf-300); }
.device[data-theme="night"] .sp-dir.raise { color: var(--banana-300); }
.device[data-theme="night"] .sp-dir.bad { color: #FF9AA9; }
.sp-dir .tiny { color: inherit; opacity: .85; margin-top: 2px; }
.sp-edit-alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sp-edit-alt .btn { height: 44px; }

.sp-pause { padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.sp-pause-on { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(20,196,184,.12); color: var(--cyan-600); }
.sp-pause-on b { display: block; font: 700 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); }
.sp-pause-on .tiny { color: var(--ink-2); }
.device[data-theme="night"] .sp-pause-on { color: var(--cyan-300); }
.sp-pause-txt { font: 500 var(--fs-call)/1.55 var(--font-text); color: var(--ink-2); }
.sp-pause-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sp-pause-opt { display: flex; align-items: baseline; justify-content: center; gap: 3px; min-height: 56px; border-radius: 16px; background: var(--surface-2); border: 1.5px solid var(--line-strong); color: var(--ink); }
.sp-pause-opt b { font: 800 var(--fs-title)/1 var(--font-ui); align-self: center; }
.sp-pause-opt small { font: 650 var(--fs-call)/1 var(--font-ui); color: var(--muted); align-self: center; }
.sp-pause-opt:active:not([disabled]) { transform: scale(.97); border-color: var(--cyan-400); }
.sp-pause-list { margin: 10px 0 0; padding: 0 0 0 18px; text-align: left; font: 500 var(--fs-call)/1.6 var(--font-text); color: var(--ink-2); }
.sp-pause-list b { color: var(--ink); }
.sp-ack { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 14px; padding: 0 12px; border-radius: 14px; background: var(--surface-2); text-align: left;
  font: 650 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.sp-ack.on { box-shadow: inset 0 0 0 1.5px var(--leaf-400); background: rgba(62,164,78,.10); }
.sp-ack-box { width: 22px; height: 22px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--surface-solid); box-shadow: inset 0 0 0 2px var(--line-strong); color: #fff; }
.sp-ack.on .sp-ack-box { background: var(--leaf-500); box-shadow: none; }
.sp-pause-modal .mf-cf-body b { color: var(--ink); }
.sp-edit-sheet, .sp-pause-modal, .pay-spend-modal { isolation: isolate; }

/* ---------- 服务条款与停服预案（#/terms） */
.tm-lead { padding: 14px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.tm-lead p { margin: 0; font: 500 var(--fs-body)/1.6 var(--font-text); color: var(--ink); }
.tm-lead .tm-lead-note { margin-top: 8px; font-size: var(--fs-call); color: var(--muted); }
.tm-disc { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 6px; }
.tm-disc-row { display: flex; align-items: center; gap: 8px; min-height: 28px; font: 600 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink-2); }
.tm-link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 2px; color: var(--accent); font: 650 var(--fs-call)/1 var(--font-ui); }
.tm-sec { margin-top: 14px; padding: 14px 16px 6px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.tm-sec-head { display: flex; align-items: center; gap: 10px; }
.tm-sec-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); }
.tm-sec-title { margin: 0; font: 700 var(--fs-head)/var(--lh-head) var(--font-ui); letter-spacing: -.01em; }
.tm-sec-body { padding: 4px 0 6px; }
.tm-list { margin: 8px 0 4px; padding: 0 0 0 20px; font: 500 var(--fs-call)/1.65 var(--font-text); color: var(--ink-2); }
.tm-list li + li { margin-top: 6px; }
.tm-list b { color: var(--ink); font-weight: 700; }
.tm-ol { padding-left: 22px; }

/* ---------- 资金去向：黑洞说明 / 地址 / 团队公示 / 前作对照 / 披露 / 累计花费 */
.funds-burn-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font: 500 var(--fs-cap)/1.5 var(--font-ui); color: var(--muted); }
.funds-burn-note > span:first-child { flex: none; margin-top: 1px; color: var(--energy); }
.funds-out small { white-space: normal; }
.funds-hash-note { display: flex; align-items: flex-start; gap: 6px; margin: 0 2px 10px; font: 500 var(--fs-cap)/1.5 var(--font-ui); color: var(--muted); }
.funds-hash-note > span:first-child { flex: none; margin-top: 1px; color: var(--energy); }
.funds-wallet { align-items: flex-start; }
.funds-wallet .funds-w-ic { margin-top: 2px; }
.funds-wallet .funds-w-r { margin-top: 4px; }
.funds-addr { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.funds-addr-k { font: 650 var(--fs-cap)/1 var(--font-ui); color: var(--muted); }
.funds-addr-v { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 8px; border-radius: 9px; background: var(--surface-2); font-size: var(--fs-cap); color: var(--ink-2); }
.funds-addr-demo { margin-top: 4px; font-size: var(--fs-cap); word-break: break-all; }
.funds-pending { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: rgba(245,190,30,.16); color: #7A5600;
  font: 650 var(--fs-cap)/1 var(--font-ui); white-space: nowrap; }
.device[data-theme="night"] .funds-pending { color: var(--banana-300); background: rgba(245,190,30,.14); }

.funds-card { padding: 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.funds-tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.funds-tm-cell { padding: 10px; border-radius: 14px; background: var(--surface-2); min-width: 0; }
.funds-tm-l { font: 600 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: var(--muted); }
.funds-tm-v { margin-top: 4px; font: 800 var(--fs-head)/var(--lh-head) var(--font-ui); letter-spacing: -.02em; overflow-wrap: anywhere; }
.funds-legend { display: flex; align-items: center; gap: 14px; margin: 14px 2px 4px; font: 600 var(--fs-cap)/1 var(--font-ui); color: var(--ink-2); }
.funds-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.funds-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.funds-team-chart { width: 100%; height: auto; display: block; }
.funds-tc-bar { transition: opacity var(--t-fast); }
.funds-team-chart:hover .funds-tc-bar { opacity: .55; }
.funds-team-chart .funds-tc-bar:hover { opacity: 1; }
.funds-tc-val { font: 700 12px/1 var(--font-ui); fill: var(--ink); }
.funds-tc-x { font: 600 12px/1 var(--font-ui); fill: var(--muted); }
.funds-tc-x.cur { fill: var(--ink); font-weight: 750; }
.funds-table { width: 100%; margin-top: 8px; border-collapse: collapse; font: 600 var(--fs-cap)/1.4 var(--font-ui); color: var(--ink-2); }
.funds-table th { text-align: left; padding: 8px 6px; font-weight: 650; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.funds-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.funds-table th:not(:first-child), .funds-table td:not(:first-child) { text-align: right; }
.funds-table tr.cur td { color: var(--ink); }
.funds-table td.num, .funds-table td .num { font-variant-numeric: tabular-nums; }
.funds-em { margin-top: 0; }
.funds-em-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); font: 500 var(--fs-cap)/1.55 var(--font-ui); color: var(--ink-2); }
.funds-em-note > span:first-child { flex: none; margin-top: 1px; color: var(--energy); }
.funds-sub-title { margin: 14px 2px 6px; font: 700 var(--fs-call)/var(--lh-call) var(--font-ui); }
/* 经济变更公告（v0.5 W1-FE-ECON）：原因、生效日、涉及几项、意见数；提意见在意见期内 */
.funds-notice-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.funds-notice { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); }
.funds-notice.done { opacity: .92; }
.funds-notice-title { font: 700 var(--fs-call)/var(--lh-call) var(--font-ui); }
.funds-notice-reason { font-size: var(--fs-call); line-height: var(--lh-call); color: var(--ink); }
.funds-notice-items { margin: 2px 0 0; padding-left: 18px; color: var(--ink-2); line-height: 1.5; }
.funds-notice-items li { margin: 1px 0; }
.funds-notice-fb { align-self: flex-start; margin-top: 4px; min-height: 44px; }
.funds-notice-raw { margin-top: 10px; }
.funds-fb-text { width: 100%; min-height: 96px; resize: vertical; font-size: var(--fs-body); line-height: var(--lh-body); }
.funds-sale { display: flex; gap: 8px; padding: 8px 2px; border-top: 1px solid var(--line); }
.funds-sale b { font: 750 var(--fs-call)/var(--lh-call) var(--font-ui); }
.funds-notes { margin: 12px 0 0; padding: 0 0 0 18px; font: 500 var(--fs-cap)/1.6 var(--font-ui); color: var(--muted); }

.funds-disc-sum { display: flex; align-items: stretch; gap: 8px; }
.funds-disc-star { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
.funds-disc-star b { display: block; font: 750 var(--fs-body)/var(--lh-body) var(--font-ui); }
.funds-disc-star.warn { background: rgba(245,190,30,.16); color: #7A5600; }
.funds-disc-star.ok { background: rgba(62,164,78,.14); color: var(--leaf-700); }
.device[data-theme="night"] .funds-disc-star.warn { color: var(--banana-300); }
.device[data-theme="night"] .funds-disc-star.ok { color: var(--leaf-300); }
.funds-disc-star .tiny { color: inherit; opacity: .85; }
.funds-disc-all { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.funds-disc-all b { font: 800 var(--fs-head)/1 var(--font-ui); }
.funds-ds { border-top: 1px solid var(--line); }
.funds-ds:first-of-type { margin-top: 8px; }
.funds-ds-head { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 6px 2px; text-align: left; }
.funds-ds-star { width: 20px; flex: none; text-align: center; font: 800 var(--fs-body)/1 var(--font-ui); color: var(--monkey-gold); }
.funds-ds-star.off { color: var(--faint); }
.funds-ds-title { font: 650 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); }
.funds-ds-body { display: flex; flex-direction: column; gap: 8px; padding: 0 2px 12px 28px; animation: slideup var(--t-med) var(--ease-out); }
.funds-di { padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.funds-di-label { font: 600 var(--fs-cap)/1.5 var(--font-ui); color: var(--ink-2); margin-bottom: 4px; }
.funds-di-v { font: 600 var(--fs-call)/1.5 var(--font-text); color: var(--ink); word-break: break-word; }

.funds-spend { display: block; width: 100%; margin-bottom: 10px; padding: 12px; border-radius: 18px; text-align: left; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.funds-spend:active { background: var(--surface-2); }
.funds-sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.funds-sp-cell b { display: block; margin-top: 2px; font: 800 var(--fs-head)/var(--lh-head) var(--font-ui); letter-spacing: -.02em; overflow-wrap: anywhere; }
.funds-sp-foot { display: flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); font: 600 var(--fs-cap)/1 var(--font-ui); color: var(--muted); }
.funds-sp-foot > span:first-child { color: var(--energy); display: inline-flex; }
.funds-sp-foot > span:nth-child(3) { color: var(--accent); }
.shop-meta-cell { position: relative; padding-right: 26px; }
.shop-meta-cell .shop-meta-more { position: absolute; right: 8px; top: 12px; margin: 0; }
.shop-meta-flowtxt span { white-space: nowrap; }
.shop-meta-flowtxt span[aria-hidden] { white-space: normal; }   /* 两个数字各自不断开，格子窄时在「 · 」处换行，不再把「25% team」截掉（终版复核） */
.shop-mk-teaser-note { display: flex; align-items: flex-start; gap: 4px; }
.shop-mk-teaser-note > span:first-child { flex: none; margin-top: 1px; color: #8A6200; }
.device[data-theme="night"] .shop-mk-teaser-note > span:first-child { color: var(--banana-300); }
.sp-amt .mf-tc { align-self: baseline; margin-left: 2px; }
.shop-mk-eyebrow.label-cjk { font-family: var(--font-ui); font-size: var(--fs-cap); letter-spacing: .04em; }
/* 触控目标补足 44px（375px 走查） */
.shop-chip, .shop-nav-btn, .shop-wallet { height: 44px; }
.shop-seg button, .ward-seg button { height: 44px; }
.pv-scene { position: absolute; inset: 0; pointer-events: none; }

/* ================================================================ v0.4 验收修复（shop_econ） */
/* 商店页眉：眉标单独占一整行（官方商店 / 匠人摊两个 tab 结构相同，位置一致、不折行），标题与钱包 / 购物车同一行 */
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "eb eb eb" "ti wa ca"; align-items: center; column-gap: 8px; row-gap: 2px; }
.shop-head > .grow { display: contents; }
.shop-head > .grow > .label-mono { grid-area: eb; min-width: 0; line-height: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-head > .grow > .screen-title { grid-area: ti; min-width: 0; margin: 0; }
.shop-head > .shop-wallet { grid-area: wa; }
.shop-head > .shop-cart-btn { grid-area: ca; }
/* 正式环境：不显示余额，钱包胶囊只作「资金去向」入口 */
.shop-wallet.no-bal { padding: 0 14px 0 8px; }
.shop-wallet-txt { font: 700 0.875rem/1 var(--font-ui); }

/* 待支付横幅：标题 + 价格一行，按钮单独一行靠右（375px 不再把标题挤成三行） */
.shop-pend-row { flex-direction: column; align-items: stretch; gap: 8px; }
.shop-pend-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.shop-pend-title { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
.shop-pend-title .lr-title { white-space: nowrap; }
.shop-pend-acts { display: flex; justify-content: flex-end; gap: 8px; }
.shop-pend-row .shop-pend-acts .btn-xs { height: 36px; min-width: 64px; }

/* 自我暂停期间：购买按钮改成说明 */
.shop-mk-btn.shop-paused-chip { background: rgba(255,233,166,.08); color: rgba(255,233,166,.75); box-shadow: inset 0 0 0 1px rgba(255,233,166,.2); cursor: default; }
.shop-pass .shop-mk-btn.shop-paused-chip { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.shop-cartbar-go.paused { gap: 5px; padding: 0 14px; background: rgba(255,233,166,.1); color: rgba(255,233,166,.8); box-shadow: inset 0 0 0 1px rgba(255,233,166,.25); font-weight: 700; }

/* 字号「大」：首屏小字不留孤字，资金去向「合并」说明两行不贴死 */
.shop-meta-note, .shop-price-strip > .grow, .shop-ps-more, .shop-mk-sub, .shop-mk-note { text-wrap: balance; }
.funds-sp-foot { line-height: var(--lh-cap); }
.funds-sp-foot > .grow { min-width: 0; text-wrap: balance; }
/* 消费保护首卡：大字号时金额 + 「默认上限」标签换行，不被卡片 overflow 裁掉 */
.sp-hero-row { flex-wrap: wrap; row-gap: 6px; }
.sp-hero-row > .sp-amt { min-width: 0; flex-wrap: wrap; }
.sp-hero-row > .tag { flex: none; }
/* 资金去向「钱怎么走」：大字号时节点副字换行而不是省略，箭头上的「24h 可退」不再压进节点 */
.funds-fa { width: 3.75rem; }
.funds-fa small { top: auto; bottom: calc(50% + 6px); font-family: var(--font-ui); line-height: 1.1; }
.funds-fn small { white-space: normal; overflow: visible; text-overflow: clip; line-height: var(--lh-cap); text-wrap: balance; }
.funds-sp-foot > span:nth-child(3) { flex: none; }
/* 登录页（正式环境）：Mixin 授权未开放时如实说明 */
.login-oauth-off { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px;
  background: rgba(245,190,30,.16); border: 1px solid rgba(201,146,0,.38); color: #5E4A12; }
.login-oauth-off > span { flex: none; margin-top: 1px; display: inline-flex; color: #8A6200; }
.login-oauth-off b { display: block; font: 700 0.875rem/1.25rem var(--font-ui); color: #4A3A0E; }
.login-oauth-off .tiny { margin-top: 2px; color: #6B5718; }
.mk-date .nw { white-space: nowrap; }
.shop-screen .nw { white-space: nowrap; }
/* 大 / 特大字号：价格说明条只留主句（「已下单价格不变」点开说明里有），不把主句挤成窄条（原来只写了 large，特大漏了） */
html:is([data-font='large'], [data-font='xlarge']) .shop-ps-more-txt { display: none; }
/* 大 / 特大字号：「新号今日额度 | 钱去哪了」两格改成上下叠放，「75% 销毁 · 25% 团队」与说明句不再被格宽裁掉（W4 收尾：英文 125% 下「25% team」被切） */
html:is([data-font='large'], [data-font='xlarge']) .shop-meta { grid-template-columns: 1fr; }
html:is([data-font='large'], [data-font='xlarge']) .shop-meta-cell + .shop-meta-cell { border-left: 0; border-top: 1px dashed var(--line-strong); }
html:is([data-font='large'], [data-font='xlarge']) .shop-meta-note { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* 正式环境付款通道未接通：商店顶部说明 */
.shop-payclosed { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border-radius: 18px;
  background: rgba(20,196,184,.10); border: 1px solid rgba(20,150,140,.32); color: var(--ink); }
.shop-payclosed b { display: block; font: 700 var(--fs-body)/var(--lh-body) var(--font-ui); }
.shop-payclosed .tiny { color: var(--ink-2); }
.shop-payclosed .shop-sb-ic { color: var(--cyan-600); }
.device[data-theme="night"] .shop-payclosed .shop-sb-ic { color: var(--cyan-300); }
.shop-price-strip.adjusted .shop-ps-more-txt { display: none; }   /* 已显示「今天已调整」标签时，右侧只留箭头 */
.mf-nw { white-space: nowrap; }
html[data-font='large'] .funds-fn-ic { display: none; }   /* 大字号：节点省掉图标，副字「官方收款钱包」一行放得下 */

/* v0.5b（W2-FE-CORE-ECON）新外观的规则行、衣橱部位说明、「家」开放后去庭院编辑 */
.shop-rule-look { color: var(--ink-2); }
.ward-slot-note { display: flex; align-items: flex-start; gap: 6px; margin: -2px 4px 8px; line-height: var(--lh-cap); }
.ward-slot-note > span:first-child { flex: none; margin-top: 1px; }
.ward-home { margin-bottom: 8px; border-style: solid; }

/* ==================================================================== ★ 可以自己核对的公开记录（v0.5c，W3-FE-CORE-ECON）
   月报卡 / 托管证明卡 / 反作弊卡、月报与反作弊详情弹层、PoR「核验」结果。状态一律双编码（图标 + 颜色 + 文字）；可点元素 ≥44px；字号读 --fs-* 令牌。 */
.funds-vx-lead { margin: -4px 2px 12px; }
.funds-vx-card { display: flex; flex-direction: column; gap: 8px; }
.funds-vx-card + .funds-vx-card, .funds-sec-anchor + .funds-sec-anchor > .funds-vx-card { margin-top: 12px; }
.funds-vx-head { display: flex; align-items: flex-start; gap: 10px; }
.funds-vx-head b { display: block; font: 700 var(--fs-body)/var(--lh-body) var(--font-ui); color: var(--ink); }
.funds-vx-head .tiny { margin-top: 2px; }
.funds-vx-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tone-soft); color: var(--tone-ink); }
.funds-vx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.funds-vx-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.funds-vx-actions .btn { min-height: 44px; }
.funds-vx-link { padding: 0 2px; border-top: 1px solid var(--line); }
.funds-vx-link > span:last-child { color: var(--muted); }
.funds-vx-foot { margin-top: 2px; }
.funds-vx-verdict { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; font: 500 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink-2); background: var(--surface-2); }
.funds-vx-verdict > span:first-child { flex: none; margin-top: 1px; }
.funds-vx-verdict b { display: block; font-weight: 700; color: var(--ink); }
.funds-vx-verdict.ok { background: rgba(62,164,78,.12); }
.funds-vx-verdict.ok > span:first-child { color: var(--leaf-500); }
.funds-vx-verdict.bad { background: rgba(229,86,107,.10); }
.funds-vx-verdict.bad > span:first-child { color: var(--rose-500); }
.funds-vx-verdict.info > span:first-child { color: var(--energy); }
.funds-vx-checks { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.funds-vx-check { display: flex; align-items: center; gap: 6px; font: 500 var(--fs-cap)/var(--lh-cap) var(--font-ui); color: var(--ink-2); padding: 3px 0; }
.funds-vx-check > span:first-child { width: 18px; height: 18px; flex: none; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.funds-vx-check.ok > span:first-child { background: var(--leaf-500); }
.funds-vx-check.bad > span:first-child { background: var(--rose-500); }
.funds-vx-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.funds-chip { flex: none; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line-strong); background: var(--surface); font: 650 var(--fs-call)/1 var(--font-ui); color: var(--ink-2); }
.funds-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.funds-chip.on::before { content: '✓ '; }
.funds-stmt, .funds-ac { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; }
.funds-stmt-sec { padding: 4px 0 8px; border-top: 1px solid var(--line); }
.funds-stmt-sec .funds-sub-title { margin-top: 10px; }
.funds-stmt-anchor { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 4px; }
.funds-stmt-notes { margin-top: 4px; }
.funds-kv-total b { font-weight: 800; color: var(--ink); }
.funds-vx-list { display: flex; flex-direction: column; }
.funds-vx-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font: 500 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink-2); }
.funds-vx-row:first-child { border-top: 0; }
.funds-vx-row .tag { flex: none; }
.funds-vx-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; padding: 9px 12px; border-radius: 14px; background: var(--surface-2); font: 500 var(--fs-cap)/1.55 var(--font-ui); color: var(--ink-2); }
.funds-vx-note > span:first-child { flex: none; margin-top: 1px; color: var(--energy); }
.funds-corr { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.funds-corr-row { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.funds-corr-text { margin: 4px 0; font: 500 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); word-break: break-word; }
.funds-por-mine { display: flex; flex-direction: column; gap: 8px; }
.funds-por-lot { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); }
.funds-por-lot .lr-title { font-size: var(--fs-call); }
.funds-por-verify { flex: none; min-height: 44px; }
.funds-por-steps { margin: 6px 0 4px; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: var(--fs-cap); line-height: 1.6; color: var(--ink-2); word-break: break-all; }
.funds-ac-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.funds-ac-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: var(--surface-2); text-align: center; }
.funds-ac-cell b { font: 800 var(--fs-head)/1.2 var(--font-ui); color: var(--ink); }
.funds-anchor-tag { white-space: normal; }
.device[data-theme="night"] .funds-vx-verdict.ok { background: rgba(92,193,100,.14); }
.device[data-theme="night"] .funds-vx-verdict.bad { background: rgba(229,86,107,.16); }
.device[data-theme="night"] .funds-chip { background: var(--surface-2); }
@media (max-width: 360px) { .funds-ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 条款页「公开记录与披露」（W3-FE-CORE-ECON）：每行一个游戏内入口 + 一个原始数据外链，按钮 ≥44px */
.tm-pub-lead { margin: 6px 0 8px; font: 500 var(--fs-call)/1.6 var(--font-text); color: var(--ink-2); }
.tm-public { display: flex; flex-direction: column; }
.tm-pub-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tm-pub-row:first-child { border-top: 0; }
.tm-pub-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--accent); }
.tm-pub-title { font: 650 var(--fs-call)/var(--lh-call) var(--font-ui); color: var(--ink); }
.tm-pub-row > .grow { flex: 1 1 200px; }
.tm-pub-acts { display: flex; gap: 6px; margin-left: auto; flex: 0 0 auto; }
.tm-pub-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 14px; background: var(--surface-2); color: var(--accent); font: 650 var(--fs-call)/1 var(--font-ui); text-decoration: none; }
.tm-pub-btn.ext { color: var(--ink-2); }
