
:root {
  --blue: #1a73e8; --blue-d: #1558b0;
  --bg: #f5f7fa; --card: #ffffff; --line: #e4e7ed;
  --t1: #333333; --t2: #888888;
  --ok: #34a853; --warn: #fbbc04; --err: #ea4335;
  --radius: 8px; --shadow: 0 1px 4px rgba(21, 88, 176, .08);
  --tabbar-h: 66px;
  --sab: min(env(safe-area-inset-bottom, 0px), 16px); 
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { background: #ffffff; } 
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--t1); font-size: 15px; line-height: 1.5;
  touch-action: manipulation; 
  overflow: hidden; 
}
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
.icon { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.hidden { display: none !important; }

.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); display: inline-block; margin-right: 8px; }
.brand-name { font-weight: 700; color: var(--blue); letter-spacing: .5px; }

.app { height: 100%; display: flex; flex-direction: column; }
.view {
  flex: 1; min-height: 0; width: 100%; max-width: 860px; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(var(--tabbar-h) + var(--sab) + 86px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; 
}

.view-ghost {
  position: fixed; inset: 0; margin: 0 auto; width: 100%; max-width: 860px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(var(--tabbar-h) + var(--sab) + 86px);
  overflow-y: auto; scrollbar-width: none; z-index: 39; pointer-events: none; background: var(--bg);
}
.view-ghost::-webkit-scrollbar { display: none; }

.swipe-slot {
  position: fixed; inset: 0; margin: 0 auto; width: 100%; max-width: 860px;
  background: var(--bg); z-index: -1; pointer-events: none;
  display: flex; align-items: center;
}
.swipe-slot.ss-next { justify-content: flex-start; padding-left: 16%; }
.swipe-slot.ss-prev { justify-content: flex-end; padding-right: 16%; }
.swipe-slot .ss-core { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--t2); }
.swipe-slot .ss-core .icon { width: 52px; height: 52px; stroke-width: 1.3; opacity: .8; }
.swipe-slot .ss-core b { font-size: 16px; letter-spacing: 3px; }
.swipe-slot .ss-core span { font-size: 10.5px; letter-spacing: 5px; opacity: .6; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar-h) + var(--sab));
  padding-bottom: var(--sab); 
  background: var(--card); border-top: 1px solid var(--line); z-index: 40;
  display: flex;
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #888; font-size: 11px; text-decoration: none; min-height: 44px; border: 0; background: none;
}
.tab-item .icon { width: 24px; height: 24px; }
.tab-item.active { color: var(--blue); }
.tab-item.active .icon { stroke-width: 2.4; }

.sidebar { display: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--blue); color: #fff; border: 0; border-radius: var(--radius);
  padding: 10px 18px; font-size: 15px; min-height: 44px; transition: background .15s;
}
.btn:hover { background: var(--blue-d); }
.btn:disabled { background: #a8c7f0; cursor: not-allowed; }
.btn-plain { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn-plain:hover { background: #eef4fe; }
.btn-sm { padding: 6px 12px; min-height: 36px; font-size: 13px; border-radius: 6px; }
.btn-ok { background: var(--ok); } .btn-ok:hover { background: #2b8f47; }
.btn-err { background: var(--err); } .btn-err:hover { background: #c93629; }
.btn-block { width: 100%; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--t2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; min-height: 44px; background: #fff; color: var(--t1); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-svg { height: 44px; border-radius: 6px; border: 1px solid var(--line); flex: none; cursor: pointer; }
.hint { font-size: 12px; color: var(--t2); margin-top: 6px; }
.link { color: var(--blue); text-decoration: none; cursor: pointer; }
.link:hover { color: var(--blue-d); }

.asset-hero { padding: 6px 2px 14px; margin-bottom: 10px; }
.ah-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ah-label { font-size: 12px; color: var(--t2); letter-spacing: .3px; }
.ah-bal-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ah-balance {
  font-size: 38px; font-weight: 700; color: var(--t1); letter-spacing: .5px;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.ah-eye { color: var(--t2); display: inline-flex; padding: 6px; cursor: pointer; }
.ah-eye:active { opacity: .6; }
.ah-eye .icon { width: 20px; height: 20px; }
.ah-actions { display: flex; gap: 10px; }
.ah-round {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--t2); background: var(--card);
}
.ah-round .icon { width: 19px; height: 19px; }
.ah-cols { display: flex; margin-top: 14px; }
.ah-col { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.ah-col:last-child { border-right: none; }
.ah-col b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; display: block; }
.ah-col span { font-size: 11px; color: var(--t2); display: block; margin-top: 3px; }
.ah-profit { margin-top: 12px; font-size: 12px; color: var(--t2); }
.ah-profit b { color: var(--ok); font-weight: 600; font-variant-numeric: tabular-nums; }
.ah-cny { margin-top: 4px; font-size: 11px; color: var(--t2); }
.ah-cny span { font-variant-numeric: tabular-nums; }
.ah-pills { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; }
.ah-pills::-webkit-scrollbar { display: none; }
.pill-link {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 9px 16px; font-size: 13px; color: var(--t1); cursor: pointer; transition: background .15s; text-decoration: none;
}
.pill-link:active { background: var(--bg2); }
.pill-link .icon { width: 16px; height: 16px; color: var(--blue); }
.chip { background: rgba(255,255,255,.16); border-radius: 20px; padding: 4px 12px; font-size: 12px; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 480px) { .grid5 { grid-template-columns: repeat(5, 1fr); gap: 4px; } }
.gbtn {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 4px; color: var(--t1); text-decoration: none; min-height: 84px; cursor: pointer;
  transition: box-shadow .15s, transform .05s;
}
.gbtn:hover { box-shadow: 0 3px 10px rgba(26,115,232,.15); }
.gbtn:active { transform: scale(.97); }
.gbtn .icon { width: 26px; height: 26px; color: var(--blue); }
.gbtn span { font-size: 12px; }
.notice {
  display: flex; gap: 8px; align-items: flex-start; background: #eef4fe; border: 1px solid #cfe0fb;
  color: var(--blue-d); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; margin-bottom: 14px;
}
.notice .icon { width: 16px; height: 16px; margin-top: 2px; }

.verified-badge { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.verified-badge .vicon { width: 15px; height: 15px; }
.verified-badge .vtext { color: var(--ok); font-size: 12px; }
.cdot { width: 17px; height: 17px; flex: none; }

.ch-item {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; margin-bottom: 10px; cursor: pointer; background: #fff;
}
.ch-item.sel { border-color: var(--blue); background: #eef4fe; }
.ch-ico {
  width: 42px; height: 42px; border-radius: 50%; background: #eef4fe; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: none; font-weight: 700; font-size: 16px;
}
.ch-ico img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ch-main { flex: 1; min-width: 0; }
.ch-name { font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ch-sub { font-size: 12px; color: var(--t2); margin-top: 2px; }

.task-card { display: flex; align-items: center; gap: 12px; }
.task-pair { font-weight: 700; font-size: 16px; }
.task-meta { font-size: 12px; color: var(--t2); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.task-rate { color: var(--ok); font-weight: 700; }
.task-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.task-amt { width: 110px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 8px; min-height: 36px; font-size: 14px; }
.countdown { font-variant-numeric: tabular-nums; color: var(--warn); font-size: 12px; }
.frozen-tip { background: #fff8e6; border: 1px solid #f6e3a8; color: #8a6d1a; border-radius: var(--radius); padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }

.tabs4 { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.tabs4 button {
  flex: 1; border: 0; background: none; padding: 11px 0; min-height: 44px; font-size: 14px; color: var(--t2);
}
.tabs4 button.active { color: var(--blue); font-weight: 700; background: #eef4fe; }
.order-card { padding: 14px; }
.order-row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order-no { font-size: 13px; color: var(--t2); font-variant-numeric: tabular-nums; }
.order-type { font-weight: 700; }
.st { font-size: 12px; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.st-processing { background: #eef4fe; color: var(--blue); }
.st-pending_review { background: #fff8e6; color: #a07706; }
.st-completed { background: #e6f6ea; color: var(--ok); }
.st-cancelled { background: #f2f2f2; color: var(--t2); }
.order-row2 { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.order-amt { font-weight: 700; }
.order-time { font-size: 12px; color: var(--t2); }
.audit-line { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.audit-line:last-child { border-bottom: 0; }
.audit-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; gap: 10px; }
.kv b { font-weight: 400; color: var(--t2); flex: none; }
.kv span { text-align: right; word-break: break-all; }

.chat-wrap { display: flex; flex-direction: column; gap: 14px; }
.msg-row { display: flex; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.msg-body { max-width: 78%; }
.msg-head { font-size: 12px; color: var(--t2); margin-bottom: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.official-badge {
  background: var(--blue); color: #fff; font-size: 11px; border-radius: 4px; padding: 1px 6px; font-weight: 600;
}
.bubble {
  background: var(--card); border: 1px solid var(--line); border-radius: 0 10px 10px 10px; padding: 9px 12px;
  font-size: 14px; word-break: break-word; box-shadow: var(--shadow);
}
.bubble img { max-width: 220px; max-height: 160px; border-radius: 6px; display: block; }
.chat-muted {
  text-align: center; color: var(--t2); font-size: 12px; background: var(--card);
  border: 1px dashed var(--line); border-radius: 20px; padding: 8px; margin-top: 6px;
}

.pcell {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 10px; cursor: pointer; text-decoration: none; color: var(--t1);
  min-height: 56px;
}
.pcell:hover { box-shadow: 0 3px 10px rgba(26,115,232,.12); }
.pcell .icon { color: var(--blue); }
.pcell-main { flex: 1; font-size: 15px; }
.pcell .chev { color: #c0c6cf; width: 18px; height: 18px; }
.pfoot { text-align: center; color: var(--t2); font-size: 12px; padding: 14px 0 4px; line-height: 2; }

.ex-card { display: flex; align-items: center; gap: 12px; }
.ex-card .ch-ico { width: 46px; height: 46px; }
.ex-main { flex: 1; min-width: 0; }
.ex-margin { font-size: 12px; color: var(--t2); margin-top: 3px; }
.tut-step { display: flex; gap: 12px; margin-bottom: 16px; }
.tut-no {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.tut-body { flex: 1; }
.tut-title { font-weight: 600; margin-bottom: 4px; }
.tut-text { color: var(--t2); font-size: 14px; }
.tut-no.tut-ic .icon { width: 14px; height: 14px; }
.tut-divide { height: 1px; background: var(--line); margin: 4px 0 16px; position: relative; }
.tut-divide::after { content: '新手指引 · 六步完成'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--card); color: var(--t2); font-size: 11px; padding: 0 10px; white-space: nowrap; }

.ledger-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ledger-item:last-child { border-bottom: 0; }
.ledger-type { font-weight: 600; font-size: 14px; }
.ledger-remark { font-size: 12px; color: var(--t2); margin-top: 2px; }
.ledger-amt { text-align: right; font-variant-numeric: tabular-nums; }
.ledger-amt.pos { color: var(--ok); }
.ledger-amt.neg { color: var(--err); }
.ledger-time { font-size: 11px; color: var(--t2); }

.loader {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 247, 250, .45); backdrop-filter: blur(1px); pointer-events: none;
}
.spinner {
  width: 42px; height: 42px; border-radius: 50%;
  border: 4px solid #cfe0fb; border-top-color: var(--blue);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.view { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card, .pcell, .gbtn, .ch-item { animation: fadeIn .3s ease; }

.grid-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt-btn {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 0;
  font-size: 16px; font-weight: 700; color: var(--t1); min-height: 48px;
}
.amt-btn.sel { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(26,115,232,.3); }
.amt-btn { font-variant-numeric: tabular-nums; transition: all .15s ease; }

.fz-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 2px 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.fz-label { font-size: 12px; color: var(--t2); }
.fz-bal { font-size: 22px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.fz-ico { color: var(--blue); }
.fz-ico .icon { width: 26px; height: 26px; }

.fp-title-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 2px 4px; }
.fp-title { font-size: 28px; font-weight: 800; color: var(--t1); letter-spacing: 1px; }
.fp-sub { font-size: 12px; color: var(--t2); }

.pf-sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pf-sort-bar .fp-sec-label { margin-bottom: 0; flex: none; }
.pf-sort-bar .sort-row { margin-bottom: 0; flex: none; }
.pf-sort-bar .sort-row button { flex: none; padding: 6px 12px; font-size: 12px; border-radius: 999px; }
.fp-bal-line { font-size: 12.5px; color: var(--t2); margin: 4px 2px 16px; }
.fp-bal-line b { color: var(--t1); font-variant-numeric: tabular-nums; font-weight: 700; }
.fp-divider { height: 1px; background: var(--line); margin: 4px 0; }
.fp-section { padding: 16px 2px; }
.fp-sec-label { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 10px; }
.fp-amt-row {
  display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--line);
  padding: 4px 2px 10px; transition: border-color .2s;
}
.fp-amt-row:focus-within { border-color: var(--blue); }
.fp-amt-row input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 34px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; min-width: 0;
}
.fp-amt-row input::placeholder { color: var(--t2); opacity: .55; }
.fp-unit { font-size: 15px; font-weight: 700; color: var(--t2); flex: none; }
.fp-chips { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; }
.fp-chips::-webkit-scrollbar { display: none; }
.fp-chip {
  flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 20px;
  padding: 8px 18px; font-size: 13.5px; font-weight: 600; color: var(--t1);
  font-variant-numeric: tabular-nums; cursor: pointer; transition: all .15s;
}
.fp-chip.sel { border-color: var(--blue); background: var(--blue); color: #fff; }
.fp-tip {
  display: flex; align-items: flex-start; gap: 8px; background: #eef4fe; border-radius: 10px;
  padding: 12px; font-size: 12px; color: var(--blue-d); line-height: 1.6; margin-top: 6px;
}
.fp-tip .icon { width: 15px; height: 15px; flex: none; margin-top: 1px; }

.ex-tip { background: #fff8e6; border: 1px solid #f2e2b0; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.ex-tip-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #a07706; margin-bottom: 6px; }
.ex-tip-head .icon { width: 15px; height: 15px; flex: none; }
.ex-tip-body { font-size: 12.5px; color: #8a6a10; line-height: 1.75; }
.fp-btn-wrap { padding: 20px 2px 10px; }
.fp-btn { height: 50px; font-size: 16px; font-weight: 700; }

.tk-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.tk-chips::-webkit-scrollbar { display: none; }
.tk-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); background: var(--card); border-radius: 20px;
  padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--t1); cursor: pointer; transition: all .15s;
}
.tk-chip .icon { width: 15px; height: 15px; color: var(--t2); }
.tk-chip.sel { border-color: var(--blue); background: var(--blue); color: #fff; }
.tk-chip.sel .icon { color: #fff; }
.tk-chip.lock { opacity: .55; border-style: dashed; }
.pf-list2 { display: flex; flex-direction: column; }
.pf-line {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 2px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.pf-line:last-child { border-bottom: none; }
.pf-line:active { background: var(--bg2); }
.pf-line-l { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pf-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 3px 10px rgba(21, 88, 176, .18);
}
.pf-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-line-info { min-width: 0; }
.pf-line-name { font-size: 14.5px; font-weight: 700; color: var(--t1); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-line-name .icon { width: 14px; height: 14px; color: var(--blue); flex: none; }
.pf-big-tag { font-size: 10px; font-weight: 700; color: #b8860b; background: #fdf6e3; border: 1px solid #f0dfa8; border-radius: 4px; padding: 1px 5px; flex: none; }
.pf-live {
  width: 7px; height: 7px; border-radius: 50%; background: #2eb344; flex: none;
  animation: liveBreath 1.8s ease-in-out infinite;
}
@keyframes liveBreath { 0%, 100% { box-shadow: 0 0 0 0 rgba(46,179,68,.45); } 50% { box-shadow: 0 0 0 5px rgba(46,179,68,0); } }
.pf-line-sub { font-size: 11.5px; color: var(--t2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-rate-pill { color: var(--blue-d); background: #eef4fe; border-radius: 4px; padding: 1px 6px; font-weight: 600; }
.pf-line-r { text-align: right; flex: none; }
.pf-line-num { font-size: 26px; font-weight: 800; color: var(--t1); font-variant-numeric: tabular-nums; line-height: 1.1; }
.pf-line-num small { font-size: 11px; font-weight: 600; color: var(--t2); }
.pf-take-btn {
  margin-top: 7px; border: none; background: var(--blue); color: #fff; border-radius: 18px;
  padding: 8px 22px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s;
  box-shadow: 0 4px 12px rgba(26,115,232,.28);
}
.pf-take-btn:active { transform: scale(.96); }
.pf-take-btn.lock { background: var(--card); color: var(--t2); border: 1.5px dashed var(--line); box-shadow: none; }
.order-line { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.order-line:last-child { border-bottom: none; }
.order-line-top { display: flex; align-items: center; justify-content: space-between; }
.order-line-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }

.ah-greet-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ah-greet { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--t1); }
.ah-greet-ic { display: flex; }
.ah-greet-ic .icon { width: 19px; height: 19px; }
.ah-greet-ic.g-sun { color: #f5a623; }
.ah-greet-ic.g-moon { color: #6b7cff; }
.ah-bell { position: relative; display: flex; align-items: center; justify-content: center; color: var(--t1); padding: 6px; cursor: pointer; }
.ah-bell .icon { width: 21px; height: 21px; }
.ah-bell-dot {
  position: absolute; top: 0; right: 0; background: #f43f5e; color: #fff; font-size: 10px;
  font-style: normal; font-weight: 700; min-width: 16px; height: 16px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--bg);
}

.ch-cards { display: flex; flex-direction: column; gap: 10px; }
.ch-card {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: all .15s; background: var(--card);
}
.ch-card.sel { border-color: var(--blue); background: #eef4fe; }
.ch-card-ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--bg2); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ch-card.sel .ch-card-ic { background: var(--blue); color: #fff; }
.ch-card-ic .icon { width: 19px; height: 19px; }
.ch-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-card-name { font-size: 14.5px; font-weight: 600; color: var(--t1); }
.ch-card-badge { font-size: 11.5px; color: var(--t2); }
.ch-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none;
  position: relative; transition: all .15s;
}
.ch-card.sel .ch-radio { border-color: var(--blue); background: var(--blue); }
.ch-card.sel .ch-radio::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 7px; height: 4px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.wd-addr-card {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card);
}
.wd-addr-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.addr-mono {
  font-family: ui-monospace, monospace; font-size: 14px; font-weight: 600; color: var(--t1); letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.wd-addr-name { font-size: 11.5px; color: var(--t2); }
.wd-addr-ops { display: flex; gap: 6px; flex: none; }
.wd-addr-op {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--blue);
  border: 1px solid rgba(26,115,232,.35); border-radius: 16px; padding: 6px 12px; cursor: pointer;
}
.wd-addr-op:active { background: #eef4fe; }
.wd-addr-op .icon { width: 13px; height: 13px; }
.drawer-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999;
  animation: fadeIn .2s ease;
}
.drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--bg);
  border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.32,.72,.34,1);
  max-height: 70vh; display: flex; flex-direction: column;
}
.drawer.open { transform: translateY(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px;
  font-size: 15px; font-weight: 700; color: var(--t1); border-bottom: 1px solid var(--line);
}
.drawer-x { border: none; background: transparent; color: var(--t2); display: flex; padding: 4px; cursor: pointer; }
.drawer-x .icon { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.wd-drawer-item {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 12.5px; color: var(--t1); cursor: pointer;
}
.wd-drawer-item.sel { border-color: var(--blue); background: #eef4fe; color: var(--blue); }
.drawer-foot { padding: 10px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

.wd-fee-bar {
  background: var(--bg2); border-radius: 8px; padding: 10px 12px; margin: 12px 0 4px;
  font-size: 12.5px; color: var(--t2); display: flex; justify-content: space-between;
}
.wd-fee-bar b { color: var(--t1); font-variant-numeric: tabular-nums; }
.wd-all { font-size: 12px; color: var(--blue); cursor: pointer; float: right; margin-top: 4px; }

.tr-accs { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tr-acc {
  flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; text-align: center;
}
.tr-acc .tr-acc-t { font-size: 12px; color: var(--t2); }
.tr-acc .tr-acc-v { font-size: 17px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.tr-acc.hot { border-color: var(--blue); background: #eef4fe; }
.tr-swap {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex: none;
  transition: transform .3s ease;
}
.tr-swap.rot { transform: rotate(180deg); }
.tr-swap .icon { width: 18px; height: 18px; }

.tl-wrap { position: relative; padding-left: 42px; }
.tl-wrap::before { content: ''; position: absolute; left: 14px; top: 10px; bottom: 14px; width: 2px; background: var(--line); border-radius: 1px; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 8px; }
.tl-no {
  position: absolute; left: -42px; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg);
}
.tl-title { font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--t1); }
.tl-text { font-size: 13px; color: var(--t2); line-height: 1.7; }
.tl-art {
  margin-top: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
}
.tl-art-ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.tl-art-ic .icon { width: 20px; height: 20px; }
.tl-art-tx { font-size: 12px; color: var(--t2); line-height: 1.6; }
.pay-amount { font-size: 34px; font-weight: 800; color: var(--blue); margin: 6px 0 4px; }
.pay-amount small { font-size: 14px; font-weight: 400; color: var(--t2); }
.pay-count { color: var(--t2); font-size: 13px; margin: 10px 0; }
.pay-count b { color: var(--err); font-variant-numeric: tabular-nums; }
.pay-status { background: #eef4fe; color: var(--blue-d); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; }

.cs-page-head { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.cs-page-head .cs-head-ic .icon { width: 24px; height: 24px; }
.msg-card { background: #eef4fe; border: 1px solid #cfe0fb; border-radius: 8px; padding: 10px; font-size: 13px; }
.cs-time { font-size: 10px; color: var(--t2); margin-bottom: 2px; }
.cs-row.me .cs-time { text-align: right; }

.top-ic { position: relative; color: var(--t2); display: inline-flex; }
.top-ic .icon { width: 20px; height: 20px; }
.top-ic.has-dot::after {
  content: ''; position: absolute; top: -2px; right: -4px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--err); border: 1.5px solid #fff;
}

.pf-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.pf-top { display: flex; align-items: center; gap: 12px; }
.pf-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.pf-amount { margin-top: 4px; }
.pf-amount span {
  font-size: 26px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums;
}
.pf-amount small { color: var(--t2); font-size: 12px; }
.pf-amount .flash { animation: flashAmt .6s ease; }
@keyframes flashAmt { 0% { color: var(--ok); } 100% { color: var(--blue); } }

.pf-count { font-size: 11px; color: var(--t2); font-weight: 400; margin-left: 6px; }
.pf-list { margin: 0 -4px; }
.pf-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 4px;
  border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s;
}
.pf-row:last-child { border-bottom: none; }
.pf-row:active { background: var(--bg2); }
.pfr-main { flex: 1; min-width: 0; }
.pfr-name { font-size: 14px; font-weight: 600; color: var(--t1); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pfr-sub { font-size: 11px; color: var(--t2); margin-top: 3px; display: flex; align-items: center; gap: 3px; }
.pfr-sub .icon { width: 12px; height: 12px; }
.pfr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.pfr-amt { font-size: 19px; font-weight: 800; color: var(--t1); font-variant-numeric: tabular-nums; line-height: 1.1; }
.pfr-amt .pfr-num { font-variant-numeric: tabular-nums; }
.pfr-amt small { font-size: 11px; color: var(--t2); font-weight: 400; }
.pfr-amt.flash .pfr-num { animation: amtGlow .7s ease; }
@keyframes amtGlow { 0% { color: var(--ok); transform: scale(1.06); } 100% { color: var(--t1); transform: scale(1); } }
.pfr-rate { font-size: 11px; color: var(--ok); font-weight: 600; }
.btn-take { background: var(--blue); color: #fff; border: none; border-radius: 18px; padding: 7px 18px; font-weight: 600; }
.btn-take:active { opacity: .85; }
.btn-take-lock { background: var(--card); color: var(--t2); border: 1px solid var(--line); font-weight: 400; }

.live-feed {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px; margin-bottom: 8px;
  background: rgba(46, 179, 68, .07); border: 1px solid rgba(46, 179, 68, .18); border-radius: 8px;
}
.lf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; animation: lfBreath 1.6s ease-in-out infinite; }
@keyframes lfBreath { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.lf-text { font-size: 11.5px; color: var(--t2); transition: opacity .24s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-text.lf-fade { opacity: 0; }

.ann-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 4px;
  border-bottom: 1px solid var(--line); cursor: pointer; position: relative; padding-left: 12px;
}
.ann-row:last-of-type { border-bottom: none; }
.ann-row::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 2px; background: var(--blue); opacity: .85;
}
.ann-row:active { background: var(--bg2); }
.ann-main { flex: 1; min-width: 0; }
.ann-title { font-size: 14px; color: var(--t1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; position: relative; }
.flow-step .cdot { margin-top: 2px; opacity: .35; }
.flow-step.done .cdot { opacity: 1; }
.flow-step.cur .cdot { opacity: 1; outline: 3px solid #d6e7ff; border-radius: 50%; }
.flow-step:not(:last-child)::before {
  content: ''; position: absolute; left: 8px; top: 34px; bottom: -8px; width: 2px; background: var(--line);
}
.flow-step.cur b { color: var(--blue); }

.faq-item { border-bottom: 1px dashed var(--line); }
.faq-item:last-of-type { border-bottom: 0; }
.faq-q { display: flex; align-items: center; gap: 8px; padding: 11px 0; font-size: 14px; cursor: pointer; font-weight: 600; }
.faq-q .icon { width: 16px; height: 16px; color: var(--blue); transition: transform .15s; }
.faq-a { padding: 0 4px 12px 26px; color: var(--t2); font-size: 13px; }

.sys-msg {
  align-self: center; text-align: center; color: var(--t2); font-size: 12px;
  background: var(--bg); border-radius: 14px; padding: 5px 14px; max-width: 90%;
}
.rate-row { display: flex; gap: 6px; margin-bottom: 12px; }
.rate-star { border: 0; background: none; padding: 4px; }
.rate-star .icon { width: 28px; height: 28px; fill: #dfe5ec; stroke: none; }
.rate-star.on .icon { fill: var(--warn); }


.sort-row { display: flex; gap: 8px; margin-bottom: 12px; }
.sort-row button { flex: 1; border: 1px solid var(--line); background: var(--card); color: var(--t2); border-radius: 8px; padding: 8px 0; font-size: 12.5px; cursor: pointer; }
.sort-row button.active { border-color: var(--blue); color: var(--blue); background: rgba(26,115,232,.06); font-weight: 600; }
.cs-panel {
  position: fixed; right: 12px; bottom: calc(var(--tabbar-h) + var(--sab) + 78px); z-index: 60;
  width: min(360px, calc(100vw - 24px)); height: min(480px, 70vh);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 34px rgba(21,88,176,.25);
  display: flex; flex-direction: column; overflow: hidden;
}
.cs-head { background: var(--blue); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.cs-head-ic .icon { width: 22px; height: 22px; }
.cs-head-txt { flex: 1; line-height: 1.3; }
.cs-head-txt small { opacity: .85; font-size: 11px; }
.cs-close { background: none; border: 0; color: #fff; }
.cs-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.cs-row { display: flex; gap: 8px; }
.cs-row.me { flex-direction: row-reverse; }
.cs-bubble { max-width: 76%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 14px; word-break: break-word; }
.cs-row.me .cs-bubble { background: var(--blue); color: #fff; border-color: var(--blue); }
.cs-bubble img { max-width: 180px; border-radius: 6px; display: block; }
.cs-time { font-size: 10px; color: var(--t2); align-self: flex-end; }
.cs-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: center; }
.cs-attach { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--t2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.cs-input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 38px; outline: none; }
.cs-input:focus { border-color: var(--blue); }
.cs-send { width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.cs-send .icon { width: 18px; height: 18px; }
.cs-offline { text-align: center; color: var(--t2); font-size: 12px; padding: 8px; }

body.chat-page .view { padding-top: 0; padding-bottom: 0; overflow: hidden; }
body.subpage.chat-page .gc-page { bottom: 0; } 
.gc-page {
  position: fixed; left: 0; right: 0; top: 0;
  bottom: calc(var(--tabbar-h) + var(--sab));
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column;
  background: var(--bg); z-index: 1;
}
.gc-head {
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  background: var(--card); border-bottom: 1px solid var(--line); flex: none;
}
.gc-back { color: var(--t2); display: inline-flex; cursor: pointer; flex: none; }
.gc-back .chev { transform: rotate(180deg); }
.gc-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: none; background: var(--card); border: 1px solid var(--line); }
.gc-title { flex: 1; min-width: 0; line-height: 1.3; }
.gc-title b { font-size: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-title span { font-size: 11.5px; color: var(--t2); }
.gc-list { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.gc-tip { align-self: center; text-align: center; color: var(--t2); font-size: 11.5px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 5px 14px; max-width: 88%; line-height: 1.6; }
.gc-foot { display: flex; gap: 8px; align-items: center; padding: 9px 12px; background: var(--card); border-top: 1px solid var(--line); flex: none; }
.gc-input-off { flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: 9px 14px; min-height: 38px; background: var(--bg); color: var(--t2); font-size: 13.5px; display: flex; align-items: center; }
.gc-mute { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 12.5px; flex: none; }
.gc-mute .icon { width: 16px; height: 16px; }
.gc-ava { background: var(--card); border: 1px solid var(--line); }
.cs-logo { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.16); padding: 4px; object-fit: contain; flex: none; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 80;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  animation: maskIn .25s ease;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border-radius: 12px; width: 100%; max-width: 420px; max-height: 84vh;
  overflow-y: auto; padding: 20px;
  animation: popIn .3s cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.pv { text-align: center; animation: popIn .35s cubic-bezier(.34, 1.4, .64, 1); }
.pv-logo { width: 64px; height: 64px; object-fit: contain; margin: 4px auto 10px; display: block; animation: logoIn .5s ease; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-6deg); } to { opacity: 1; transform: none; } }
.pv-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pv-kyc { font-size: 12.5px; color: var(--t2); line-height: 1.75; text-align: justify; background: var(--bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.pv-sent { font-size: 14px; color: var(--t2); margin-bottom: 12px; }
.pv-sent b { color: var(--t1); font-size: 16px; letter-spacing: 1px; }
.pv-err { font-size: 13px; color: var(--err); background: rgba(234, 67, 53, .08); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; animation: fadeIn .3s ease; }
.pv-field { margin-bottom: 12px; text-align: left; }
.pv-field label { display: block; font-size: 13px; color: var(--t2); margin-bottom: 6px; }
.pv-field input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font-size: 16px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pv-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 115, 232, .12); }
.pv-code { text-align: center; letter-spacing: 8px; font-size: 20px !important; font-weight: 700; }
.pv-code.shake { animation: shakeX .4s ease; border-color: var(--err) !important; }
@keyframes shakeX { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.pv-btn { margin-bottom: 10px; }
.pv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 8px; }
.pv-link { background: none; border: none; color: var(--blue); font-size: 13px; padding: 6px 2px; }
.pv-link:disabled { color: var(--t2); cursor: not-allowed; }
.pv-link-warn { color: var(--err); }
.pv-hint { font-size: 12px; color: var(--t2); }
.pv-safe { font-size: 12px; color: var(--t2); margin-top: 4px; }
.pv-safe .icon { width: 14px; height: 14px; vertical-align: -2px; color: var(--ok); }
.pv-clock { margin: 6px auto 10px; }
.pv-clock .icon { width: 46px; height: 46px; color: var(--warn); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .75; } }
.pv-guide { text-align: left; margin-bottom: 12px; }

#pvOv { position: fixed; inset: 0; z-index: 200; background: linear-gradient(165deg,#ffffff 0%,#f5f8ff 45%,#e9f1fc 100%); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.pv-full { position: relative; z-index: 1; width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; animation: popIn .35s cubic-bezier(.34,1.4,.64,1); }
.pv-skip { position: absolute; top: 18px; right: 18px; border: 1px solid rgba(21,88,176,.16); background: rgba(255,255,255,.72); color: var(--t2); font-size: 12px; cursor: pointer; padding: 6px 14px; border-radius: 999px; }
.pv-flogo { margin-bottom: 26px; animation: gwFu .8s cubic-bezier(.22,.61,.36,1) both; }
.pv-flogo img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(21,88,176,.2)); }
.pv-fbody { width: 100%; text-align: center; }
.pv-fspinner { width: 46px; height: 46px; margin: 18px auto 8px; border-radius: 50%; border: 4px solid #cfe0fb; border-top-color: var(--blue); animation: spin .8s linear infinite; }
.pv-pass { margin: 6px auto 10px; }
.pv-pass .icon { width: 56px; height: 56px; color: var(--ok); animation: pvPop .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes pvPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pv-detail { background: var(--bg); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--t2); text-align: left; margin-bottom: 14px; }
.pv-detail div { padding: 2px 0; }
#pvOv.frost { inset: 0 0 calc(var(--tabbar-h) + var(--sab)) 0; z-index: 38; background: rgba(245, 248, 253, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
#pvOv.frost .pv-skip { display: none; }
#pvOv.frost .pv-flogo { margin-bottom: 14px; }
#pvOv.frost .pv-kyc { background: none; padding: 0; color: var(--t1); }
#pvOv.frost .pv-full { padding: 0; max-width: 400px; }

.pv-scroll { width: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pv-full { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } 
.kyc-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px;
  border: 1px solid rgba(26, 115, 232, .28); background: linear-gradient(135deg, #eef4fe, #f8fbff);
  color: var(--blue); font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 14px;
}
.kyc-badge-ok { border-color: rgba(52, 168, 83, .35); background: linear-gradient(135deg, #ebf7ee, #f6fcf8); color: var(--ok); }
.kyc-sub { font-size: 12px; color: var(--t2); margin: -4px 0 14px; }
.kyc-steps { display: flex; align-items: flex-start; justify-content: center; width: 100%; margin-bottom: 16px; }
.kyc-step { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; }
.kyc-step i {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  color: var(--t2); font-size: 12px; font-style: normal; font-weight: 600;
  display: flex; align-items: center; justify-content: center; transition: all .3s ease;
}
.kyc-step span { font-size: 10.5px; color: var(--t2); }
.kyc-step.on i { border-color: transparent; background: linear-gradient(135deg, var(--blue), #4a90f5); color: #fff; box-shadow: 0 4px 10px rgba(26, 115, 232, .28); }
.kyc-step.on span { color: var(--blue); font-weight: 600; }
.kyc-line { width: 30px; height: 1.5px; background: var(--line); margin-top: 13px; flex: none; }
.kyc-scroll { max-height: 32vh; min-height: 120px; text-align: left; padding-right: 2px; }
.kyc-doc {
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(21, 88, 176, .09);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.kyc-doc-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.kyc-doc-h .icon { width: 14px; height: 14px; flex: none; }
.kyc-doc p { font-size: 11.5px; color: var(--t2); line-height: 1.7; text-align: justify; }
.kyc-foot-note { font-size: 10.5px; color: #a8b3c5; line-height: 1.6; margin: 2px 0 4px; }
.kyc-brief {
  width: 100%; text-align: left; background: rgba(255, 255, 255, .82); border: 1px solid rgba(21, 88, 176, .09);
  border-radius: 10px; padding: 11px 12px; margin-bottom: 16px;
}
.kyc-brief p { font-size: 11.5px; color: var(--t2); line-height: 1.7; text-align: justify; }
.kyc-doc-link { display: flex; align-items: center; gap: 5px; margin-top: 7px; background: none; border: 0; color: var(--blue); font-size: 12.5px; font-weight: 600; padding: 2px 0; }
.kyc-doc-link .icon { width: 14px; height: 14px; }
.kyc-doc-modal { text-align: left; }
.kyc-fields { width: 100%; text-align: left; margin-bottom: 12px; }
.kyc-field {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kyc-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 115, 232, .1); }
.kf-ico {
  width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #eef4fe, #e2edfd);
  color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none;
}
.kf-ico .icon { width: 18px; height: 18px; }
.kf-main { flex: 1; min-width: 0; }
.kf-main label { display: block; font-size: 11px; color: var(--t2); margin-bottom: 1px; }
.kf-main input { width: 100%; border: 0; outline: 0; background: none; font-size: 15px; font-weight: 600; color: var(--t1); padding: 2px 0; letter-spacing: .3px; }
.kf-main input::placeholder { color: #b9c2cf; font-weight: 400; }
.kyc-safe-list {
  width: 100%; text-align: left; background: rgba(52, 168, 83, .06); border: 1px solid rgba(52, 168, 83, .16);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
}
.kyc-safe-list div { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--t2); padding: 2.5px 0; }
.kyc-safe-list .icon { width: 13px; height: 13px; color: var(--ok); flex: none; }

.phone-remind { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(26, 115, 232, .25); background: linear-gradient(135deg, #eef4fe, #f8fbff); }
.phone-remind .pr-ico { width: 38px; height: 38px; border-radius: 50%; background: rgba(26, 115, 232, .1); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.phone-remind .pr-ico .icon { width: 19px; height: 19px; }
.phone-remind .pr-main { flex: 1; min-width: 0; }
.phone-remind .pr-main b { display: block; font-size: 14px; color: var(--t1); }
.phone-remind .pr-main span { font-size: 12px; color: var(--t2); }

.pp-intro { font-size: 13px; color: var(--t2); line-height: 1.8; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; text-align: center; }
.pp-scroll { height: 44vh; overflow-y: auto; text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 12.5px; color: var(--t2); line-height: 1.85; overscroll-behavior: contain; }
.pp-scroll h4 { color: var(--t1); font-size: 13.5px; margin: 12px 0 6px; }
.pp-scroll h4:first-child { margin-top: 0; font-size: 15px; text-align: center; color: var(--blue); }
.pp-scroll p { margin: 6px 0; }
.pp-scroll ul { margin: 4px 0 8px 18px; }
.pp-scroll li { margin: 3px 0; }
.pp-scroll .pp-date { color: var(--t2); font-size: 11.5px; margin-bottom: 10px; text-align: center; }
.pp-btns { display: flex; gap: 10px; margin-top: 12px; }
.modal h3 { margin-bottom: 14px; font-size: 16px; }

.mkt-global { display: flex; gap: 10px; }
.mkg-item { flex: 1; text-align: center; background: var(--bg); border-radius: 10px; padding: 10px 6px; }
.mkg-item span { display: block; font-size: 11.5px; color: var(--t2); margin-bottom: 4px; }
.mkg-item b { font-size: 14px; color: var(--t1); }
.mkt-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mkt-row:last-child { border-bottom: 0; }
.coin-ico { width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #eef4ff; color: var(--blue); font-size: 11px; font-weight: 700; overflow: hidden; }
.coin-ico img { width: 100%; height: 100%; object-fit: cover; }
.coin-ico-txt { letter-spacing: .5px; }
.mkt-main { flex: 1; min-width: 0; }
.mkt-name { font-weight: 700; font-size: 15px; color: var(--t1); }
.mkt-name small { color: var(--t2); font-weight: 400; font-size: 12px; }
.mkt-sub { font-size: 12px; color: var(--t2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkt-price { text-align: right; }
.mkt-price b { display: block; font-size: 15px; color: var(--t1); }
.mkt-chg { font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; display: inline-block; margin-top: 3px; }
.mkt-chg.up { color: var(--ok); background: rgba(52,168,83,.1); }
.mkt-chg.down { color: var(--err); background: rgba(234,67,53,.09); }
.mkt-src { text-align: center; margin-top: 10px; font-size: 11.5px; }
.coin-head-top { display: flex; align-items: center; gap: 14px; }
.coin-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.coin-name { font-size: 18px; font-weight: 800; color: var(--t1); }
.coin-name small { color: var(--t2); font-weight: 400; font-size: 13px; }
.coin-price { font-size: 24px; font-weight: 800; margin-top: 4px; color: var(--t1); display: flex; align-items: center; gap: 8px; }
.coin-price .mkt-chg { font-size: 13px; margin-top: 0; }
.coin-chg-row { display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--t2); flex-wrap: wrap; }
.coin-chg-row b { color: var(--t1); }
.k-interval { display: flex; gap: 6px; margin-bottom: 10px; }
.k-interval button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: var(--t2); }
.k-interval button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
#kCanvas, #c30Canvas { display: block; }
.coin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.coin-stats .kv { font-size: 13px; }
.coin-desc { font-size: 13px; color: var(--t2); line-height: 1.8; }
.coin-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.coin-tags span { font-size: 11.5px; background: #eef4ff; color: var(--blue); border-radius: 6px; padding: 3px 9px; }
.coin-links { display: flex; gap: 14px; margin-top: 12px; }

.tabbar { overflow: visible; }
.tab-item { overflow: visible; }
.tab-spacer { width: 76px; flex: none; }
.tab-fab {
  position: absolute; left: 50%; top: -26px; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8, #3d8bff);
  border: 4px solid #fff; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(26, 115, 232, .25), 0 12px 26px rgba(26, 115, 232, .38);
}
.tab-fab .icon { width: 24px; height: 24px; }
.tab-fab span { font-size: 10px; font-weight: 700; line-height: 1; margin-top: 1px; }
.tab-fab.active { box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(26, 115, 232, .32), 0 12px 26px rgba(26, 115, 232, .4); }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--sab) + 24px); transform: translateX(-50%);
  background: rgba(17,24,39,.85); color: #fff; font-size: 14px; border-radius: 8px; padding: 10px 18px;
  z-index: 100; max-width: 80vw; text-align: center;
}
.toast.ok { background: rgba(52,168,83,.95); }
.toast.err { background: rgba(234,67,53,.95); }


.auth-wrap { width:100%; min-height:100vh; min-height:100dvh; display:flex; align-items:stretch; justify-content:center; position:relative; overflow:hidden; background:linear-gradient(180deg,#ffffff 0%,#f4f8fd 100%); }
.auth-orb { position:absolute; border-radius:50%; filter:blur(70px); opacity:.55; pointer-events:none; }
.auth-orb1 { width:480px; height:480px; left:-140px; top:-160px; background:radial-gradient(circle at 35% 35%, #d9e8ff, rgba(217,232,255,0) 70%); animation:gwFloat 11s ease-in-out infinite alternate; }
.auth-orb2 { width:420px; height:420px; right:-120px; bottom:-140px; background:radial-gradient(circle at 65% 65%, #e2f2ff, rgba(226,242,255,0) 70%); animation:gwFloat 13s ease-in-out infinite alternate-reverse; }
.auth-orb3 { width:300px; height:300px; right:18%; top:8%; background:radial-gradient(circle at 50% 50%, #fdf2d7, rgba(253,242,215,0) 70%); animation:gwFloat 15s ease-in-out infinite alternate; }
.auth-brand { flex:1.15; position:relative; display:flex; flex-direction:column; justify-content:center; padding:6vh 5vw; }
.auth-brand-head { display:flex; align-items:center; gap:14px; margin-bottom:26px; }
.auth-brand-logo { height:58px; object-fit:contain; filter:drop-shadow(0 10px 22px rgba(21,88,176,.18)); }
.auth-brand-name { font-size:34px; font-weight:800; letter-spacing:3px; color:var(--t1); }
.auth-slogan { font-size:30px; font-weight:800; line-height:1.5; color:var(--t1); letter-spacing:1px; }
.auth-slogan-en { margin-top:12px; font-size:12.5px; letter-spacing:1.5px; color:var(--t2); text-transform:uppercase; }
.auth-feats { list-style:none; margin:36px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.auth-feats li { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--t2); }
.auth-feats li .icon { width:18px; height:18px; color:var(--blue); flex:none; }
.auth-brand-foot { margin-top:auto; padding-top:44px; font-size:12px; color:#b3bfd1; }
.auth-panel { width:460px; max-width:100%; background:#fff; display:flex; flex-direction:column; justify-content:center; padding:6vh 46px; box-shadow:-24px 0 60px rgba(21,88,176,.05); border-left:1px solid #eef2f8; position:relative; }
.auth-m-brand { display:none; }
.auth-tabs { display:flex; margin-bottom:20px; border-radius:12px; overflow:hidden; border:1px solid #e4eaf3; background:#f6f9fe; }
.auth-tabs button { flex:1; border:0; background:transparent; padding:11px; font-size:15px; color:var(--t2); min-height:46px; font-weight:600; transition:color .25s ease, background .25s ease; }
.auth-tabs button.active { background:linear-gradient(135deg,#1a73e8,#3d8bff); color:#fff; box-shadow:0 6px 16px rgba(26,115,232,.25); }
.auth-panel .field input { border-radius:10px; padding:12px 14px; border:1px solid #dfe6f0; transition:border-color .2s ease, box-shadow .2s ease; }
.auth-panel .field input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,115,232,.12); }
.auth-panel .btn { border:0; background:linear-gradient(135deg,#1a73e8,#3d8bff); box-shadow:0 10px 24px rgba(26,115,232,.28); min-height:48px; font-size:16px; }
.auth-panel .hint { text-align:center; margin-top:14px; }

.auth-brand > *:not(.auth-orb) { opacity:0; animation:authFu .7s cubic-bezier(.22,.61,.36,1) forwards; }
.auth-brand > *:nth-child(4) { animation-delay:.05s; }
.auth-brand > *:nth-child(5) { animation-delay:.18s; }
.auth-brand > *:nth-child(6) { animation-delay:.3s; }
.auth-brand > *:nth-child(7) { animation-delay:.42s; }
.auth-brand > *:nth-child(8) { animation-delay:.54s; }
.auth-panel > * { opacity:0; animation:authFu .7s cubic-bezier(.22,.61,.36,1) forwards; }
.auth-panel > *:nth-child(1) { animation-delay:.05s; }
.auth-panel > *:nth-child(2) { animation-delay:.17s; }
.auth-panel > *:nth-child(3) { animation-delay:.29s; }
.auth-panel > *:nth-child(4) { animation-delay:.41s; }
@keyframes authFu { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@media (max-width:959px) {
  .auth-wrap { flex-direction:column; }
  .auth-wrap::after { content:''; position:absolute; left:50%; bottom:-140px; transform:translateX(-50%); width:460px; height:460px; border-radius:50%; background:radial-gradient(circle at 50% 50%, #e0eeff, rgba(224,238,255,0) 70%); filter:blur(55px); pointer-events:none; }
  .auth-brand { flex:none; padding:5vh 24px 20px; align-items:center; text-align:center; }
  .auth-brand::after { content:''; display:block; width:100%; max-width:430px; height:1px; margin-top:20px; background:linear-gradient(90deg,rgba(21,88,176,0),#d8e4f6 25%,#d8e4f6 75%,rgba(21,88,176,0)); }
  .auth-brand-head { justify-content:center; margin-bottom:10px; }
  .auth-brand-logo { height:38px; }
  .auth-brand-name { font-size:21px; letter-spacing:2px; }
  .auth-slogan { font-size:17px; }
  .auth-slogan br { display:none; }
  .auth-slogan-en { display:none; }
  .auth-feats { margin-top:14px; flex-direction:row; flex-wrap:wrap; justify-content:center; gap:6px 14px; }
  .auth-feats li { font-size:11.5px; gap:5px; }
  .auth-feats li .icon { width:14px; height:14px; }
  .auth-brand-foot { display:none; }
  .auth-m-brand { display:none; }
  .auth-panel { position:relative; z-index:1; width:auto; margin:16px 16px 6vh; border-radius:20px; background:rgba(255,255,255,.78); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.65); box-shadow:0 18px 50px rgba(21,88,176,.12); padding:28px 22px 32px; }
}
.invite-banner { background: #eef4fe; color: var(--blue-d); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.tbl th { background: var(--bg); color: var(--t2); font-weight: 600; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.tbl tr:nth-child(even) td { background: #fafbfc; }

.empty { text-align: center; color: var(--t2); font-size: 13px; padding: 34px 0; }
.section-gap { height: 6px; }

@media (min-width: 768px) {
  body { display: flex; }
  .sidebar {
    display: flex; flex-direction: column; width: 216px; flex: none;
    background: var(--card); border-right: 1px solid var(--line);
    position: sticky; top: 0; height: 100vh; overflow-y: auto; 
    padding: 18px 12px;
  }
  .side-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--blue); font-size: 16px; padding: 4px 10px 18px; letter-spacing: .5px; }
  .side-brand .brand-dot { width: 12px; height: 12px; }
  .side-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius);
    color: #888; text-decoration: none; font-size: 15px; margin-bottom: 4px; border: 0; background: none; text-align: left;
  }
  .side-item:hover { background: var(--bg); color: var(--t1); }
  .side-item.active { background: #eef4fe; color: var(--blue); font-weight: 600; }
  .side-foot { margin-top: auto; font-size: 12px; color: var(--t2); padding: 10px; line-height: 1.8; }
  .tabbar { display: none; }
  .app { flex: 1; min-width: 0; }
  .view { padding-bottom: 90px; }
  .cs-panel { bottom: 86px; }
}

body.auth-mode .sidebar,
body.auth-mode .tabbar { display: none !important; }
body.auth-mode { position: fixed; inset: 0; width: 100%; background: #fff; overflow: hidden; overscroll-behavior: none; }
body.auth-mode .app { max-width: none; height: 100%; }
body.auth-mode .view { padding: 0; max-width: none; width: 100%; height: 100%; overflow-y: auto; overscroll-behavior: none; -webkit-overflow-scrolling: touch; }

body.subpage .tabbar { display: none !important; }
body.subpage .view { padding-bottom: 24px; }



.pf-ico-sm { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: none; background: var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--t2); }
.pf-ico-sm img { width: 100%; height: 100%; object-fit: cover; }
.pf-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--t2); }
.pf-stats b { color: var(--t1); }

.pd-today-wrap { margin-top: 14px; }
.pd-today-num { font-size: 34px; font-weight: 800; color: var(--t1); font-variant-numeric: tabular-nums; line-height: 1.15; margin-top: 2px; }
.pd-trend { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; color: var(--ok); background: rgba(46,179,68,.09); border-radius: 12px; padding: 3px 10px; }
.pd-trend .icon { width: 13px; height: 13px; }

.pd-hero { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; border-radius: 16px; padding: 20px 16px; text-align: center; margin-bottom: 12px; }
.pd-head { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; flex-wrap: wrap; }
.pd-head img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.pd-cap { font-size: 12px; opacity: .85; margin-top: 14px; letter-spacing: .5px; }
.pd-today { font-size: 32px; font-weight: 800; line-height: 1.3; }
.pd-sub { font-size: 12px; opacity: .8; }
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.pd-grid b { font-size: 16px; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(22,139,255,.08); border: 1px solid rgba(22,139,255,.25); color: var(--blue); border-radius: 999px; padding: 5px 12px; font-size: 12px; }
.cert-badge small { color: var(--t2); }

.profile-hero { background: linear-gradient(135deg, var(--blue), var(--blue-d)); border-radius: 16px; padding: 18px 16px; color: #fff; margin-bottom: 12px; }
.ph-top { display: flex; align-items: center; gap: 12px; }
.ph-main { flex: 1; }
.ph-name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ph-id { font-size: 12px; opacity: .85; margin-top: 2px; }
.ph-lang { color: #fff; opacity: .8; }
.ph-balance { margin-top: 14px; }
.ph-balance small { font-size: 11px; opacity: .85; letter-spacing: .5px; }
.ph-num { font-size: 30px; font-weight: 800; line-height: 1.25; }
.ph-balance .chip { background: rgba(255,255,255,.18); border-radius: 999px; padding: 2px 10px; font-size: 12px; display: inline-block; margin-top: 6px; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.g-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; background: var(--card, rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 12px; padding: 13px 4px 11px; text-decoration: none; color: var(--t1); }
.g-ic { color: var(--blue); }
.g-label { font-size: 11px; color: var(--t2); text-align: center; }
.g-badge { position: absolute; top: 5px; right: 6px; background: var(--err); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 5px; }
.big-apply-banner { display: flex; align-items: center; gap: 8px; background: rgba(255,212,90,.1); border: 1px solid rgba(233,167,45,.45); color: #8a6a12; border-radius: 12px; padding: 11px 14px; margin-bottom: 12px; text-decoration: none; font-weight: 600; font-size: 13px; }
.big-apply-banner .chev { margin-left: auto; }
.logout-card { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: rgba(220,53,69,.08); border: 1px solid rgba(220,53,69,.35); color: var(--err); border-radius: 12px; padding: 13px; font-size: 14px; font-weight: 600; cursor: pointer; margin-bottom: 12px; }

.ph-v2 { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 70%, #0d3a75 100%); border-radius: 16px; padding: 18px 16px 16px; position: relative; overflow: hidden; }
.ph-v2::before, .ph-v2::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.ph-v2::before { width: 150px; height: 150px; right: -40px; top: -50px; }
.ph-v2::after { width: 90px; height: 90px; right: 70px; bottom: -40px; }
.ph-v2 .ph-top { position: relative; z-index: 1; }
.ph-eye { background: rgba(255,255,255,.14); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ph-eye .icon { width: 16px; height: 16px; }
.ph-copy { display: inline-flex; align-items: center; opacity: .75; cursor: pointer; margin-left: 4px; vertical-align: -2px; }
.ph-copy .icon { width: 13px; height: 13px; }
.ph-quick { position: relative; z-index: 1; display: flex; gap: 9px; margin-top: 14px; }
.ph-quick a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 12px; padding: 11px 4px 9px; font-size: 12px; font-weight: 600; text-decoration: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ph-quick a .icon { width: 18px; height: 18px; }
.ph-quick a:active { background: rgba(255,255,255,.22); }

.sec-card { padding: 4px 14px 6px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 10px; }
.sec-head b { font-size: 13.5px; color: var(--t1); }
.sec-bar { flex: 1; max-width: 130px; height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.sec-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #4d9fff); transition: width .5s ease; }
.sec-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.sec-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sec-dot.ok { background: var(--ok); border-color: var(--ok); }
.sec-dot .icon { width: 12px; height: 12px; }
.sec-main { flex: 1; min-width: 0; }
.sec-main b { display: block; font-size: 14px; color: var(--t1); }
.sec-main span { font-size: 12px; color: var(--t2); }

.lg-group { background: var(--card, rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.lg-title { font-size: 12px; color: var(--t2); padding: 12px 14px 2px; }
.lg-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; text-decoration: none; color: var(--t1); }
.lg-row + .lg-row { border-top: 1px solid var(--line); }
.lg-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(26,115,232,.08); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lg-ic .icon { width: 18px; height: 18px; }
.lg-main { flex: 1; font-size: 14.5px; font-weight: 600; min-width: 0; }
.lg-badge { background: var(--err); color: #fff; border-radius: 999px; font-size: 10.5px; padding: 2px 8px; font-weight: 600; flex: none; }
.lg-chev { color: var(--t2); flex: none; }

.inv-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, #fdf8e9 0%, #f9eecb 45%, #f4dc93 100%); border: 1px solid rgba(233,167,45,.5); color: #7a5a0c; border-radius: 14px; padding: 13px 15px; margin-bottom: 12px; text-decoration: none; }
.inv-banner::before, .inv-banner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); filter: blur(2px); pointer-events: none; }
.inv-banner::before { width: 74px; height: 74px; right: 60px; top: -30px; }
.inv-banner::after { width: 44px; height: 44px; right: -12px; bottom: -18px; }
.inv-ic { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #f7cf62, #e9a72d); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 2px 8px rgba(233,167,45,.35); }
.inv-ic .icon { width: 19px; height: 19px; }
.inv-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.inv-main b { display: block; font-size: 14.5px; }
.inv-main span { font-size: 11.5px; opacity: .8; }
.inv-count { font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; flex: none; position: relative; z-index: 1; }
.inv-count .chev { width: 14px; height: 14px; }

.ref-hero { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px 16px; margin-bottom: 12px; text-align: center; }
.rh-title { font-size: 20px; font-weight: 800; color: var(--t1); }
.rh-sub { font-size: 12.5px; color: var(--t2); margin-top: 6px; }
.rh-rates { display: flex; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.rh-rates > div { flex: 1; }
.rh-rates > div + div { border-left: 1px solid var(--line); }
.rh-rates b { display: block; font-size: 18px; font-weight: 800; color: var(--blue); }
.rh-rates span { display: block; font-size: 11px; color: var(--t2); margin-top: 2px; }
.rs-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.rs-row:last-of-type { border-bottom: none; }
.rs-label { font-size: 12.5px; color: var(--t2); flex: none; }
.rs-code { font-size: 19px; font-weight: 800; letter-spacing: 3px; color: var(--t1); flex: 1; }
.rs-linktext { flex: 1; min-width: 0; font-size: 12px; color: var(--t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
.rs-copy { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--blue); flex: none; }
.rs-copy .icon { width: 13px; height: 13px; }
.rs-social { display: flex; justify-content: space-around; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rs-ico { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: none; font-size: 11px; color: var(--t2); padding: 0; }
.rs-ico svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--bg); box-sizing: border-box; }
.rs-ico:active svg { background: var(--line); }
.ref-cta { background: #fcd535; border-color: #fcd535; color: #1e2026; font-weight: 700; margin-top: 2px; }
.ref-cta:active { background: #f0c81e; }
.pf-anim > * { animation: pfIn .45s ease backwards; }
.pf-anim > *:nth-child(1) { animation-delay: .03s; }
.pf-anim > *:nth-child(2) { animation-delay: .08s; }
.pf-anim > *:nth-child(3) { animation-delay: .13s; }
.pf-anim > *:nth-child(4) { animation-delay: .18s; }
.pf-anim > *:nth-child(5) { animation-delay: .23s; }
.pf-anim > *:nth-child(6) { animation-delay: .28s; }
.pf-anim > *:nth-child(7) { animation-delay: .33s; }
.pf-anim > *:nth-child(8) { animation-delay: .38s; }
@keyframes pfIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }


.ch-row { display: flex; gap: 8px; }
.ch-row .ch-item { flex: 1; min-width: 0; }
.ch-item.ch-locked { opacity: .55; }


.lv-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; background: rgba(255,255,255,.03); }
.lv-enter { animation: lvIn .35s ease; }
@keyframes lvIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.lv-top { display: flex; align-items: center; gap: 10px; }
.lv-ava { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.lv-main { flex: 1; min-width: 0; }
.lv-name { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lv-sub { font-size: 11px; color: var(--t2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-amt { text-align: right; color: var(--ok); font-weight: 800; }
.lv-amt small { display: block; font-size: 10px; color: var(--t2); font-weight: 400; }
.lv-flow { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.lv-node { width: 26px; height: 26px; border-radius: 50%; background: var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--t2); flex: none; }
.lv-track { flex: 1; position: relative; height: 18px; border-bottom: 1px dashed var(--line); }
.lv-coin { position: absolute; top: -3px; left: 0; color: #FFD45A; }
.lv-coin.to-merchant { animation: lvFlyR 2.2s ease-in-out infinite alternate; }
.lv-coin.to-bot { animation: lvFlyL 2.2s ease-in-out infinite alternate; }
.lv-coin svg { animation: lvSpin 1.1s linear infinite; }
@keyframes lvFlyR { from { left: 0; } to { left: calc(100% - 20px); } }
@keyframes lvFlyL { from { left: calc(100% - 20px); } to { left: 0; } }
@keyframes lvSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.lv-state { margin-left: auto; flex: none; }
.lv-repay { margin-top: 8px; font-size: 12px; color: var(--t2); }
.lv-repay b { color: var(--t1); }


.tip-marquee { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.tip-marquee > svg { flex: none; }
.mq-viewport { flex: 1; overflow: hidden; white-space: nowrap; }
.mq-track { display: inline-flex; white-space: nowrap; animation: mqScroll 26s linear infinite; will-change: transform; }
.mq-track span { padding-right: 70px; }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tip-marquee {
  display: flex !important; flex-wrap: nowrap; align-items: center; gap: 6px;
  padding: 4px 10px; font-size: 11px; line-height: 1.4;
  background: #fff8e6; border: 1px solid #f5e3ad; border-radius: 8px; margin-bottom: 10px;
}
.tip-marquee > svg { width: 13px; height: 13px; flex: 0 0 auto; color: #b8860b; }
.tip-marquee .mq-viewport { font-size: 11px; line-height: 1.5; color: #7a6330; }
.tip-marquee .mq-track span { font-size: 11px; }

.tip-marquee .mq-track span.mq-item { display: inline-flex; align-items: center; gap: 6px; }
.tip-marquee .mq-track svg { width: 14px; height: 14px; flex: none; }


.dep-match { text-align: center; padding: 70px 16px; }
.dep-match .dm-spin { width: 44px; height: 44px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; margin: 0 auto 16px; animation: dmSpin 1s linear infinite; }
.dep-match .dm-t { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
@keyframes dmSpin { to { transform: rotate(360deg); } }

.flow-fab { position: fixed; right: 18px; bottom: 96px; z-index: 58; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; box-shadow: 0 6px 18px rgba(20,109,229,.4); cursor: pointer; display: flex; align-items: center; gap: 6px; animation: ffPulse 2.2s infinite; }
.flow-fab.hidden { display: none; }
.ff-dot { width: 7px; height: 7px; border-radius: 50%; background: #55e6a5; animation: ffBlink 1.2s infinite; }
@keyframes ffPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ffBlink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }


.od-hero { text-align: center; padding: 22px 16px 18px; }
.od-amount { font-size: 34px; font-weight: 800; color: var(--t1); line-height: 1.2; }
.od-amount small { font-size: 14px; font-weight: 600; margin-left: 6px; color: var(--t2); }
.od-st { margin-top: 8px; }

.dp-hero { text-align: center; padding: 20px 16px 16px; border-radius: 14px; background: linear-gradient(160deg, #eaf2ff, #f8fbff 55%, #ffffff); border: 1px solid #e2ecfb; margin: 6px 0 4px; }
.dp-hero-label { font-size: 12.5px; color: var(--t2); margin-bottom: 2px; }

.tf-hero { text-align: center; padding: 24px 18px 20px; border-radius: 14px; background: linear-gradient(160deg, #eaf2ff, #f8fbff 55%, #ffffff); border: 1px solid #e2ecfb; margin: 6px 0 8px; }
.tf-hero-ic { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; animation: tfPulse 2s ease-in-out infinite; }
.tf-hero-ic .icon { width: 26px; height: 26px; }
.tf-hero.ok .tf-hero-ic { background: var(--ok); }
.tf-hero.warn .tf-hero-ic { background: #f0a020; }
.tf-hero.err .tf-hero-ic { background: var(--err); animation: none; }
.tf-hero-status { font-size: 21px; font-weight: 800; color: var(--t1); letter-spacing: .5px; }
.tf-hero-desc { font-size: 13px; color: var(--t2); line-height: 1.7; margin: 8px auto 0; max-width: 300px; }
.tf-hero .pay-count { margin: 10px 0 0; }
@keyframes tfPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,109,229,.30); } 50% { box-shadow: 0 0 0 10px rgba(20,109,229,.10); } }
.tf-timeline { padding: 4px 2px 0; }
.tl-item { display: flex; align-items: stretch; }
.tl-rail { flex: none; width: 26px; display: flex; flex-direction: column; align-items: center; }
.tl-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg, #fff); color: var(--t2); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.tl-dot .icon { width: 12px; height: 12px; }
.tl-line { flex: 1; width: 2px; min-height: 22px; background: var(--line); border-radius: 1px; }
.tl-body { flex: 1; padding: 1px 0 18px 12px; min-width: 0; }
.tl-item:last-child .tl-body { padding-bottom: 4px; }
.tl-title { font-size: 13.5px; color: var(--t2); line-height: 22px; }
.tl-sub { font-size: 11.5px; color: var(--t2); opacity: .8; margin-top: 2px; }
.tl-item.done .tl-dot { background: var(--t1); border-color: var(--t1); color: #fff; }
.tl-item.done .tl-line { background: var(--t1); }
.tl-item.done .tl-title { color: var(--t1); font-weight: 600; }
.tl-item.cur .tl-dot { border-color: var(--blue); color: var(--blue); animation: tfPulse 1.6s ease-in-out infinite; }
.tl-item.cur .tl-title { color: var(--blue); font-weight: 700; }

.flow-fab { bottom: 136px; }


.banner-swipe { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 12px; aspect-ratio: 8 / 3; background: var(--line); }
.bn-track { display: flex; height: 100%; transition: transform .45s ease; will-change: transform; }
.bn-img { width: 100%; height: 100%; object-fit: cover; flex: none; }
.bn-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.bn-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.bn-dot.on { background: #fff; }


.addr-item { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.addr-txt { flex: 1; font-size: 12px; word-break: break-all; color: var(--t1); }


.wd-addr-list { display: flex; flex-direction: column; gap: 8px; }
.wd-addr { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; cursor: pointer; }
.wd-addr.sel { border-color: var(--blue); background: rgba(26,115,232,.08); }
.wd-addr .addr-txt { flex: 1; font-size: 12px; word-break: break-all; }
.wd-addr svg { color: var(--blue); flex: none; }


.addr-item .st { margin-left: 6px; }


.gw-card { position: relative; width: 100%; max-width: 430px; background: var(--card, #fff); border-radius: 16px; padding: 28px 20px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.gw-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; pointer-events: none; }
.gw-orb1 { width: 460px; height: 460px; left: -140px; top: -160px; background: radial-gradient(circle at 35% 35%, #d9e8ff, rgba(217,232,255,0) 70%); animation: gwFloat 10s ease-in-out infinite alternate; }
.gw-orb2 { width: 420px; height: 420px; right: -130px; bottom: -150px; background: radial-gradient(circle at 65% 65%, #e2f2ff, rgba(226,242,255,0) 70%); animation: gwFloat 12s ease-in-out infinite alternate-reverse; }
.gw-orb3 { width: 280px; height: 280px; right: 16%; top: 6%; background: radial-gradient(circle at 50% 50%, #fdf2d7, rgba(253,242,215,0) 70%); animation: gwFloat 14s ease-in-out infinite alternate; }
@keyframes gwFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(22px,-16px,0) scale(1.07); } }
.gw-skip { position: absolute; top: 14px; right: 16px; z-index: 2; border: 1px solid rgba(21,88,176,.16); background: rgba(255,255,255,.72); color: var(--t2); font-size: 12px; cursor: pointer; padding: 6px 14px; border-radius: 999px; transition: color .2s ease, border-color .2s ease; }
.gw-skip:hover { color: var(--blue); border-color: rgba(21,88,176,.42); }
.gw-logo-wrap { display: flex; justify-content: center; margin-bottom: 24px; animation: gwFu .9s cubic-bezier(.22,.61,.36,1) both; }
.gw-logo { width: 86px; height: 86px; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(21,88,176,.2)); animation: gwBreath 3.6s ease-in-out 1s infinite; }
@keyframes gwBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.gw-body.enter { animation: gwIn .5s cubic-bezier(.22,.61,.36,1); }
.gw-body.leave { animation: gwOut .22s ease forwards; }
@keyframes gwIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes gwOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-24px); } }
.gw-body.enter > * { opacity: 0; animation: gwFu .62s cubic-bezier(.22,.61,.36,1) forwards; }
.gw-body.enter > *:nth-child(1) { animation-delay: .05s; }
.gw-body.enter > *:nth-child(2) { animation-delay: .17s; }
.gw-body.enter > *:nth-child(3) { animation-delay: .29s; }
.gw-body.enter > *:nth-child(4) { animation-delay: .41s; }
.gw-body.enter > *:nth-child(5) { animation-delay: .53s; }
.gw-body.enter > *:nth-child(6) { animation-delay: .65s; }
@keyframes gwFu { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gw-body.enter .gw-flow > * { opacity: 0; animation: gwFu .55s cubic-bezier(.22,.61,.36,1) forwards; }
.gw-body.enter .gw-flow > *:nth-child(1) { animation-delay: .32s; }
.gw-body.enter .gw-flow > *:nth-child(2) { animation-delay: .44s; }
.gw-body.enter .gw-flow > *:nth-child(3) { animation-delay: .56s; }
.gw-body.enter .gw-flow > *:nth-child(4) { animation-delay: .68s; }
.gw-body.enter .gw-flow > *:nth-child(5) { animation-delay: .8s; }
.gw-body.enter .gw-flow > *:nth-child(6) { animation-delay: .92s; }
.gw-big { font-size: 27px; font-weight: 800; text-align: center; color: var(--t1); letter-spacing: .5px; }
.gw-sub { text-align: center; font-size: 15px; color: var(--blue); font-weight: 700; margin-top: 8px; letter-spacing: 2.5px; }
.gw-flow { margin: 18px 0; }
.gf-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.gf-node { width: 34px; height: 34px; border-radius: 50%; background: #eef4ff; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); flex: none; box-shadow: inset 0 0 0 1px rgba(21,88,176,.14); }
.gf-track { flex: 1; position: relative; height: 16px; border-bottom: 2px dashed #d7e3f6; }
.gf-coin { position: absolute; top: -4px; left: 0; color: #FFD45A; animation: gfFly 1.8s ease-in-out infinite alternate; filter: drop-shadow(0 2px 4px rgba(214,158,46,.35)); }
.gf-coin.gf-rev { animation-name: gfFlyR; }
.gf-coin.gf-dbl svg { animation: lvSpin 1.1s linear infinite; }
.gf-coin svg { animation: lvSpin 1.1s linear infinite; }
.gf-lbl { font-size: 12.5px; color: var(--t2); margin: 4px 0 0; }
@keyframes gfFly { from { left: 0; } to { left: calc(100% - 20px); } }
@keyframes gfFlyR { from { left: calc(100% - 20px); } to { left: 0; } }

.gw-full { position: relative; width: 100%; height: 100%; max-width: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 22px 28px; animation: gwFade .5s ease both; }
@keyframes gwFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gw-full .gw-body { width: 100%; max-width: 520px; }
.gw-full .gw-skip { z-index: 2; }

/* ===== 客服红包卡片（微信风格） ===== */
.cs-bubble.rp-bubble { padding: 0; background: transparent; overflow: hidden; }
.rp-msg-card {
  display: flex; align-items: center; gap: 11px; width: 236px; padding: 13px 14px; position: relative; overflow: hidden;
  border-radius: 10px; background: linear-gradient(135deg, #f77f4f 0%, #e2543b 100%); color: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(226, 84, 59, .28); transition: transform .15s ease;
}
.rp-msg-card:active { transform: scale(.97); }
.rp-msg-card::after { content: ''; position: absolute; right: -20px; top: -20px; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.rp-msg-card.opened { background: linear-gradient(135deg, #ef9c6b 0%, #d98a68 100%); cursor: default; }
.rp-msg-icon { width: 34px; height: 34px; color: #ffe3b8; flex: none; }
.rp-msg-icon .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.rp-msg-main { min-width: 0; position: relative; z-index: 1; }
.rp-msg-note { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-msg-sub { font-size: 11px; color: rgba(255,255,255,.88); margin-top: 3px; }

/* ===== 红包开启遮罩 ===== */
.rp-ov {
  position: fixed; inset: 0; z-index: 90; background: rgba(24, 14, 10, .8);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: rpIn .25s ease both;
}
@keyframes rpIn { from { opacity: 0; } to { opacity: 1; } }
.rp-env {
  position: relative; width: 302px; max-width: 88vw; border-radius: 16px; padding: 30px 22px 20px; text-align: center;
  background: linear-gradient(165deg, #e2543b 0%, #c93a2c 100%); color: #fff; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.4); animation: rpPop .32s cubic-bezier(.34,1.4,.5,1) both;
}
@keyframes rpPop { from { transform: scale(.72); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.rp-env::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(90deg, #ffd98f, #f5b04e, #ffd98f); }
.rp-x { position: absolute; top: 15px; right: 12px; width: 28px; height: 28px; border: none; background: rgba(255,255,255,.16); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.rp-x .icon { width: 15px; height: 15px; }
.rp-logo { width: 48px; height: 48px; border-radius: 12px; margin: 8px auto 10px; display: block; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.rp-sender { font-size: 15.5px; font-weight: 700; letter-spacing: .5px; }
.rp-note { font-size: 12.5px; color: rgba(255,255,255,.85); margin-top: 5px; }
.rp-open-btn {
  margin: 22px auto 0; width: 76px; height: 76px; border-radius: 50%; border: 4px solid rgba(255, 222, 150, .92);
  background: linear-gradient(160deg, #ffd98f, #f0a83c); color: #a8321f; font-size: 27px; font-weight: 800;
  font-family: "Songti SC", "SimSun", serif; box-shadow: 0 6px 18px rgba(0,0,0,.3), inset 0 2px 6px rgba(255,255,255,.5);
  animation: rpBreath 1.7s ease-in-out infinite; display: block;
}
@keyframes rpBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(255,217,143,.5); }
  50% { transform: scale(1.06); box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 14px rgba(255,217,143,0); }
}
.rp-open-btn:disabled { animation: rpSpin .8s linear infinite; }
@keyframes rpSpin { to { transform: rotate(360deg); } }
.rp-env-foot { margin-top: 16px; font-size: 11.5px; color: rgba(255,255,255,.62); }
.rp-env.revealed { padding-top: 40px; }
.rp-amount { font-size: 42px; font-weight: 800; color: #ffd98f; text-shadow: 0 2px 12px rgba(255,190,90,.45); animation: rpPop .38s cubic-bezier(.34,1.4,.5,1) both; }
.rp-amount span { font-size: 15px; font-weight: 600; margin-left: 2px; }
.rp-amount-tip { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.88); animation: rpPop .4s .08s cubic-bezier(.34,1.4,.5,1) both; }
.rp-done-btn { margin-top: 24px; width: 100%; padding: 11px; border: none; border-radius: 22px; background: linear-gradient(90deg, #ffd98f, #f0a83c); color: #8a2b1c; font-size: 15px; font-weight: 700; }

/* ===== 账号拉黑引导页 ===== */
.blk-ov { position: fixed; inset: 0; z-index: 95; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; animation: rpIn .3s ease both; }
.blk-card { width: 100%; max-width: 340px; background: var(--card); border-radius: 14px; padding: 36px 26px 30px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.blk-logo { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; }
.blk-ic { color: var(--err); margin-bottom: 6px; }
.blk-ic .icon { width: 42px; height: 42px; }
.blk-title { font-size: 18px; font-weight: 700; }
.blk-text { margin-top: 10px; font-size: 13.5px; color: var(--t2); line-height: 1.75; }
.blk-btn { display: block; margin-top: 22px; padding: 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.blk-btn:active { background: var(--blue-d); }
.blk-sub { margin-top: 16px; font-size: 12.5px; color: var(--t2); }
