/* ==========================================================================
   EREC DApp v2 — Design System
   Dark · Glass · Web3
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg:        #05060A;
  --bg-2:      #080A11;
  --bg-3:      #0C0E16;
  --card:      rgba(255, 255, 255, .045);
  --card-2:    rgba(255, 255, 255, .07);
  --line:      rgba(255, 255, 255, .085);
  --line-2:    rgba(255, 255, 255, .14);
  --txt:       #F5F6FA;
  --dim:       rgba(245, 246, 250, .64);
  --dim-2:     rgba(245, 246, 250, .42);
  --dim-3:     rgba(245, 246, 250, .26);
  --v:         #8B5CF6;
  --v-l:       #A78BFA;
  --m:         #D946EF;
  --c:         #22D3EE;
  --gold:      #F5C451;
  --green:     #34D399;
  --red:       #FB7185;
  --grad:      linear-gradient(118deg, #8B5CF6 0%, #D946EF 46%, #22D3EE 100%);
  --grad-soft: linear-gradient(118deg, rgba(139,92,246,.22), rgba(217,70,239,.18) 50%, rgba(34,211,238,.16));
  --radius:    20px;
  --radius-s:  14px;
  --shadow:    0 18px 50px rgba(0, 0, 0, .55);
  --safe-b:    env(safe-area-inset-bottom, 0px);
  --font:      "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}

body { overflow: hidden; }
button, input, textarea { font-family: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(217, 70, 239, .32); }

/* 滚动条 */
.app-scroll::-webkit-scrollbar, .chat-body::-webkit-scrollbar, .sheet-body::-webkit-scrollbar { width: 0; height: 0; }

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(720px 460px at 12% -6%, rgba(139, 92, 246, .20), transparent 62%),
    radial-gradient(680px 420px at 92% 4%, rgba(217, 70, 239, .14), transparent 60%),
    radial-gradient(760px 520px at 50% 108%, rgba(34, 211, 238, .11), transparent 62%),
    #05060A;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
  opacity: .5;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Splash
   ========================================================================== */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #04050A;
  overflow: hidden;
  transition: opacity .55s ease, visibility .55s;
}
.splash.out { opacity: 0; visibility: hidden; }
.splash-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 50% 46%, rgba(139, 92, 246, .30), transparent 42%),
    radial-gradient(circle at 62% 60%, rgba(34, 211, 238, .16), transparent 46%),
    radial-gradient(circle at 34% 34%, rgba(217, 70, 239, .18), transparent 44%);
  animation: splashBreath 5s ease-in-out infinite;
  filter: blur(6px);
}
@keyframes splashBreath { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.12); opacity: 1 } }
.splash-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 48%, #000 6%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 6%, transparent 62%);
  opacity: .55;
  animation: gridDrift 12s linear infinite;
}
@keyframes gridDrift { to { background-position: 52px 52px, 52px 52px } }
.splash-orb { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .5 }
.splash-orb.o1 { width: 220px; height: 220px; background: #7C3AED; top: 12%; left: -60px; animation: floatY 7s ease-in-out infinite }
.splash-orb.o2 { width: 260px; height: 260px; background: #22D3EE; bottom: 8%; right: -80px; animation: floatY 9s ease-in-out infinite reverse; opacity: .35 }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-26px) } }

.splash-core { position: relative; width: 156px; height: 156px; display: grid; place-items: center; margin-bottom: 40px; }
.splash-ring {
  position: absolute; inset: -18px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 42%, rgba(217,70,239,.9) 55%, rgba(34,211,238,.9) 70%, transparent 84%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 3.4s linear infinite;
  opacity: 0;
}
.splash-ring.r2 { inset: -34px; animation: spin 6s linear infinite reverse; opacity: 0; filter: blur(.4px) }
.splash.in .splash-ring { animation-delay: .35s; opacity: .85 }
@keyframes spin { to { transform: rotate(360deg) } }

.splash-mark {
  width: 108px; height: auto;
  filter: drop-shadow(0 0 26px rgba(168,85,247,.55)) drop-shadow(0 0 60px rgba(217,70,239,.32));
  opacity: 0; transform: scale(.72);
  animation: markIn 1.05s cubic-bezier(.16,1,.3,1) .15s forwards;
}
@keyframes markIn { to { opacity: 1; transform: scale(1) } }
.splash.in .splash-mark { animation-name: markIn }

.splash-shine {
  position: absolute; top: -20%; left: -30%; width: 40%; height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.30) 46%, rgba(255,255,255,.30) 54%, transparent 100%);
  transform: skewX(-18deg);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: shine 2.6s ease-in-out 1.15s;
}
@keyframes shine { 0% { left: -45%; opacity: 0 } 30% { opacity: .5 } 100% { left: 115%; opacity: 0 } }

.splash-lockup { text-align: center; position: relative; z-index: 2 }
.splash-partner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 30px; font-weight: 800; letter-spacing: .14em;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .85s forwards;
}
.splash-partner .sp-name { background: linear-gradient(180deg, #fff, #C9CBE0); -webkit-background-clip: text; background-clip: text; color: transparent }
.splash-partner .sp-x { color: rgba(255,255,255,.34); font-weight: 400; font-size: 22px }
.splash-partner .sp-name.alt { background: linear-gradient(180deg, #A7F3D0, #10B981); -webkit-background-clip: text; background-clip: text; color: transparent }
.splash-sub {
  margin: 12px 0 0; font-size: 12px; letter-spacing: .42em; text-transform: uppercase;
  color: rgba(245,246,250,.5); opacity: 0;
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) 1.05s forwards;
}
.splash-tags {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 22px; font-size: 11px; letter-spacing: .06em; color: rgba(245,246,250,.44);
  opacity: 0; animation: fadeUp .9s cubic-bezier(.16,1,.3,1) 1.25s forwards;
}
.splash-tags i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.32) }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0) } }

.splash-bar {
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  width: 132px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden;
}
.splash-bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(217,70,239,.7); animation: barGrow 2.35s cubic-bezier(.5,0,.2,1) .2s forwards }
@keyframes barGrow { to { width: 100% } }
.splash-foot { position: absolute; bottom: 58px; font-size: 9.5px; letter-spacing: .34em; color: rgba(255,255,255,.24) }

/* ==========================================================================
   Auth
   ========================================================================== */
.auth {
  position: fixed; inset: 0; z-index: 120; overflow-y: auto;
  padding: 32px 22px calc(28px + var(--safe-b));
}
.auth-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(620px 420px at 18% -4%, rgba(139,92,246,.26), transparent 60%),
    radial-gradient(520px 380px at 88% 12%, rgba(217,70,239,.16), transparent 60%),
    #05060A;
}
.auth-inner { max-width: 420px; margin: 0 auto; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin: 26px 0 34px }
.auth-brand img { width: 42px; filter: drop-shadow(0 6px 18px rgba(139,92,246,.5)) }
.auth-brand b { display: block; font-size: 17px; letter-spacing: .22em }
.auth-brand span { display: block; font-size: 10.5px; letter-spacing: .1em; color: var(--dim-2); margin-top: 3px }
.auth-title { font-size: 30px; line-height: 1.16; margin: 0 0 10px; font-weight: 700; letter-spacing: -.02em }
.auth-sub { margin: 0 0 26px; font-size: 13.5px; line-height: 1.6; color: var(--dim) }
.auth-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 24px;
  padding: 20px 18px; backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.field { display: block; margin-bottom: 14px }
.field > span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 8px }
.field input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--txt); font-size: 15px; outline: none; transition: .18s;
}
.field input:focus { border-color: rgba(168,85,247,.6); background: rgba(139,92,246,.10); box-shadow: 0 0 0 4px rgba(139,92,246,.12) }
.field input::placeholder { color: var(--dim-3) }
.auth-err { margin: -4px 0 12px; font-size: 12.5px; color: var(--red) }
.auth-tip { margin: 14px 0 0; font-size: 11px; color: var(--dim-3); text-align: center }
.auth-demo { margin-top: 26px }
.auth-demo-title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 12px }
.auth-demo-list { display: flex; flex-wrap: wrap; gap: 9px }
.demo-chip {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 100px;
  font-size: 12px; color: var(--dim); transition: .18s;
}
.demo-chip:hover { background: rgba(255,255,255,.08); border-color: var(--line-2); color: var(--txt) }
.auth-langs { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 30px }
.auth-langs button {
  font-size: 11.5px; padding: 6px 11px; border-radius: 100px; color: var(--dim-2);
  border: 1px solid transparent;
}
.auth-langs button.on { color: var(--txt); border-color: var(--line-2); background: rgba(255,255,255,.06) }

/* ---------- 连接钱包 ---------- */
.wc-card { padding: 24px 18px 18px; text-align: center }
.wc-orb {
  position: relative; width: 84px; height: 84px; margin: 2px auto 18px;
  display: grid; place-items: center;
}
.wc-orb img { width: 44px; filter: drop-shadow(0 8px 22px rgba(139,92,246,.6)); position: relative; z-index: 2 }
.wc-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(168,85,247,.35);
  background: radial-gradient(circle, rgba(139,92,246,.16), transparent 68%);
  animation: orbPulse 3.4s ease-in-out infinite;
}
.wc-orb-ring.r2 { inset: 11px; border-color: rgba(217,70,239,.28); animation-delay: .7s }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.07); opacity: 1 } }

.wc-detected {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 16px;
  padding: 6px 13px; border-radius: 100px; font-size: 11.5px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--dim-2);
}
.wc-detected .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.32) }
.wc-detected.on { color: #A7F3D0; border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.1) }
.wc-detected.on .dot { background: #34D399; box-shadow: 0 0 8px #34D399 }

.wc-card .btn-block { height: 52px; font-size: 14.5px; gap: 9px }
.wc-card .btn .ic { width: 17px; height: 17px }

.wc-hint {
  display: flex; gap: 10px; text-align: left; margin: 14px 0 0;
  padding: 12px 13px; border-radius: 14px;
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.22);
}
.wc-hint .ic { width: 15px; height: 15px; color: #FBBF24; flex: none; margin-top: 2px }
.wc-hint b { display: block; font-size: 12px; color: #FDE68A; font-weight: 600; margin-bottom: 4px }
.wc-hint p { margin: 0; font-size: 11.5px; line-height: 1.6; color: rgba(253,230,138,.68) }

.wc-link {
  display: block; width: 100%; margin-top: 14px; padding: 8px 0 2px;
  font-size: 12.5px; color: #C4B5FD; letter-spacing: .01em;
  border-top: 1px solid rgba(255,255,255,.06);
}
.wc-link:hover { color: #DDD6FE }

.demo-chip .dc-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25 }
.demo-chip .dc-txt b { font-size: 12px; font-weight: 600; color: var(--txt) }
.demo-chip .dc-txt i { font-size: 9.5px; font-style: normal; color: var(--dim-3); letter-spacing: .02em }

.pc-addr {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px;
  padding: 4px 9px; border-radius: 8px; font-size: 10.5px; letter-spacing: .02em;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--dim-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pc-addr .ic { width: 11px; height: 11px; opacity: .7 }
.pc-addr:hover { color: var(--txt); border-color: var(--line-2) }

.wc-addr {
  display: flex; align-items: center; gap: 7px; margin-bottom: 16px;
  padding: 9px 12px; border-radius: 12px; font-size: 12.5px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.22); color: #DDD6FE;
}
.wc-addr .ic { width: 14px; height: 14px }

/* ==========================================================================
   App shell
   ========================================================================== */
.app { position: relative; display: flex; flex-direction: column; height: 100dvh; overflow: hidden }
.ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0 }
.ambient span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .3 }
.ambient span:nth-child(1) { width: 300px; height: 300px; background: #7C3AED; top: -120px; left: -110px }
.ambient span:nth-child(2) { width: 240px; height: 240px; background: #D946EF; top: 34%; right: -140px; opacity: .18 }
.ambient span:nth-child(3) { width: 300px; height: 300px; background: #22D3EE; bottom: -160px; left: 6%; opacity: .14 }

.app-scroll {
  position: relative; z-index: 1; flex: 1; overflow-y: auto; overflow-x: hidden;
  padding-bottom: calc(96px + var(--safe-b));
  scroll-behavior: smooth;
}
.view { min-height: 100%; }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px calc(6px + var(--safe-b));
  background: linear-gradient(180deg, rgba(6,7,12,.72), rgba(6,7,12,.96));
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(26px) saturate(1.2);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 0 3px; color: rgba(245,246,250,.46); transition: .2s; position: relative;
}
.tab .ic { width: 23px; height: 23px; transition: .2s }
.tab span { font-size: 9.5px; letter-spacing: .04em; font-weight: 500 }
.tab.on { color: var(--txt) }
.tab.on .ic { color: #C4B5FD; filter: drop-shadow(0 0 10px rgba(167,139,250,.7)) }
.tab.on::after {
  content: ""; position: absolute; top: 0; width: 16px; height: 2px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 10px rgba(217,70,239,.8);
}
.tab-badge {
  position: absolute; top: 4px; right: 50%; transform: translateX(17px);
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px;
  background: #EF4444; color: #fff; font-size: 9.5px; font-weight: 700;
  display: grid; place-items: center; border: 1.5px solid #080A11;
}

.fab-support {
  position: absolute; right: 14px; bottom: calc(84px + var(--safe-b)); z-index: 45;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(139,92,246,.95), rgba(217,70,239,.9));
  box-shadow: 0 10px 26px rgba(139,92,246,.5), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .2s, box-shadow .2s;
}
.fab-support:active { transform: scale(.93) }
.fab-support .ic { width: 22px; height: 22px; color: #fff }
.fab-dot {
  position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: #34D399; border: 2px solid #080A11;
  box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulseDot 2.4s infinite;
}
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55) } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0) } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0) } }

/* ==========================================================================
   Common
   ========================================================================== */
.ic { width: 20px; height: 20px; display: block; flex: none }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--dim); transition: .18s;
}
.icon-btn:hover { background: rgba(255,255,255,.06); color: var(--txt) }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 10px }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 15px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  transition: .18s; white-space: nowrap;
}
.btn:active { transform: scale(.98) }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px rgba(168,85,247,.35), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:disabled { opacity: .45; box-shadow: none }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--txt) }
.btn-ghost:hover { background: rgba(255,255,255,.1) }
.btn-block { width: 100% }
.btn.sm { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 12.5px }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(16px);
}
.pad { padding: 18px }

.page-head {
  padding: 18px 20px 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(8,9,14,.96) 62%, rgba(8,9,14,0));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.page-head .icon-btn { flex: none; width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.06) }
.page-head .icon-btn:active { background: rgba(255,255,255,.13) }
.page-head h1 { font-size: 22px; margin: 0; font-weight: 700; letter-spacing: -.015em }
.page-head p { margin: 5px 0 0; font-size: 12.5px; color: var(--dim-2) }

.section { padding: 0 20px; margin-top: 26px }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 13px }
.section-head h2 { font-size: 14.5px; margin: 0; font-weight: 650; letter-spacing: .01em; display: flex; align-items: center; gap: 8px }
.section-head h2::before {
  content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--grad);
  box-shadow: 0 0 10px rgba(217,70,239,.6);
}
.section-head a, .section-head button { font-size: 11.5px; color: var(--dim-2); display: flex; align-items: center; gap: 3px }
.section-head a:hover { color: var(--txt) }

.avatar {
  width: 46px; height: 46px; border-radius: 15px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 16px rgba(0,0,0,.35);
}
.avatar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 58%);
  mix-blend-mode: overlay;
}
.avatar.sm { width: 38px; height: 38px; border-radius: 12px; font-size: 14px }
.avatar.lg { width: 62px; height: 62px; border-radius: 20px; font-size: 24px }
.avatar .presence {
  position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); border: 2.5px solid #0A0B12; z-index: 2;
}

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px; border-radius: 100px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--dim);
}
.pill.grad { background: var(--grad-soft); border-color: rgba(167,139,250,.34); color: #DDD6FE }
.pill.green { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.3); color: #6EE7B7 }
.pill.gold { background: rgba(245,196,81,.12); border-color: rgba(245,196,81,.3); color: #FCD34D }
.pill.lock { background: rgba(255,255,255,.05); border-color: var(--line); color: var(--dim-2) }

.divider { height: 1px; background: var(--line); margin: 0 20px }

.row {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px;
  transition: background .16s; width: 100%; text-align: left;
}
.row:active { background: rgba(255,255,255,.05) }
.row-main { flex: 1; min-width: 0 }
.row-title { font-size: 14px; font-weight: 550; display: flex; align-items: center; gap: 7px }
.row-sub { font-size: 12px; color: var(--dim-2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.row-meta { font-size: 10.5px; color: var(--dim-3); text-align: right; flex: none }
.row-chev { color: var(--dim-3); }

.money { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" }
.grad-text { background: var(--grad-brand-h, linear-gradient(90deg,#8B5CF6,#D946EF,#22D3EE)); -webkit-background-clip: text; background-clip: text; color: transparent }

.empty { padding: 52px 20px; text-align: center; color: var(--dim-3); font-size: 13px }
.empty .ic { width: 34px; height: 34px; margin: 0 auto 12px; opacity: .5 }

/* 输入/搜索 */
.searchbar {
  display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 14px;
  margin: 0 20px;
}
.searchbar .ic { width: 17px; height: 17px; color: var(--dim-3) }
.searchbar input { flex: 1; background: none; border: 0; outline: none; color: var(--txt); font-size: 13.5px }
.searchbar input::placeholder { color: var(--dim-3) }

/* 分段 */
.segmented {
  display: flex; gap: 4px; padding: 4px; margin: 14px 20px 0;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px;
}
.segmented button {
  flex: 1; height: 34px; border-radius: 10px; font-size: 12.5px; font-weight: 550;
  color: var(--dim-2); transition: .18s;
}
.segmented button.on { background: rgba(255,255,255,.1); color: var(--txt); box-shadow: 0 2px 10px rgba(0,0,0,.3) }

/* ==========================================================================
   Home
   ========================================================================== */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 10px; gap: 12px;
}
.topbar-id { display: flex; align-items: center; gap: 11px; min-width: 0 }
.topbar-id .avatar { width: 40px; height: 40px; border-radius: 13px; font-size: 15px }
.topbar-id b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em }
.topbar-id span { display: block; font-size: 10.5px; color: var(--dim-3); margin-top: 2px; letter-spacing: .04em }
.top-actions { display: flex; align-items: center; gap: 4px }
.lang-pill {
  display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  font-size: 11.5px; font-weight: 600; color: var(--dim); letter-spacing: .04em;
}
.lang-pill .ic { width: 14px; height: 14px }

/* 轮播 */
.hero { padding: 6px 20px 0 }
.carousel { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow) }
.slides { display: flex; transition: transform .62s cubic-bezier(.22,1,.36,1) }
.slide { min-width: 100%; position: relative; height: 208px; overflow: hidden }
.slide-inner { position: absolute; inset: 0; padding: 20px 20px 22px; display: flex; flex-direction: column; justify-content: space-between }

.slide.s1 { background: linear-gradient(135deg, #1A1030 0%, #2B1147 46%, #0B2030 100%) }
.slide.s2 { background: linear-gradient(135deg, #0A1A14 0%, #0E2A22 52%, #08202B 100%) }
.slide.s3 { background: linear-gradient(135deg, #1A1030 0%, #33104A 50%, #101A38 100%) }
.slide.s4 { background: linear-gradient(135deg, #101322 0%, #1D1436 55%, #0A1626 100%) }

.slide-art { position: absolute; inset: 0; overflow: hidden }
.slide-art .halo {
  position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(46px); opacity: .5;
}
.slide.s1 .halo, .slide.s3 .halo { background: #7C3AED; top: -80px; right: -60px }
.slide.s2 .halo { background: #10B981; top: -70px; right: -50px; opacity: .38 }
.slide.s4 .halo { background: #22D3EE; top: -90px; right: -70px; opacity: .32 }
.slide-art svg.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55 }
.slide-art .noise {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) .6px, transparent .6px);
  background-size: 14px 14px; opacity: .35;
  mask-image: linear-gradient(120deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 62%);
}

.slide-top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2 }
.slide-kicker {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.62); font-weight: 600;
}
.slide-lockup { display: flex; align-items: center; gap: 9px; margin-bottom: 2px; position: relative; z-index: 2 }
.slide-erec-mark { height: 26px; width: auto; filter: drop-shadow(0 0 12px rgba(168,85,247,.6)) }
.slide-brand { font-size: 15px; font-weight: 700; letter-spacing: .2em; color: #fff }
.slide-x { font-size: 13px; color: rgba(255,255,255,.38); margin: 0 1px }
.slide-logo-axce { height: 23px; width: auto; margin-left: 2px; filter: brightness(1.05) drop-shadow(0 0 12px rgba(16,185,129,.35)) }
.slide-title {
  font-size: 21px; font-weight: 700; line-height: 1.22; margin: 9px 0 0;
  letter-spacing: -.015em; position: relative; z-index: 2; max-width: 88%;
}
.slide-sub { font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.62); margin: 6px 0 0; max-width: 86%; position: relative; z-index: 2 }
.slide-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 12px; border-radius: 100px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  font-size: 11px; font-weight: 600; color: #fff; backdrop-filter: blur(10px);
  position: relative; z-index: 2;
}
.slide-cta .ic { width: 13px; height: 13px }

.dots { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 5px; z-index: 5 }
.dots i { width: 5px; height: 5px; border-radius: 100px; background: rgba(255,255,255,.28); transition: .3s }
.dots i.on { width: 16px; background: #fff }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px }
.quick-icon {
  width: 50px; height: 50px; border-radius: 17px; display: grid; place-items: center;
  background: rgba(255,255,255,.055); border: 1px solid var(--line);
  color: #C4B5FD; position: relative; transition: .18s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.quick-item:active .quick-icon { transform: scale(.94); background: rgba(255,255,255,.1) }
.quick-icon .ic { width: 21px; height: 21px }
.quick-icon.hl {
  background: linear-gradient(150deg, rgba(139,92,246,.9), rgba(217,70,239,.82));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(139,92,246,.42), inset 0 1px 0 rgba(255,255,255,.3);
}
.quick-icon .lockdot {
  position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%;
  background: #1A1B24; border: 1px solid var(--line-2); display: grid; place-items: center;
}
.quick-icon .lockdot .ic { width: 9px; height: 9px; color: var(--dim-2) }
.quick-item span { font-size: 10.5px; color: var(--dim); letter-spacing: .01em }

/* 链上条 */
.chain-card { margin: 18px 20px 0; padding: 16px 16px 14px; border-radius: 20px; position: relative; overflow: hidden }
.chain-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: .55;
}
.chain-card > * { position: relative }
.chain-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px }
.chain-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-2) }
.chain-val { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px }
.chain-val small { font-size: 11.5px; font-weight: 600; color: var(--dim-2); margin-left: 5px; letter-spacing: .06em }
.bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.09); overflow: hidden }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px rgba(217,70,239,.6) }
.chain-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--dim-3) }
.chain-split {
  display: flex; align-items: flex-end; gap: 18px;
  margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07);
}
.chain-split > div span { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-3) }
.chain-split > div b { display: block; font-size: 12.5px; font-weight: 600; margin-top: 4px; color: rgba(245,246,250,.9) }
.chain-link { margin-left: auto; text-align: right }
.chain-link span { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-3) }
.chain-link b {
  display: flex; align-items: center; justify-content: flex-end; gap: 3px;
  font-size: 11.5px; font-weight: 600; margin-top: 4px; color: #C4B5FD;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 农场预告 */
.farm-teaser {
  margin: 18px 20px 0; border-radius: 22px; overflow: hidden; position: relative;
  border: 1px solid rgba(52,211,153,.18);
  background: linear-gradient(140deg, rgba(10,26,20,.9), rgba(12,18,32,.9));
}
.ft-art { position: absolute; inset: 0; overflow: hidden; opacity: .8 }
.ft-art .glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #10B981; filter: blur(52px); opacity: .28; right: -50px; top: -60px }
.ft-rows { position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background-image: repeating-linear-gradient(115deg, rgba(52,211,153,.10) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.ft-body { position: relative; padding: 18px 18px 16px }
.ft-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px }
.ft-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 7px }
.ft-desc { font-size: 12px; line-height: 1.55; color: var(--dim); max-width: 90% }
.ft-cta { display: flex; align-items: center; gap: 10px; margin-top: 14px }
.ft-cta .btn { height: 38px; border-radius: 12px; font-size: 12.5px }

/* 公告 */
.notice-list { display: flex; flex-direction: column; gap: 8px }
.notice-item {
  display: flex; gap: 12px; padding: 14px 15px; border-radius: 16px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  text-align: left; width: 100%; transition: .18s;
}
.notice-item:hover { background: rgba(255,255,255,.06) }
.notice-item .nt { flex: 1; min-width: 0 }
.notice-item .nt b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35 }
.notice-item .nt p { margin: 5px 0 0; font-size: 11.5px; color: var(--dim-2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.notice-item .nd { font-size: 10px; color: var(--dim-3); flex: none; margin-top: 2px }
.notice-item.pin { border-color: rgba(245,196,81,.24); background: rgba(245,196,81,.045) }

/* 社区卡 */
.community-card {
  margin: 18px 20px 0; padding: 18px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(130deg, #14102A, #1B1038 50%, #0C1526);
  border: 1px solid rgba(167,139,250,.2);
}
.community-card .cc-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #8B5CF6; filter: blur(60px); opacity: .3; right: -60px; top: -80px }
.cc-top { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 12px }
.cc-avatars { display: flex }
.cc-avatars .avatar { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; border: 2px solid #14102A; margin-left: -8px }
.cc-avatars .avatar:first-child { margin-left: 0 }
.cc-title { position: relative; font-size: 15px; font-weight: 650 }
.cc-sub { position: relative; font-size: 11.5px; color: var(--dim-2); margin-top: 4px; line-height: 1.5 }
.cc-actions { position: relative; display: flex; gap: 8px; margin-top: 14px }

/* ==========================================================================
   Farm page
   ========================================================================== */
.farm-hero { margin: 8px 20px 0; border-radius: 24px; overflow: hidden; position: relative; border: 1px solid rgba(52,211,153,.16) }
.farm-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(340px 220px at 78% 8%, rgba(16,185,129,.24), transparent 62%),
    radial-gradient(280px 200px at 12% 100%, rgba(34,211,238,.14), transparent 62%),
    linear-gradient(160deg, #08130F, #0A1119 55%, #071019);
}
.farm-hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(64deg, rgba(52,211,153,.09) 0 1px, transparent 1px 26px),
                    repeating-linear-gradient(-64deg, rgba(52,211,153,.06) 0 1px, transparent 1px 26px);
  mask-image: linear-gradient(to top, #000 10%, transparent 78%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 78%);
}
.farm-hero-body { position: relative; padding: 20px 18px 18px }
.farm-hero-body h2 { font-size: 24px; margin: 12px 0 8px; font-weight: 700; letter-spacing: -.02em }
.farm-hero-body p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--dim); max-width: 92% }
.countdown { display: flex; gap: 8px; margin-top: 18px }
.cd-box {
  flex: 1; padding: 9px 0 8px; border-radius: 12px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.cd-box b { display: block; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em }
.cd-box span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-3) }

.farm-feats { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 20px; margin-top: 16px }
.feat {
  display: flex; gap: 13px; padding: 15px; border-radius: 18px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line); align-items: flex-start;
}
.feat-ic {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.2); color: #6EE7B7;
}
.feat h3 { margin: 0; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px }
.feat p { margin: 5px 0 0; font-size: 11.5px; color: var(--dim-2); line-height: 1.55 }

.plots { position: relative; padding: 0 20px; margin-top: 4px }
.plots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; filter: blur(1.4px) saturate(.7); opacity: .55 }
.plot {
  aspect-ratio: 1/1.08; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(16,185,129,.16), rgba(8,20,28,.6));
  border: 1px solid rgba(52,211,153,.16); display: grid; place-items: center;
}
.plot::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(52,211,153,.09) 0 1px, transparent 1px 9px);
}
.plot b { font-size: 11px; color: rgba(255,255,255,.7); position: relative; z-index: 2 }
.plot span { position: absolute; bottom: 8px; font-size: 9px; color: rgba(255,255,255,.4); z-index: 2 }
.plots-lock {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.plots-lock-inner {
  text-align: center; padding: 16px 22px; border-radius: 18px;
  background: rgba(8,10,16,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.plots-lock-inner .ic { width: 22px; height: 22px; margin: 0 auto 8px; color: #A7F3D0 }
.plots-lock-inner b { display: block; font-size: 12.5px }
.plots-lock-inner span { display: block; font-size: 10.5px; color: var(--dim-2); margin-top: 4px }

.farm-note {
  margin: 18px 20px 0; padding: 14px 15px; border-radius: 16px;
  background: rgba(245,196,81,.06); border: 1px solid rgba(245,196,81,.18);
  font-size: 11.5px; line-height: 1.6; color: rgba(253,230,138,.8);
  display: flex; gap: 10px;
}
.farm-note .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: #FCD34D }

/* ==========================================================================
   Social
   ========================================================================== */
.conv-list { padding: 6px 12px 0 }
.conv {
  display: flex; gap: 12px; align-items: center; padding: 11px 8px; border-radius: 16px;
  width: 100%; text-align: left; transition: .16s; position: relative;
}
.conv:hover { background: rgba(255,255,255,.04) }
.conv-body { flex: 1; min-width: 0 }
.conv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.conv-name { font-size: 14px; font-weight: 550; display: flex; align-items: center; gap: 6px; min-width: 0 }
.conv-name em { font-style: normal; font-size: 9.5px; color: var(--dim-3); font-weight: 500; letter-spacing: .04em }
.conv-time { font-size: 10px; color: var(--dim-3); flex: none }
.conv-msg { font-size: 12px; color: var(--dim-2); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 5px }
.conv-msg .me { color: var(--dim-3) }
.unread {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; flex: none;
  background: linear-gradient(140deg, #8B5CF6, #D946EF); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(139,92,246,.45);
}
.unread.mute { background: rgba(255,255,255,.16); box-shadow: none }
.typing-dots { display: inline-flex; gap: 2px; align-items: center }
.typing-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--green); animation: tdot 1.2s infinite }
.typing-dots i:nth-child(2) { animation-delay: .15s }
.typing-dots i:nth-child(3) { animation-delay: .3s }
@keyframes tdot { 0%,60%,100% { opacity: .3; transform: translateY(0) } 30% { opacity: 1; transform: translateY(-2px) } }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0 12px }
.ct-row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 14px; text-align: left; width: 100% }
.ct-row:hover { background: rgba(255,255,255,.04) }
.ct-row .avatar { width: 42px; height: 42px; border-radius: 13px; font-size: 15px }
.ct-name { font-size: 14px; font-weight: 550 }
.ct-id { font-size: 10.5px; color: var(--dim-3); margin-top: 3px; letter-spacing: .03em }
.ct-act { margin-left: auto; display: flex; gap: 7px }

.entry-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 14px; width: 100%;
}
.entry-row:hover { background: rgba(255,255,255,.04) }
.entry-ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(139,92,246,.14); border: 1px solid rgba(167,139,250,.24); color: #C4B5FD;
}
.entry-ic.g { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.22); color: #6EE7B7 }
.entry-t { font-size: 13.5px; font-weight: 550 }
.entry-s { font-size: 10.5px; color: var(--dim-3); margin-top: 2px }

/* ==========================================================================
   Chat
   ========================================================================== */
.chat-layer {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: #06070C;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.chat-layer.open { transform: translateX(0) }
.chat-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(8,9,15,.86); backdrop-filter: blur(20px);
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
.chat-head-mid { flex: 1; min-width: 0; text-align: center }
.chat-head-mid b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.chat-head-mid span { display: block; font-size: 10.5px; color: var(--dim-2); margin-top: 2px }
.chat-body {
  flex: 1; overflow-y: auto; padding: 16px 14px 10px;
  background:
    radial-gradient(560px 400px at 20% 0%, rgba(139,92,246,.09), transparent 62%),
    radial-gradient(460px 340px at 90% 100%, rgba(34,211,238,.06), transparent 62%);
  display: flex; flex-direction: column; gap: 10px;
}
.msg { display: flex; gap: 9px; max-width: 84%; align-items: flex-end }
.msg .avatar { width: 32px; height: 32px; border-radius: 10px; font-size: 12px }
.msg-in { min-width: 0 }
.msg-who { font-size: 9.5px; color: var(--dim-3); margin: 0 0 4px 2px }
.bubble {
  padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.5;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.06);
  word-break: break-word; white-space: pre-wrap;
  border-bottom-left-radius: 6px;
}
.msg.me { align-self: flex-end; flex-direction: row-reverse }
.msg.me .bubble {
  background: linear-gradient(140deg, rgba(139,92,246,.95), rgba(192,38,211,.92));
  border-color: rgba(255,255,255,.14);
  border-bottom-left-radius: 16px; border-bottom-right-radius: 6px;
  box-shadow: 0 8px 24px rgba(139,92,246,.28);
}
.msg.me .msg-who { text-align: right; margin: 0 2px 4px 0 }
.msg-time { font-size: 9px; color: var(--dim-3); margin-top: 4px; padding: 0 3px }
.msg.me .msg-time { text-align: right }
.msg-sys {
  align-self: center; max-width: 80%; text-align: center;
  font-size: 10.5px; color: var(--dim-3); padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,.04);
}
.day-sep { align-self: center; font-size: 10px; color: var(--dim-3); padding: 8px 0 2px }
.chat-input {
  display: flex; align-items: center; gap: 7px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.06); background: rgba(8,9,15,.94); backdrop-filter: blur(20px);
}
.chat-input input {
  flex: 1; height: 42px; padding: 0 15px; border-radius: 14px; font-size: 14px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--txt); outline: none;
}
.chat-input input:focus { border-color: rgba(167,139,250,.45) }
.chat-send {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 20px rgba(168,85,247,.4);
}
.chat-send:active { transform: scale(.94) }
.chat-send .ic { width: 19px; height: 19px }
.emoji-panel {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #0A0B12; border-top: 1px solid var(--line); max-height: 190px; overflow-y: auto;
}
.emoji-panel[hidden] { display: none }
.emoji-panel button { height: 36px; font-size: 20px; border-radius: 9px; display: grid; place-items: center }
.emoji-panel button:active { background: rgba(255,255,255,.1) }
.chat-typing { font-size: 10.5px; color: var(--green); padding: 2px 16px 6px; height: 18px; display: flex; align-items: center; gap: 6px }

/* ==========================================================================
   Wallet
   ========================================================================== */
.balance-card {
  margin: 8px 20px 0; border-radius: 26px; padding: 22px 20px 18px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1A1038 0%, #2A0F45 44%, #0C1B33 100%);
  border: 1px solid rgba(167,139,250,.22);
  box-shadow: 0 22px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.1);
}
.balance-card .bc-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #8B5CF6; filter: blur(64px); opacity: .34; right: -70px; top: -110px }
.balance-card .bc-glow2 { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #22D3EE; filter: blur(60px); opacity: .2; left: -60px; bottom: -90px }
.bc-top { position: relative; display: flex; align-items: center; justify-content: space-between }
.bc-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5) }
.bc-coin { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8) }
.bc-amt { position: relative; font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 2px; font-variant-numeric: tabular-nums }
.bc-amt small { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); margin-left: 7px; letter-spacing: .06em }
.bc-sub { position: relative; font-size: 11px; color: rgba(255,255,255,.46); display: flex; align-items: center; gap: 6px }
.bc-rows { position: relative; display: flex; gap: 8px; margin-top: 16px }
.bc-chip {
  flex: 1; padding: 10px 12px; border-radius: 14px; text-align: left;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.bc-chip span { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45) }
.bc-chip b { display: block; font-size: 15px; font-weight: 650; margin-top: 4px; font-variant-numeric: tabular-nums }
.bc-addr {
  position: relative; margin-top: 14px; display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; color: rgba(255,255,255,.5); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bc-addr button { color: rgba(255,255,255,.5); display: grid; place-items: center }
.bc-addr .ic { width: 13px; height: 13px }

.actions3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 16px 20px 0 }
.act-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px;
  border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  transition: .18s;
}
.act-btn:hover { background: rgba(255,255,255,.07) }
.act-btn .ic { width: 21px; height: 21px; color: #C4B5FD }
.act-btn span { font-size: 11px; color: var(--dim) }
.act-btn.hl { background: var(--grad-soft); border-color: rgba(167,139,250,.3) }
.act-btn.hl .ic { color: #EDE9FE }

.tx-row { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px }
.tx-ic {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--dim); flex: none;
}
.tx-ic.in { color: #6EE7B7; background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.2) }
.tx-ic.out { color: #FCD34D; background: rgba(245,196,81,.09); border-color: rgba(245,196,81,.18) }
.tx-t { font-size: 13px; font-weight: 550 }
.tx-s { font-size: 10.5px; color: var(--dim-3); margin-top: 3px }
.tx-amt { margin-left: auto; text-align: right }
.tx-amt b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums }
.tx-amt span { display: block; font-size: 9.5px; color: var(--dim-3); margin-top: 3px }

.rate-note {
  margin: 12px 20px 0; padding: 12px 14px; border-radius: 14px; font-size: 11.5px;
  background: rgba(139,92,246,.08); border: 1px solid rgba(167,139,250,.18);
  color: rgba(221,214,254,.85); line-height: 1.55; display: flex; gap: 9px;
}
.rate-note .ic { width: 15px; height: 15px; flex: none; margin-top: 1px; color: #C4B5FD }

/* ==========================================================================
   Me
   ========================================================================== */
.profile-card {
  margin: 8px 20px 0; padding: 20px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #14102A, #1C1038 50%, #0C1526);
  border: 1px solid rgba(167,139,250,.18);
}
.profile-card .pc-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: #8B5CF6; filter: blur(64px); opacity: .3; right: -70px; top: -100px }
.pc-top { position: relative; display: flex; align-items: center; gap: 14px }
.pc-name { font-size: 19px; font-weight: 700; letter-spacing: -.01em }
.pc-id { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace }
.pc-id button { color: rgba(255,255,255,.55); display: grid; place-items: center }
.pc-id .ic { width: 13px; height: 13px }
.pc-badge-row { display: flex; gap: 7px; margin-top: 14px; position: relative }
.pc-stats { position: relative; display: flex; gap: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08) }
.pc-stat { flex: 1; text-align: center; position: relative }
.pc-stat + .pc-stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(255,255,255,.08) }
.pc-stat b { display: block; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums }
.pc-stat span { display: block; font-size: 9.5px; color: rgba(255,255,255,.42); margin-top: 4px; letter-spacing: .08em; text-transform: uppercase }

.menu-group { margin: 18px 20px 0; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid var(--line) }
.menu-item { display: flex; align-items: center; gap: 13px; padding: 15px 16px; width: 100%; text-align: left }
.menu-item + .menu-item { border-top: 1px solid rgba(255,255,255,.05) }
.menu-item:hover { background: rgba(255,255,255,.035) }
.menu-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--dim); flex: none }
.menu-ic .ic { width: 17px; height: 17px }
.menu-t { font-size: 13.5px; flex: 1 }
.menu-v { font-size: 11.5px; color: var(--dim-3); display: flex; align-items: center; gap: 6px }
.menu-v .ic { width: 14px; height: 14px }

/* ==========================================================================
   Modal / Sheet / Toast
   ========================================================================== */
.modal-mask {
  position: fixed; inset: 0; z-index: 150; background: rgba(2,3,6,.72);
  backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center;
  animation: maskIn .22s ease;
}
@keyframes maskIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 520px; background: #0A0B12; border: 1px solid var(--line);
  border-radius: 26px 26px 0 0; padding: 20px 20px calc(20px + var(--safe-b));
  max-height: 88dvh; overflow-y: auto;
  animation: sheetUp .34s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .4 } to { transform: translateY(0); opacity: 1 } }
.modal-grip { width: 38px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); margin: -6px auto 16px }
.modal h3 { margin: 0 0 4px; font-size: 17px; font-weight: 650 }
.modal .m-sub { margin: 0 0 18px; font-size: 12px; color: var(--dim-2); line-height: 1.5 }
.m-field { margin-bottom: 12px }
.m-field > label { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-3); margin-bottom: 7px }
.m-input-wrap {
  display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 15px;
}
.m-input-wrap input { flex: 1; background: none; border: 0; outline: none; color: var(--txt); font-size: 16px; font-variant-numeric: tabular-nums }
.m-input-wrap .unit { font-size: 11.5px; color: var(--dim-2); font-weight: 600; letter-spacing: .05em }
.m-input-wrap button.max { font-size: 10px; color: #C4B5FD; font-weight: 700; letter-spacing: .06em; margin-left: 4px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.12) }
.m-hint { font-size: 10.5px; color: var(--dim-3); margin-top: 7px; display: flex; justify-content: space-between }
.m-err { font-size: 11.5px; color: var(--red); margin-top: 8px }
.m-actions { display: flex; gap: 9px; margin-top: 20px }
.m-actions .btn { flex: 1 }
.member-pick {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 21px; height: 21px; border-radius: 7px; flex: none; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.26); background: rgba(255,255,255,.05);
  position: relative; transition: .16s;
}
.member-pick:checked { background: var(--grad); border-color: transparent; box-shadow: 0 4px 12px rgba(168,85,247,.4) }
.member-pick:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 4.5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.sheet-item { display: flex; align-items: center; gap: 12px; padding: 15px 6px; width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,.05) }
.sheet-item:last-child { border-bottom: 0 }
.sheet-item .flag {
  width: 30px; height: 21px; border-radius: 6px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: rgba(245,246,250,.72);
}
.sheet-item b { font-size: 14px; font-weight: 550; flex: 1 }
.sheet-item .ic { color: #C4B5FD; width: 17px; height: 17px }

.toast-root {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(104px + env(safe-area-inset-bottom, 0px)); z-index: 300;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.toast {
  padding: 11px 18px; border-radius: 100px; font-size: 12.5px; font-weight: 500;
  background: rgba(16,18,26,.94); border: 1px solid var(--line-2);
  box-shadow: 0 12px 34px rgba(0,0,0,.5); backdrop-filter: blur(14px);
  animation: toastIn .26s cubic-bezier(.22,1,.36,1);
  max-width: 86vw; text-align: center;
}
.toast.err { border-color: rgba(251,113,133,.4); color: #FECDD3 }
.toast.ok { border-color: rgba(52,211,153,.36); color: #A7F3D0 }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.96) } to { opacity: 1; transform: none } }

.boot-mask {
  position: fixed; inset: 0; z-index: 400; background: #05060A;
  display: grid; place-items: center; transition: opacity .3s; 
}
.boot-mask.hide { opacity: 0; pointer-events: none }
.boot-spin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12); border-top-color: #A78BFA;
  animation: spin .8s linear infinite;
}

/* ==========================================================================
   RTL
   ========================================================================== */
html[dir="rtl"] .splash-partner, html[dir="rtl"] .splash-tags { direction: ltr }
html[dir="rtl"] .slide-lockup { direction: ltr; justify-content: flex-end }
html[dir="rtl"] .dots { right: auto; left: 14px }
html[dir="rtl"] .section-head h2::before { margin-left: 8px }
html[dir="rtl"] .bc-addr, html[dir="rtl"] .pc-id { direction: ltr; justify-content: flex-end }
html[dir="rtl"] .tab-badge { transform: translateX(-17px) }
html[dir="rtl"] .fab-support { right: auto; left: 14px }
html[dir="rtl"] .msg.me { flex-direction: row }
html[dir="rtl"] .msg { flex-direction: row-reverse }
html[dir="rtl"] .msg.me { flex-direction: row }
html[dir="rtl"] .bubble { border-bottom-left-radius: 6px; border-bottom-right-radius: 16px }
html[dir="rtl"] .msg.me .bubble { border-bottom-right-radius: 6px; border-bottom-left-radius: 16px }

/* ==========================================================================
   EREC 行情 · 首页卡片 + 走势图
   ========================================================================== */
.up { color: #0ECB81 }
.down { color: #F6465D }

.px-card {
  display: grid; grid-template-columns: 1fr 92px 12px; align-items: center; gap: 10px;
  width: calc(100% - 32px); margin: 0 16px 14px; padding: 13px 14px;
  background: linear-gradient(135deg, rgba(139,92,246,.14), rgba(255,255,255,.03) 46%);
  border: 1px solid var(--line); border-radius: 18px; text-align: left;
  transition: .2s;
}
.px-card:active { transform: scale(.985) }
.pxc-pair { display: flex; align-items: center; gap: 6px; margin-bottom: 6px }
.pxc-pair img { width: 15px; height: 15px }
.pxc-pair b { font-size: 11px; letter-spacing: .06em; color: var(--dim) }
.pxc-pair b span { color: var(--dim-3); font-weight: 400 }
.pxc-price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1 }
.pxc-price small { font-size: 9.5px; font-weight: 500; color: var(--dim-3); margin-left: 4px; letter-spacing: .06em }
.pxc-delta { display: flex; align-items: center; gap: 3px; font-size: 11px; margin-top: 5px; font-weight: 600 }
.pxc-delta .ic { width: 10px; height: 10px }
.pxc-delta span { color: var(--dim-3); font-weight: 400; margin-left: 3px; font-size: 10px }
.pxc-spark { opacity: .95 }
.pxc-arrow { width: 13px; height: 13px; color: var(--dim-3) }

.qdot {
  position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%;
  background: #F472B6; box-shadow: 0 0 0 2px #080910, 0 0 10px rgba(244,114,182,.8);
}

/* 走势图页 */
.px-wrap { padding: 4px 16px 0 }
.px-hero { margin-bottom: 16px }
.px-pair { display: flex; align-items: center; gap: 9px; margin-bottom: 12px }
.px-pair img { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px rgba(139,92,246,.5)) }
.px-pair b { font-size: 13.5px; letter-spacing: .04em; display: block }
.px-pair b span { color: var(--dim-3); font-weight: 400; font-size: 11px }
.px-pair i { font-style: normal; font-size: 9.5px; color: var(--dim-3); letter-spacing: .1em }
.px-price { font-size: 34px; font-weight: 700; letter-spacing: -.025em; line-height: 1.05 }
.px-price small { font-size: 11px; font-weight: 500; color: var(--dim-3); margin-left: 6px; letter-spacing: .08em }
.px-delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; font-size: 13px; font-weight: 600 }
.px-delta .ic { width: 12px; height: 12px }
.px-delta span { font-size: 10px; color: var(--dim-3); font-weight: 400; margin-left: 2px }
.px-delta.up, .px-price.up { color: #0ECB81 }
.px-delta.down, .px-price.down { color: #F6465D }

.px-ranges { display: flex; gap: 6px; margin: 0 0 14px }
.px-ranges button {
  flex: 1; height: 30px; border-radius: 9px; font-size: 11.5px; letter-spacing: .04em;
  color: var(--dim-2); background: rgba(255,255,255,.04); border: 1px solid transparent; transition: .16s;
}
.px-ranges button.on { color: #fff; background: rgba(139,92,246,.22); border-color: rgba(168,85,247,.4) }

.px-chartwrap {
  position: relative; padding: 6px 4px 0; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
}
.px-tip {
  position: absolute; z-index: 3; min-width: 92px; padding: 7px 9px; border-radius: 10px;
  background: rgba(10,11,18,.94); border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px rgba(0,0,0,.5); font-size: 9.5px; pointer-events: none;
}
.px-tip-h { display: flex; justify-content: space-between; gap: 8px; font-size: 9.5px; color: var(--dim-2); margin-bottom: 5px }
.px-tip-h i { font-style: normal; font-weight: 700 }
.px-tip-r { display: flex; justify-content: space-between; gap: 10px; line-height: 1.6 }
.px-tip-r span { color: var(--dim-3) }
.px-tip-r b { font-weight: 600; color: var(--txt); font-variant-numeric: tabular-nums }

.px-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 14px; background: var(--line); border-radius: 14px; overflow: hidden }
.px-stat { background: #0A0B12; padding: 12px 13px; display: flex; flex-direction: column; gap: 5px }
.px-stat span { font-size: 10px; color: var(--dim-3); letter-spacing: .04em }
.px-stat b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums }

.px-meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10px; color: var(--dim-3) }
.px-meta div { display: flex; flex-direction: column; gap: 3px }
.px-meta b { color: var(--dim-2); font-weight: 500 }
.px-note { margin: 14px 0 0; font-size: 9.5px; color: var(--dim-3); line-height: 1.7; text-align: center }
.px-skel { height: 460px; border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: skel 1.2s linear infinite }
@keyframes skel { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* EREC 生态模块 */
.eco-sec-tag {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #FCD34D;
  padding: 3px 8px; border-radius: 100px; background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.22);
}
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px }
.eco-card {
  position: relative; overflow: hidden; text-align: left;
  padding: 13px 12px 12px; border-radius: 17px;
  background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line); transition: .18s;
}
.eco-card:active { transform: scale(.975) }
.eco-ic {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  margin-bottom: 9px; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.eco-ic .ic { width: 17px; height: 17px }
.eco-card b { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; letter-spacing: .01em }
.eco-sub {
  display: block; font-size: 9.5px; line-height: 1.5; color: var(--dim-3);
  padding-right: 4px; min-height: 28px;
}
.eco-badge {
  position: absolute; top: 11px; right: 10px; font-style: normal;
  font-size: 8px; letter-spacing: .06em; padding: 2.5px 6px; border-radius: 100px;
  color: rgba(253,230,138,.9); background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.24);
}

.eco-sheet { text-align: center; padding: 4px 0 2px }
.eco-sheet-ic {
  width: 54px; height: 54px; border-radius: 17px; margin: 0 auto 14px;
  display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 22%, transparent);
}
.eco-sheet-ic .ic { width: 26px; height: 26px }
.eco-sheet-t { font-size: 17px; margin: 0 0 9px; font-weight: 650 }
.eco-sheet-tag { display: inline-flex; margin-bottom: 14px }
.eco-sheet-d { font-size: 12.5px; color: var(--dim); line-height: 1.65; margin: 0 0 8px }
.eco-sheet-b { font-size: 11px; color: var(--dim-3); line-height: 1.7; margin: 0 0 18px }
.pill.amber { background: rgba(245,158,11,.14); color: #FCD34D; border: 1px solid rgba(245,158,11,.24) }

/* 走势图底部兑换入口 */
.px-conv {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 14px; padding: 12px 14px; text-align: left;
  border-radius: 14px; border: 1px solid rgba(139,92,246,.24);
  background: linear-gradient(100deg, rgba(139,92,246,.14), rgba(255,255,255,.02));
  transition: .18s;
}
.px-conv:active { transform: scale(.985) }
.px-conv-l b { display: flex; align-items: center; gap: 7px; font-size: 12.5px }
.px-conv-l b .ic { width: 12px; height: 12px; color: #C4B5FD }
.px-conv-l span { display: block; font-size: 10px; color: var(--dim-3); margin-top: 3px }
.px-conv-go { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #C4B5FD }
.px-conv-go .ic { width: 11px; height: 11px }

/* ==========================================================================
   每日签到
   ========================================================================== */
.ci-bar {
  display: flex; align-items: center; gap: 11px; width: calc(100% - 32px); margin: 0 16px 16px;
  padding: 12px 14px; text-align: left; border-radius: 18px;
  background: linear-gradient(100deg, rgba(251,191,36,.13), rgba(255,255,255,.03) 60%);
  border: 1px solid rgba(251,191,36,.2); transition: .2s;
}
.ci-bar:active { transform: scale(.985) }
.ci-bar-ic {
  width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #1A1206;
  box-shadow: 0 6px 18px rgba(245,158,11,.35);
}
.ci-bar-ic .ic { width: 18px; height: 18px }
.ci-bar-txt { flex: 1; min-width: 0 }
.ci-bar-txt b { display: block; font-size: 13px; margin-bottom: 3px }
.ci-bar-txt span { display: block; font-size: 10.5px; color: var(--dim-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.ci-bar-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none }
.ci-bar-right em { font-style: normal; font-size: 16px; font-weight: 700; color: #FCD34D }
.ci-bar-right em i { font-style: normal; font-size: 9px; color: var(--dim-3); margin-left: 2px; font-weight: 400 }
.ci-bar-right span { font-size: 9.5px; padding: 3px 8px; border-radius: 100px }
.ci-bar-right .go { background: rgba(251,191,36,.18); color: #FCD34D }
.ci-bar-right .ok { background: rgba(16,185,129,.14); color: #6EE7B7 }

.ci-hero {
  position: relative; overflow: hidden; margin-bottom: 20px; padding: 18px 16px 16px;
  border-radius: 22px; border: 1px solid rgba(251,191,36,.22);
  background: linear-gradient(150deg, rgba(251,191,36,.16), rgba(139,92,246,.12) 58%, rgba(255,255,255,.02));
}
.ci-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -110px;
  background: radial-gradient(circle, rgba(251,191,36,.34), transparent 66%); filter: blur(16px);
}
.ci-hero-top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px }
.ci-badge {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #FCD34D;
  padding: 4px 9px; border-radius: 100px; background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.24);
}
.ci-total { font-size: 10px; color: var(--dim-2) }
.ci-total b { color: #FCD34D; font-size: 12px }
.ci-streak { position: relative; display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px }
.ci-streak b { font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff }
.ci-streak span { font-size: 11px; color: var(--dim-2) }
.ci-payrow {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px; padding: 9px 11px; border-radius: 12px;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.07);
}
.ci-payrow-l span { display: block; font-size: 9.5px; color: var(--dim-3); letter-spacing: .06em; margin-bottom: 2px }
.ci-payrow-l b { font-size: 13px; color: #FCD34D; font-variant-numeric: tabular-nums }
.ci-auto {
  display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px;
  background: rgba(252,213,53,.07); border: 1px solid rgba(252,213,53,.2);
  font-size: 9.5px; letter-spacing: .02em; color: #FCD34D;
}
.ci-auto .ic { width: 10px; height: 10px; opacity: .8 }

.ci-reward { position: relative; font-size: 11.5px; color: var(--dim-2); margin-bottom: 16px }
.ci-reward b { color: #FCD34D; font-size: 14px }
.ci-btn { position: relative; height: 46px; gap: 7px }
.ci-btn:disabled { opacity: .55 }
.ci-btn .ic { width: 15px; height: 15px }

.ci-break {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 11px 12px; border-radius: 14px;
  background: rgba(246,70,93,.08); border: 1px solid rgba(246,70,93,.24);
}
.ci-break-txt { flex: 1; min-width: 0 }
.ci-break-txt b { display: block; font-size: 12px; color: #FCA5A5; margin-bottom: 3px }
.ci-break-txt span { display: block; font-size: 10px; line-height: 1.55; color: rgba(252,165,165,.7) }
.ci-break-btn {
  flex: none; height: 30px; padding: 0 12px; border-radius: 9px; font-size: 11px;
  color: #FCA5A5; border: 1px solid rgba(246,70,93,.34); background: rgba(246,70,93,.12);
}
.ci-break-btn:disabled { opacity: .5 }
.ci-break-ic { width: 16px; height: 16px; flex: none; color: #FCA5A5 }

/* 级别卡 */
.ci-lv { padding: 15px 14px; margin-bottom: 16px }
.ci-lv-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px }
.ci-lv-badge {
  flex: none; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 13px;
  display: grid; place-items: center; font-size: 17px; font-weight: 800; letter-spacing: .02em;
  color: #0B0B0F; background: linear-gradient(150deg, #FCD535, #F5A623);
  box-shadow: 0 6px 18px rgba(252,213,53,.22);
}
.ci-lv-meta b { display: block; font-size: 13px; color: #F5F6FA; margin-bottom: 3px }
.ci-lv-meta span { font-size: 10.5px; color: var(--dim-2) }

.ci-lv-ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 13px }
.ci-lv-step {
  padding: 6px 0; border-radius: 9px; text-align: center;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06);
}
.ci-lv-step b { display: block; font-size: 9.5px; font-weight: 700; color: rgba(245,246,250,.28) }
.ci-lv-step i { display: block; font-style: normal; font-size: 8px; color: rgba(245,246,250,.2); margin-top: 1px }
.ci-lv-step.on { background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.2) }
.ci-lv-step.on b { color: #C4B5FD }
.ci-lv-step.on i { color: rgba(196,181,253,.55) }
.ci-lv-step.cur { background: rgba(252,213,53,.12); border-color: rgba(252,213,53,.34) }
.ci-lv-step.cur b { color: #FCD535 }
.ci-lv-step.cur i { color: rgba(252,213,53,.6) }

.ci-lv-next { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06) }
.ci-lv-next-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px }
.ci-lv-next-head span { font-size: 10.5px; color: var(--dim-2) }
.ci-lv-next-head span b { color: #C4B5FD; font-size: 11.5px }
.ci-lv-next-head em { font-style: normal; font-size: 10.5px; color: #FCD535; font-weight: 600 }
.ci-lv-bar { height: 5px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 8px }
.ci-lv-bar i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, #8B5CF6, #FCD535); transition: width .4s }
.ci-lv-need { display: flex; gap: 14px }
.ci-lv-need span { font-size: 9.5px; color: var(--dim-3) }
.ci-lv-need span b { color: var(--dim); font-variant-numeric: tabular-nums }
.ci-lv-need span.ok b { color: #6EE7B7 }
.ci-lv-max { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); font-size: 10.5px; color: #FCD535 }

/* 太阳线分红 */
.ci-team { padding: 15px 14px; margin-bottom: 20px }
.ci-team-top {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.ci-team-top > div + div { border-left: 1px solid rgba(255,255,255,.06) }
.ci-team-top b { display: block; font-size: 17px; font-weight: 700; color: #FCD535; margin-bottom: 3px; font-variant-numeric: tabular-nums }
.ci-team-top span { font-size: 9px; color: var(--dim-3) }

.ci-gen-list { margin-bottom: 11px }
.ci-gen {
  display: grid; grid-template-columns: 32px 44px 1fr auto; align-items: center; gap: 8px;
  padding: 7px 62px 7px 2px; border-bottom: 1px solid rgba(255,255,255,.04);
}
.ci-gen:last-child { border-bottom: none }
.ci-gen-n { font-size: 10px; font-weight: 700; color: #C4B5FD; letter-spacing: .04em }
.ci-gen-p { font-size: 10px; color: #FCD535; font-variant-numeric: tabular-nums }
.ci-gen-c { font-size: 10px; color: var(--dim-3); font-variant-numeric: tabular-nums }
.ci-gen-e { font-size: 11px; font-weight: 600; color: #6EE7B7; font-variant-numeric: tabular-nums }
.ci-gen.dim .ci-gen-n, .ci-gen.dim .ci-gen-p { opacity: .4 }
.ci-gen.lock .ci-gen-n { opacity: .32 }
.ci-gen-lock {
  font-size: 8.5px; color: var(--dim-3); letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px;
  padding: 1px 3px; text-align: center; justify-self: start;
}
.ci-gen.dim .ci-gen-e { color: var(--dim-3) }

.ci-team-foot { font-size: 9.5px; line-height: 1.6; color: var(--dim-3); padding: 2px 0 11px }
.ci-invite { height: 40px; font-size: 12px; gap: 6px }
.ci-invite .ic { width: 14px; height: 14px }

.ci-demo {
  height: 42px; font-size: 11.5px; gap: 6px; margin-top: 4px;
  border-style: dashed !important; opacity: .85;
}
.ci-demo .ic { width: 14px; height: 14px }

.ci-streak-tag {
  font-style: normal; font-size: 9px; color: var(--dim-3);
  letter-spacing: .1em; text-transform: uppercase; margin-left: 2px;
  align-self: center;
}
.ci-badge-lv { color: #0B0B0F !important; background: linear-gradient(150deg, #FCD535, #F5A623) !important; font-weight: 700 }

.ci-sec-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-3); margin: 0 0 10px }
.ci-cycle { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 20px }
.ci-cell {
  position: relative; padding: 8px 1px 7px; border-radius: 12px; text-align: center;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
}
.ci-cell-top { display: flex; align-items: center; justify-content: center; gap: 2px; margin-bottom: 4px }
.ci-cell-top span { font-size: 8.5px; color: var(--dim-3); letter-spacing: .04em }
.ci-bonus { font-style: normal; font-size: 7px; color: #FCD34D; background: rgba(251,191,36,.16); padding: 1px 2px; border-radius: 3px }
.ci-cell b { display: block; font-size: 11.5px; font-weight: 700; color: var(--dim-2); letter-spacing: -.02em }
.ci-cell small { display: block; font-size: 7px; color: var(--dim-3); letter-spacing: .02em; white-space: nowrap }
.ci-cell.done { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.32) }
.ci-cell.done b { color: #FCD34D }
.ci-cell.cur { border-color: rgba(168,85,247,.55); box-shadow: 0 0 0 3px rgba(139,92,246,.14) }
.ci-cell.cur b { color: #fff }
.ci-tick { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; color: #FCD34D }

.ci-cal { padding: 15px 14px; margin-bottom: 16px }
.ci-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px }
.ci-cal-head b { font-size: 13px; letter-spacing: .06em }
.ci-cal-head span { font-size: 10px; color: var(--dim-3) }
.ci-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center }
.ci-cal-wk { margin-bottom: 6px }
.ci-cal-h { font-size: 9px; color: var(--dim-3); padding: 3px 0 }
.ci-cal-pad { height: 30px }
.ci-cal-d {
  height: 30px; display: grid; place-items: center; font-size: 10.5px; font-style: normal;
  border-radius: 9px; color: var(--dim-2); position: relative;
}
.ci-cal-d.future { color: rgba(245,246,250,.2) }
.ci-cal-d.on { background: rgba(251,191,36,.16); color: #FCD34D; font-weight: 600 }
.ci-cal-d.on::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: #FCD34D;
}
.ci-cal-d.today { box-shadow: inset 0 0 0 1px rgba(168,85,247,.6) }
.ci-cal-d.today:not(.on) { color: #DDD6FE }

.ci-inv { padding: 15px 14px; margin-bottom: 16px }
.ci-inv-top {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.ci-inv-top > div + div { border-left: 1px solid rgba(255,255,255,.06) }
.ci-inv-top b { display: block; font-size: 17px; font-weight: 700; color: #FCD34D; margin-bottom: 3px; font-variant-numeric: tabular-nums }
.ci-inv-top span { font-size: 9px; color: var(--dim-3); letter-spacing: .02em }
.ci-inv-rules { margin-bottom: 13px }
.ci-inv .btn-block { height: 40px; font-size: 12px }

.ci-rules { padding: 14px 15px; margin-bottom: 16px }
.ci-rule { display: flex; gap: 9px; font-size: 11px; line-height: 1.65; color: var(--dim-2) }
.ci-rule + .ci-rule { margin-top: 9px }
.ci-rule i {
  flex: none; width: 17px; height: 17px; border-radius: 50%; font-style: normal;
  display: grid; place-items: center; font-size: 9px; color: #C4B5FD;
  background: rgba(139,92,246,.16); margin-top: 1px;
}

.px-follow {
  padding: 13px 14px; border-radius: 16px; margin-bottom: 12px;
  background: rgba(255,255,255,.028); border: 1px solid var(--line);
}
.px-fl-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px }
.px-fl-head b { font-size: 12px; color: #F5F6FA }
.px-fl-head span { font-size: 10px; color: #C4B5FD; font-variant-numeric: tabular-nums }
.px-fl-rows { display: flex; flex-direction: column; gap: 1px }
.px-fl-row {
  display: grid; grid-template-columns: 46px 34px 1fr auto; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.px-fl-row:last-child { border-bottom: none }
.px-fl-s { font-size: 11px; font-weight: 700; color: var(--dim) }
.px-fl-w { font-size: 9.5px; color: var(--dim-3); font-variant-numeric: tabular-nums }
.px-fl-p { font-size: 11.5px; color: #F5F6FA; text-align: right; font-variant-numeric: tabular-nums }
.px-fl-c { font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 54px; text-align: right }
.px-fl-c.up { color: #0ECB81 }
.px-fl-c.down { color: #F6465D }
.px-fl-note { font-size: 9.5px; line-height: 1.65; color: var(--dim-3); margin-top: 9px }

.ci-burst {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%);
  display: flex; align-items: baseline; gap: 5px; pointer-events: none; z-index: 200;
  animation: burstUp 1.3s cubic-bezier(.2,.8,.3,1) forwards;
}
.ci-burst b { font-size: 42px; font-weight: 800; color: #FCD34D; text-shadow: 0 8px 32px rgba(251,191,36,.6) }
.ci-burst span { font-size: 13px; color: #FCD34D; letter-spacing: .1em }
@keyframes burstUp {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(.7) }
  24% { opacity: 1; transform: translate(-50%, -50%) scale(1.04) }
  70% { opacity: 1; transform: translate(-50%, -62%) scale(1) }
  100% { opacity: 0; transform: translate(-50%, -96%) scale(.96) }
}

/* ==========================================================================
   Desktop stage
   ========================================================================== */
.stage { display: none }
@media (min-width: 1180px) {
  .stage {
    display: block; position: fixed; z-index: 0;
    left: max(40px, calc(50vw - 560px)); top: 50%; transform: translateY(-50%);
    pointer-events: none; user-select: none;
  }
  .stage-glow {
    position: absolute; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.22), transparent 68%);
    filter: blur(30px); left: -140px; top: -120px;
  }
  .stage-word {
    position: relative; font-size: 72px; font-weight: 800; letter-spacing: .22em;
    background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.04));
    -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
  }
  .stage-rule {
    position: relative; width: 64px; height: 2px; border-radius: 2px; margin: 22px 0 16px;
    background: linear-gradient(90deg, #8B5CF6, #D946EF, transparent);
  }
  .stage-cap {
    position: relative; font-size: 9.5px; letter-spacing: .38em; color: rgba(255,255,255,.24);
    max-width: 260px; line-height: 2;
  }
}

/* ==========================================================================
   Desktop frame
   ========================================================================== */
@media (min-width: 900px) {
  body { display: grid; place-items: center; }
  .app {
    width: 480px; height: calc(100dvh - 44px); max-height: 940px;
    border-radius: 38px; border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 40px 120px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.03) inset;
    overflow: hidden;
  }
  .app-scroll { border-radius: 38px }
  .tabbar { border-radius: 0 0 38px 38px }
  .chat-layer {
    inset: auto;
    top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.96);
    width: 480px; height: min(940px, calc(100dvh - 44px));
    border-radius: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,.09);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .34s cubic-bezier(.22,1,.36,1), visibility .3s;
    box-shadow: 0 40px 120px rgba(0,0,0,.75);
  }
  .chat-layer.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible }
  .modal-mask { align-items: center }
  .modal { border-radius: 26px; max-width: 440px; padding-bottom: 20px }
  .toast-root { bottom: 90px }
  .auth { display: grid; place-items: center; }
  .auth-inner { width: 420px }
}
@media (max-width: 899px) {
  .chat-layer.open { transform: translateX(0) }
}

/* 公告正文 */
.nt-body { font-size: 14px; line-height: 1.88; color: rgba(245,246,250,.84) }
.nt-body p { margin: 0 0 14px }
.nt-body .nt-h {
  font-size: 15px; font-weight: 700; color: #F5F6FA; margin: 22px 0 10px;
  letter-spacing: -.01em; padding-left: 10px; position: relative;
}
.nt-body .nt-h::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  border-radius: 2px; background: linear-gradient(180deg, #FCD535, #8B5CF6);
}
.nt-body .nt-li { display: flex; gap: 9px; padding: 4px 0 4px 2px }
.nt-body .nt-li i {
  width: 4px; height: 4px; border-radius: 50%; background: #A78BFA; margin-top: 10px; flex: none;
}
.nt-body .nt-li span { flex: 1; min-width: 0 }

/* 流水（分组 + 明细） */
.tx-group { margin-bottom: 14px }
.tx-date {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim-3); padding: 0 4px 7px;
}
.tx-card {
  border-radius: 16px; background: rgba(255,255,255,.028);
  border: 1px solid var(--line); overflow: hidden;
}
.tx-item + .tx-item { border-top: 1px solid rgba(255,255,255,.05) }
.tx-item .tx-row {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 12px 12px; border-radius: 0; background: none; text-align: left;
}
.tx-item .tx-row:active { background: rgba(255,255,255,.04) }
.tx-main { flex: 1; min-width: 0 }
.tx-main b { display: block; font-size: 13px; font-weight: 600; color: var(--txt); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tx-main span { display: block; font-size: 10px; color: var(--dim-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tx-main i { font-style: normal }
.tx-main .st-pending { color: #FCD34D }
.tx-main .st-done { color: #6EE7B7 }
.tx-item .tx-amt { text-align: right; flex: none }
.tx-item .tx-amt b { display: block; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums }
.tx-item .tx-amt.up b, .tx-item .tx-amt.in b { color: #0ECB81 }
.tx-item .tx-amt.down b, .tx-item .tx-amt.out b { color: #F5F6FA }
.tx-item .tx-amt span { font-size: 9px; color: var(--dim-3); margin-top: 2px }
.tx-chev { width: 12px; height: 12px; color: var(--dim-3); transition: transform .22s; flex: none }
.tx-item.open .tx-chev { transform: rotate(90deg) }
.tx-detail {
  padding: 2px 64px 12px 45px;
  background: rgba(0,0,0,.18);
  border-top: 1px dashed rgba(255,255,255,.06);
}
.txd-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; font-size: 10.5px; border-bottom: 1px solid rgba(255,255,255,.04);
}
.txd-row:last-child { border-bottom: none }
.txd-row > span { color: var(--dim-3); flex: none }
.txd-row > b { font-weight: 500; color: var(--dim); text-align: right; word-break: break-all; overflow-wrap: anywhere; max-width: 58%; min-width: 0 }
.txd-row > b.mono { font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; line-height: 1.5; color: #C4B5FD; cursor: pointer; max-width: 58%; text-align: right }
.m-input-wrap.locked { background: rgba(52,211,153,.05); border-color: rgba(52,211,153,.16) }

.ci-payhint {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 11px; margin-bottom: 13px; border-radius: 11px;
  background: rgba(252,213,53,.075); border: 1px solid rgba(252,213,53,.2);
  font-size: 10.5px; line-height: 1.5; color: #FCD34D;
}
.ci-payhint .ic { width: 12px; height: 12px; flex: none; opacity: .85 }
.ci-payhint span { flex: 1; min-width: 0 }

/* ---------- 存量托管释放卡片（只读展示，不提供新建托管） ---------- */
.cust-card {
  margin: 14px 0 4px; padding: 14px 15px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(16,185,129,.07));
  border: 1px solid rgba(167,139,250,.22);
}
.cust-top { display: flex; align-items: center; gap: 10px }
.cust-ic {
  width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: rgba(167,139,250,.18); color: #C4B5FD;
}
.cust-ic .ic { width: 16px; height: 16px }
.cust-h { flex: 1; min-width: 0 }
.cust-h b { display: block; font-size: 12.5px; font-weight: 600; color: var(--dim) }
.cust-h span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.4; color: var(--dim-3) }
.cust-card .pill { font-size: 9.5px; flex: none }
.cust-bar { height: 5px; margin: 13px 0 12px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden }
.cust-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #8B5CF6, #34D399) }
.cust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.cust-grid > div { min-width: 0 }
.cust-grid span { display: block; font-size: 9.5px; color: var(--dim-3); margin-bottom: 4px }
.cust-grid b { display: block; font-size: 13px; font-weight: 600; color: var(--dim); white-space: nowrap }
.cust-grid b small { font-size: 8.5px; font-weight: 400; color: var(--dim-3); margin-left: 2px }
.cust-foot { margin-top: 11px; padding-top: 9px; border-top: 1px dashed rgba(255,255,255,.08); font-size: 9.5px; color: var(--dim-3) }
