/* 沉浸式反诈体验 · 共用样式（多通道支付 + 多方对话） */
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
body { font-family:-apple-system,"Microsoft YaHei",sans-serif; background:#E5E5E5; }
.topbar { position:fixed; top:0; left:0; right:0; z-index:60; background:var(--theme,#C8102E); color:#fff;
          padding:9px 14px; display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.topbar .lv { background:#FFB300; color:#3a2a00; font-weight:700; border-radius:10px; padding:2px 9px; font-size:12px; }
.phone { max-width:480px; margin:0 auto; background:#EFEFF4; min-height:100vh; padding-top:42px; padding-bottom:88px; }
.opening { background:linear-gradient(140deg,var(--theme,#C8102E),var(--theme2,#E8452B)); color:#fff;
           padding:26px 20px 22px; text-align:center; }
.opening h1 { font-size:20px; margin-bottom:8px; letter-spacing:.5px; }
.opening p { font-size:13px; opacity:.92; line-height:1.75; }
.opening .tag { display:inline-block; background:#FFB300; color:#3a2a00; font-size:11px; font-weight:700;
                border-radius:4px; padding:3px 9px; margin-top:10px; }
.chat { padding:12px 12px 0; }
.msg { display:flex; margin-bottom:12px; align-items:flex-start; }
.msg .avatar { width:34px; height:34px; border-radius:5px; flex-shrink:0; display:flex;
               align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; }
.msg .bubble { max-width:76%; margin-left:9px; background:#fff; border-radius:8px; padding:9px 12px;
               font-size:15px; line-height:1.7; color:#222; word-break:break-all; }
.msg .name { font-size:11px; color:#999; margin:0 0 4px 9px; }
.msg.user { flex-direction:row-reverse; }
.msg.user .bubble { margin-left:0; margin-right:9px; background:#95EC69; }
.msg.user .name { margin:0 9px 4px 0; text-align:right; }
.msg.sys { justify-content:center; }
.msg.sys .avatar,.msg.sys .name { display:none; }
.msg.sys .bubble { background:transparent; color:#8A8A8A; font-size:12px; text-align:center; max-width:92%; margin:0; }
.msg .bubble .bal { font-weight:700; color:var(--theme,#C8102E); }
.msg .bubble .appcard {
  display:block; margin-top:8px; background:#F5F7FA; border:1px solid #E3E8EF; border-radius:10px; padding:10px 12px; text-align:left;
}
.msg .bubble .appcard b { display:block; font-size:14px; color:#1A1A1A; margin-bottom:4px; }
.msg .bubble .appcard span { font-size:12px; color:#666; line-height:1.5; }
.msg .bubble .appcard .dl { display:inline-block; margin-top:8px; background:var(--theme,#C8102E); color:#fff;
  font-size:12px; font-weight:700; padding:5px 12px; border-radius:6px; }
.receipt,.sms,.fakeui { width:86%; margin:4px auto 14px; background:#fff; border-radius:12px; padding:14px;
  box-shadow:0 2px 12px rgba(0,0,0,.07); }
.receipt { text-align:center; width:78%; }
.receipt .rhead { font-size:12px; font-weight:700; letter-spacing:1px; }
.receipt .ramount { font-size:28px; font-weight:700; margin:6px 0 2px; }
.receipt .rdesc { font-size:12px; color:#999; }
.receipt.wechat .rhead,.receipt.wechat .ramount { color:#07C160; }
.receipt.alipay .rhead,.receipt.alipay .ramount { color:#1677FF; }
.receipt.bank .rhead,.receipt.bank .ramount { color:#C8102E; }
.sms { border-left:4px solid #3B82F6; font-size:13px; color:#333; line-height:1.65; }
.sms .stag { font-size:11px; color:#3B82F6; font-weight:700; margin-bottom:6px; }
.fakeui .ftitle { font-size:14px; font-weight:700; margin-bottom:8px; color:var(--theme,#C8102E); }
.fakeui .frow { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px dashed #EEE; color:#666; font-size:13px; }
.fakeui .frow:last-child { border:none; }
.fakeui .frow span:last-child { color:#222; text-align:right; word-break:break-all; }
.actions { position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #DDD;
           padding:10px 14px; max-width:480px; margin:0 auto; z-index:50; }
.actions .btn { display:block; width:100%; padding:12px 0; border:none; border-radius:8px;
                font-size:15px; font-weight:700; margin-bottom:8px; cursor:pointer; }
.btn.primary { background:var(--theme,#C8102E); color:#fff; }
.btn.warn { background:#FFB300; color:#3a2a00; }
.btn.gray { background:#ECECEC; color:#666; }
.mask { position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:flex-end;
        justify-content:center; z-index:200; }
.mask.hidden { display:none; }
.paycard { width:100%; max-width:480px; background:#F7F7F7; border-radius:14px 14px 0 0; overflow:hidden; }
.payhead { color:#fff; text-align:center; font-size:15px; font-weight:700; padding:12px; }
.paybody { background:#fff; padding:18px 20px 8px; }
.payto { font-size:14px; color:#888; text-align:center; }
.payamount { font-size:36px; font-weight:700; color:#111; text-align:center; margin:10px 0 12px; }
.payrow { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:#666; padding:10px 0; border-top:1px solid #F0F0F0; }
.payrow b { color:#222; font-weight:600; text-align:right; word-break:break-all; max-width:62%; }
.payhint { font-size:12px; color:#B45309; background:#FFFBEB; border-radius:8px; padding:8px 10px; margin:8px 0 4px; line-height:1.5; }
.paybtn { width:100%; padding:15px 0; border:none; color:#fff; font-size:17px; font-weight:700; }
.paysuccess { position:fixed; inset:0; background:rgba(0,0,0,.65); display:flex; align-items:center;
              justify-content:center; z-index:210; flex-direction:column; color:#fff; }
.paysuccess.hidden { display:none; }
.paysuccess .circle { width:76px; height:76px; border-radius:50%; background:#07C160; display:flex;
                      align-items:center; justify-content:center; font-size:42px; margin-bottom:16px; }
.result { padding:20px 16px; }
.result .alarm { background:var(--theme,#C8102E); color:#fff; text-align:center; padding:26px 16px; border-radius:10px; }
.result .alarm h2 { font-size:26px; margin-bottom:10px; }
.result .alarm p { font-size:14px; opacity:.95; line-height:1.7; }
.ledger,.teardown,.footer { background:#fff; border-radius:10px; padding:16px; margin-top:14px; }
.teardown { background:#FFF8F0; border:1px solid #F0D9B8; }
.teardown h3 { color:var(--theme,#C8102E); margin-bottom:10px; font-size:15px; }
.teardown ol { padding-left:20px; }
.teardown li { font-size:13px; color:#555; line-height:1.9; margin-bottom:6px; }
.ledger h3 { font-size:15px; margin-bottom:10px; }
.ledger .row { display:flex; justify-content:space-between; gap:8px; padding:8px 0; font-size:13px; color:#666; border-bottom:1px dashed #EEE; }
.ledger .row.out { font-weight:700; color:#C8102E; font-size:17px; border:none; }
.ledger .row.in { color:#07A35A; }
.ledger .ch { font-size:11px; color:#999; }
.footer { text-align:center; }
.footer .hotline { font-size:21px; font-weight:700; color:#C8102E; margin-bottom:6px; }
.footer p { font-size:12px; color:#999; line-height:1.7; }
.footer .sign { font-size:11px; color:#BBB; margin-top:10px; }
.hidden { display:none !important; }
.shake { animation:shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
