:root{--ink:#20242d;--muted:#7d8491;--line:#e8ebf1;--panel:rgba(255,255,255,.88);--blue:#0879e8;--blue2:#9ac9f5;--bg:#f2f4f8;--green:#159b62;--amber:#c37a0a;--red:#d94b45;--shadow:0 18px 50px rgba(35,52,78,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(135deg,#edf2fa 0%,#f5f5f8 54%,#e7f7f2 100%);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;min-height:100vh}.ambient{position:fixed;pointer-events:none;filter:blur(60px);opacity:.34;z-index:-1;border-radius:50%}.ambient-a{width:330px;height:330px;background:#c8ddff;left:-120px;top:90px}.ambient-b{width:400px;height:400px;background:#c7f5e7;right:-150px;bottom:-100px}.topbar{height:68px;background:rgba(255,255,255,.82);border-bottom:1px solid rgba(222,228,238,.85);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.topbar-inner{max-width:1380px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand,.top-actions{display:flex;align-items:center;gap:12px}.brand-mark{width:34px;height:34px;border-radius:50%;background:#0879e8;color:#fff;font-size:25px;display:grid;place-items:center;font-weight:700}.brand strong{font-size:19px;letter-spacing:-.4px}.brand-divider{height:24px;width:1px;background:#dfe3ea;margin:0 3px}.brand-sub{font-size:14px;color:#777e89}.top-actions{gap:10px}.network-pill,.soft-button,.primary-button{height:42px;border-radius:22px;padding:0 16px;border:0;display:flex;align-items:center;gap:9px;white-space:nowrap;font:inherit}.network-pill{background:#f0f1f4;color:#737986;font-size:13px}.network-pill i,.live-chip i{width:8px;height:8px;border-radius:50%;background:#f4a100;display:inline-block}.network-pill.ok i,.live-chip i{background:#19b87b}.network-pill.warn i{background:#e8a12d}.network-pill.bad i{background:#e6534d}.soft-button{background:#fff;color:#333943;font-weight:650;cursor:pointer;box-shadow:0 2px 10px rgba(20,30,50,.04)}.soft-button b{background:#0879e8;color:white;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;font-size:12px}.primary-button{background:#0879e8;color:#fff;font-weight:700;cursor:pointer;padding:0 22px;box-shadow:0 6px 16px rgba(8,121,232,.17)}button{font-family:inherit}.page-shell{max-width:1380px;margin:22px auto 40px;padding:0 28px}.workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:22px;align-items:stretch}.panel{background:var(--panel);border:1px solid rgba(255,255,255,.9);border-radius:26px;box-shadow:var(--shadow);backdrop-filter:blur(20px)}.swap-panel{padding:26px 28px 22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.panel-heading h1,.panel-heading h2,.history-heading h2{font-size:23px;margin:3px 0 0;letter-spacing:-.6px}.eyebrow{font-size:9px;letter-spacing:1.35px;font-weight:800;color:#9aa1ad}.live-chip{background:#edf8f2;color:#25845a;border-radius:18px;padding:8px 12px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:7px}.wallet-banner{border-radius:15px;background:#fff4df;border:1px solid #f8e7c5;padding:13px 14px;display:flex;align-items:center;gap:11px;margin-bottom:20px}.wallet-banner-icon{width:32px;height:32px;background:#fff;border-radius:10px;display:grid;place-items:center;color:#b67513;font-size:20px}.wallet-banner strong{font-size:13px}.wallet-banner p{font-size:11px;color:#8d7651;margin:3px 0 0}.outline-button{margin-left:auto;border:1px solid #d9e9fa;background:#fff;color:#0879e8;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.field-label-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.field-label-row label{font-size:13px;color:#777e88;font-weight:600}.muted{color:#a0a5ae;font-weight:400}.balance-label{font-size:11px;color:#9aa1ac}.asset-amount-row{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(150px,1.1fr);gap:10px}.asset-select,.amount-wrap{height:65px;border:1px solid transparent;background:#f0f1f4;border-radius:17px;display:flex;align-items:center;padding:0 13px}.asset-select{cursor:pointer;text-align:left;gap:10px;min-width:0}.coin-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:white;font-size:22px;font-weight:800;flex:none;background:#f7931a}.coin-icon.usdt{background:#18a99a}.coin-icon.eth{background:#627eea}.coin-icon.trx{background:#e83b4d}.coin-icon.xrp{background:#16191f}.coin-icon.generic{background:#64748b;font-size:15px}.asset-copy{display:flex;flex-direction:column;min-width:0}.asset-copy strong{font-size:17px;line-height:20px}.asset-copy small{font-size:11px;color:#818793;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.chevron{margin-left:auto;color:#858b95;font-size:16px}.amount-wrap{justify-content:flex-end;position:relative}.amount-wrap input{width:100%;border:0;outline:0;background:transparent;text-align:right;font-size:24px;font-weight:700;color:#252a33;min-width:0}.amount-wrap input::placeholder{color:#8e9299}.max-button{border:0;background:transparent;color:#0879e8;font-weight:800;font-size:11px;cursor:pointer}.output-wrap{justify-content:flex-end}.output-amount{font-size:24px;font-weight:750;color:#777e88}.usd-line{height:25px;text-align:right;font-size:11px;color:#858c97;padding:5px 4px}.switch-row{display:flex;align-items:center;gap:13px;margin:10px 0 11px}.switch-line{height:1px;background:#edf0f4;flex:1}.reverse-button{width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(20,30,50,.1);font-size:21px;color:#323842;cursor:pointer}.address-block{margin-top:19px}.locked-address{background:#f0f1f4;border-radius:14px;min-height:49px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:#353b45;gap:12px;overflow:hidden}.locked-address span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lock-symbol{color:#7f8794;flex:none}.lock-state{font-size:10px;color:#a0a5ae}.lock-state.locked{color:var(--green);font-weight:800}.field-hint{font-size:10px;color:#9aa0aa;margin:7px 2px 0;line-height:1.5}.slippage-block{margin-top:19px}.slippage-control{display:grid;grid-template-columns:repeat(4,1fr) minmax(80px,.9fr);gap:4px;background:#f0f1f4;padding:4px;border-radius:13px}.slip-preset{border:0;background:transparent;border-radius:10px;padding:10px 4px;font-size:13px;font-weight:750;color:#3c424c;cursor:pointer}.slip-preset.active{background:white;box-shadow:0 2px 8px rgba(20,30,50,.12)}.custom-slip{background:#fff;border:1px solid #e5e8ee;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 7px;box-shadow:0 2px 7px rgba(20,30,50,.06)}.custom-slip input{border:0;outline:0;background:transparent;width:36px;text-align:right;font-size:13px;font-weight:750;color:#323842}.custom-slip span{font-size:12px;font-weight:700}.slip-options{display:flex;align-items:center;gap:13px;margin-top:10px;padding:10px 12px;background:#f0f1f4;border-radius:13px;min-height:50px}.low-slip{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.low-slip span{color:#a0a5ae}.low-slip strong{font-size:11px}.low-slip button{border:0;background:#fff;color:#5e6672;width:22px;height:24px;border-radius:7px;cursor:pointer}.low-slip b{font-size:12px}.toggle-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#737a85;white-space:nowrap;margin-left:auto;cursor:pointer}.toggle-label input{position:absolute;opacity:0}.toggle{width:34px;height:19px;border-radius:20px;background:#d9dde4;position:relative;transition:.2s}.toggle:after{content:"";position:absolute;left:2px;top:2px;width:15px;height:15px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:.2s}.toggle-label input:checked+.toggle{background:#0879e8}.toggle-label input:checked+.toggle:after{left:17px}.disabled-toggle{opacity:.55;cursor:not-allowed}.cta-button{width:100%;border:0;border-radius:15px;background:#8dbfea;color:#fff;font-size:16px;font-weight:800;padding:16px 14px;margin-top:18px;cursor:pointer;transition:.2s}.cta-button:not(:disabled){background:#0879e8;box-shadow:0 8px 18px rgba(8,121,232,.16)}.cta-button:disabled{cursor:not-allowed;opacity:.85}.cta-note{text-align:center;color:#9399a3;font-size:10px;margin-top:8px;line-height:1.5}.right-column{display:grid;grid-template-rows:auto 1fr;gap:22px}.quote-panel,.address-panel{padding:25px 27px}.panel-heading.compact{margin-bottom:19px}.panel-heading.compact h2{font-size:19px}.status-tag{border-radius:18px;padding:7px 12px;background:#f0f1f4;color:#8a909a;font-size:10px;font-weight:700;white-space:nowrap}.status-tag.good{background:#e8f8ef;color:#198b5b}.status-tag.warn{background:#fff2dc;color:#b77712}.status-tag.bad{background:#ffeded;color:#ce4843}.quote-rows{display:flex;flex-direction:column;gap:17px}.quote-rows>div:not(.row-divider){display:flex;justify-content:space-between;gap:14px;font-size:13px}.quote-rows span{color:#858b95}.quote-rows strong{font-weight:700;text-align:right}.row-divider{height:1px;background:#e8ebf0;margin:1px 0}.quote-footnote{margin-top:20px;font-size:10px;color:#a0a5ae;line-height:1.5}.address-card{background:#f7f8fa;border:1px solid #f0f2f5;border-radius:17px;padding:17px 18px}.address-card small{display:block;font-size:11px;color:#858b95;margin-bottom:8px}.address-card strong{font-size:14px;word-break:break-all;color:#126fd0}.address-card-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:11px;border-top:1px solid #e9edf2;font-size:10px;color:#9299a3}.verification-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.verify-item{border-radius:16px;padding:7px 10px;background:#f1f2f4;font-size:10px;color:#858c96}.verify-item.good{background:#e9f8ef;color:#178755}.verify-item.bad{background:#ffeded;color:#c94842}.verification-message{margin-top:13px;color:#9aa1ab;font-size:11px;line-height:1.6}.history-panel{margin-top:22px;padding:25px 28px}.history-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.history-heading h2{font-size:20px}.history-heading p{font-size:11px;color:#9299a3;margin:6px 0 0}.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e7eaf0;border-radius:15px;overflow:hidden}.portfolio-grid>div{padding:17px 18px;display:flex;flex-direction:column;gap:7px;min-width:0}.portfolio-grid>div+div{border-left:1px solid #e7eaf0}.portfolio-grid small{font-size:10px;color:#9299a3}.portfolio-grid strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portfolio-grid span{font-size:10px;color:#a0a5ae}.history-filters{display:flex;gap:23px;border-bottom:1px solid #e8ebf0;margin-top:20px}.filter{border:0;background:transparent;color:#8a909a;padding:0 0 10px;font-size:12px;font-weight:700;cursor:pointer}.filter.active{color:#252a33;border-bottom:2px solid #0879e8}.empty-history{border:1px solid #e9edf2;border-radius:15px;min-height:118px;margin-top:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#a0a5ae}.empty-icon{font-size:21px}.empty-history strong{font-size:12px;color:#818894}.empty-history span{font-size:10px}.footer{display:flex;justify-content:space-between;color:#a1a7b0;font-size:10px;padding:18px 4px}.global-alert{margin-bottom:14px;border-radius:14px;padding:14px 16px;background:#fff1ed;border:1px solid #ffd9d0;color:#9b4c35;font-size:13px;line-height:1.5}.global-alert.warning{background:#fff7e9;border-color:#f5e0b5;color:#8c641b}.global-alert.success{background:#eaf8ef;border-color:#c9ecd6;color:#26764a}.hidden{display:none!important}
.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:rgba(25,32,44,.32);backdrop-filter:blur(8px)}.modal-card{position:relative;width:min(880px,100%);max-height:min(86vh,850px);overflow:auto;background:rgba(255,255,255,.96);border:1px solid #fff;border-radius:24px;box-shadow:0 28px 80px rgba(18,32,56,.22);padding:25px}.modal-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal-title-row h2{font-size:21px;margin:4px 0 0}.close-button{width:34px;height:34px;border:0;border-radius:50%;background:#f0f1f4;color:#7e8590;font-size:24px;cursor:pointer}.search-input,.password-input{width:100%;height:48px;border:1px solid #dce3ed;border-radius:13px;padding:0 16px;outline:none;font-size:14px;background:#fff}.search-input:focus,.password-input:focus{border-color:#1685ed;box-shadow:0 0 0 3px rgba(8,121,232,.12)}.token-meta{display:flex;justify-content:space-between;gap:10px;color:#969da8;font-size:10px;margin:13px 2px}.token-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:54vh;overflow:auto;padding:3px}.token-item{border:1px solid transparent;background:transparent;border-radius:13px;padding:11px 9px;display:flex;align-items:center;gap:9px;text-align:left;min-width:0;cursor:pointer}.token-item:hover{background:#f1f6fc;border-color:#e4edf8}.token-item.selected{background:#eaf3fc;border-color:#d6e8fa}.token-item.paused{opacity:.64}.token-item .coin-icon{width:34px;height:34px;font-size:18px}.token-item-copy{display:flex;flex-direction:column;min-width:0;flex:1}.token-item-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.token-item-copy small{font-size:10px;color:#8b929d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.paused-label{color:#d84c45;font-size:9px;font-weight:800;white-space:nowrap}.keystore-modal-card{width:min(510px,100%)}.keystore-info{display:flex;gap:12px;background:#f3f7fc;border-radius:15px;padding:15px;margin-bottom:14px}.file-icon{width:38px;height:38px;border-radius:12px;background:#e3effc;color:#0879e8;display:grid;place-items:center;font-size:21px;flex:none}.keystore-info strong{font-size:14px}.keystore-info p{font-size:11px;color:#818996;line-height:1.6;margin:5px 0 0}.file-picker{min-height:76px;border:1.5px dashed #7db8f0;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#0879e8;cursor:pointer;background:#fbfdff}.file-picker>span{font-size:19px}.file-picker strong{font-size:13px}.file-picker small{font-size:10px;color:#9098a4}.password-label{display:block;margin:16px 0 7px;font-size:12px;font-weight:700;color:#707784}.password-input{height:50px}.keystore-modal-card .cta-button{margin-top:14px}.security-note{display:flex;gap:8px;margin-top:14px;font-size:10px;color:#8b929e;line-height:1.6}.security-note span:first-child{color:#159b62}.inline-error{margin-top:10px;color:#c84640;background:#fff0ef;border-radius:9px;padding:9px 11px;font-size:11px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:70;background:#222a36;color:#fff;border-radius:12px;padding:12px 17px;box-shadow:0 12px 30px #10182833;font-size:12px;max-width:min(90vw,520px);text-align:center}
@media(max-width:1050px){.workspace{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;grid-template-rows:auto}.swap-panel{max-width:none}.topbar-inner{padding:0 18px}.page-shell{padding:0 18px}}@media(max-width:700px){.topbar{height:auto;position:relative}.topbar-inner{padding:12px 14px;align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:space-between;gap:6px}.network-pill{max-width:48%;overflow:hidden;text-overflow:ellipsis}.primary-button{padding:0 13px;font-size:12px}.soft-button{padding:0 11px;font-size:12px}.page-shell{padding:0 12px;margin-top:13px}.swap-panel,.quote-panel,.address-panel,.history-panel{padding:18px 15px;border-radius:20px}.right-column{grid-template-columns:1fr;gap:13px}.asset-amount-row{grid-template-columns:minmax(0,1fr) minmax(110px,.85fr);gap:7px}.asset-select,.amount-wrap{height:58px;padding:0 9px}.coin-icon{width:31px;height:31px}.asset-copy strong{font-size:15px}.asset-copy small{font-size:10px;max-width:100px}.amount-wrap input,.output-amount{font-size:20px}.wallet-banner{align-items:flex-start}.wallet-banner p{max-width:210px}.outline-button{font-size:10px;padding:8px}.slip-options{gap:7px;flex-wrap:wrap}.low-slip{flex:1}.toggle-label{margin-left:0}.portfolio-grid{grid-template-columns:1fr}.portfolio-grid>div+div{border-left:0;border-top:1px solid #e7eaf0}.history-heading{align-items:flex-start}.history-heading .soft-button{height:35px}.footer{flex-direction:column;gap:6px}.token-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal{padding:10px}.modal-card{padding:18px;border-radius:19px}.token-modal-card{max-height:92vh}.token-meta{font-size:9px}.brand-sub{font-size:12px}}

.deposit-info{margin-top:17px;padding:14px;border:1px solid #e4ebf4;border-radius:15px;background:#fbfcfe}.deposit-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:800;margin-bottom:12px}.deposit-field{margin-top:10px}.deposit-field small{display:block;color:#9299a3;font-size:10px;margin-bottom:6px}.deposit-field>div{display:flex;align-items:center;gap:8px;background:#f0f2f6;border-radius:10px;padding:8px 9px}.deposit-field code{font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all;flex:1;min-width:0;color:#343b46}.copy-button{border:1px solid #dce7f3;background:#fff;border-radius:8px;padding:6px 9px;color:#0879e8;font-size:10px;font-weight:800;cursor:pointer;flex:none}.deposit-warning{margin-top:11px;padding:9px 10px;background:#fff5e6;border-radius:9px;color:#93631d;font-size:10px;line-height:1.5}

/* v1.2: 每项资产本地图标与链标识，图标不请求第三方服务器。 */
.coin-icon-host{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px}
.coin-icon.brand-icon{position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;background:transparent;color:#fff;isolation:isolate}
.coin-icon.brand-icon .token-logo{display:block;width:100%;height:100%;border-radius:50%;object-fit:contain;pointer-events:none}
.coin-icon.brand-icon.icon-fallback{background:var(--icon-fallback,#64748b);border-radius:50%}
.coin-icon.brand-icon .token-initial{font:800 11px/1 Inter,Arial,sans-serif;letter-spacing:-.3px;white-space:nowrap;color:#fff;max-width:32px;overflow:hidden}
.coin-icon.brand-icon .chain-badge{position:absolute;bottom:-2px;right:-4px;width:15px;height:15px;border:2px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;background:white;box-shadow:0 0 0 .4px #dae0e9;z-index:2}
.coin-icon.brand-icon .chain-badge img{width:100%;height:100%;display:block;border-radius:50%}
.token-item .coin-icon.brand-icon,.token-item .coin-icon-host{height:34px;width:34px;flex:none}
.token-item .coin-icon.brand-icon .chain-badge{width:14px;height:14px;right:-3px;bottom:-2px}
@media(max-width:700px){.coin-icon-host{width:31px;height:31px}.coin-icon.brand-icon .chain-badge{width:13px;height:13px;right:-3px}}

/* v1.3: 监控状态概览 */
.status-overview{background:rgba(255,255,255,.90);padding:13px 18px;border:1px solid #e4ebf3;border-radius:16px;margin-bottom:16px}
.status-overview-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}
.status-overview-header strong{font-size:13px;color:#323b49}
.status-overview-header small{font-size:11px;color:#8793a2}
.chain-status-panel{display:flex;gap:7px;flex-wrap:wrap}
.chain-status-tag{font-size:11px;padding:5px 9px;border-radius:16px;background:#eaf8ef;color:#16794a;font-weight:700;border:1px solid #d2ebdb}
.chain-status-tag.halted{background:#ffedeb;border-color:#ffdbd6;color:#b93f37}
.chain-status-tag.unknown{background:#fff4e0;border-color:#f5e0b7;color:#947019}
@media(max-width:700px){.status-overview-header{align-items:flex-start;flex-direction:column;gap:4px}}

/* v1.4: 与原版的双列报价布局对齐，同时明确区分可交易报价和暂停链池价参考 */
.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.swap-panel{padding:23px 25px 23px}
.quote-panel,.address-panel{padding:23px 25px}
.panel-heading.compact{gap:10px}
.quote-heading-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.refresh-quote{border:1px solid #dce6f1;background:#fff;color:#2871bb;cursor:pointer;padding:7px 10px;font-size:11px;font-weight:750;border-radius:10px}
.refresh-quote:disabled{opacity:.4;cursor:not-allowed}
.trade-warning{margin:3px 0 12px;font-size:12px;font-weight:550;line-height:1.6}
.trade-warning.error{color:#df4539}.trade-warning.muted-warning{color:#927025}
.slip-quality{display:inline-block;border-radius:8px;padding:3px 6px;font-size:10px;margin-right:5px;white-space:nowrap}
.slip-quality.good{color:#158344;background:#e9f8ef}.slip-quality.bad{color:#be4a40;background:#fff0ef}
@media(max-width:1050px){.workspace{grid-template-columns:1fr}}
@media(max-width:700px){.quote-heading-actions{justify-content:flex-end}.swap-panel{padding:18px 15px}.quote-panel,.address-panel{padding:18px 15px}}

/* v1.4.1：兑换卡片内的实时滑点对比，展示在卖出美元估值下方。 */
.swap-slip-indicator{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-height:36px;margin:-1px 3px 3px;font-size:12px;line-height:1.45;color:#717781;}
.swap-slip-line{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;text-align:right;}
.swap-slip-tag{font-size:11px;font-weight:800;padding:2px 9px;border-radius:100px;white-space:nowrap;}
.swap-slip-line strong{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;}
.swap-slip-set{color:#858b95;font-size:11px;}
.swap-slip-set strong{font-weight:600;color:#707784;}
.swap-slip-indicator.good .swap-slip-tag{color:#167a43;background:#e6f7eb;}
.swap-slip-indicator.good .swap-slip-line strong{color:#279651;}
.swap-slip-indicator.bad .swap-slip-tag{color:#bc3934;background:#ffebeb;}
.swap-slip-indicator.bad .swap-slip-line strong{color:#d13d36;}
@media(max-width:700px){.swap-slip-indicator{margin-right:2px}.swap-slip-line{gap:5px}.swap-slip-line strong{font-size:13px}}

/* v1.4.2：数据缺失时显示中性提示，而非误报价格好/滑点过高。 */
.swap-slip-indicator.unknown .swap-slip-tag{color:#697385;background:#edf0f4;}
.swap-slip-indicator.unknown .swap-slip-line strong{color:#697385;}

/* v1.5: 中文语音提醒。声音在浏览器播放，状态文字仅用于提示可用性和测试结果。 */
.voice-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:7px;padding:0 4px;min-height:24px}
.test-voice-button{background:transparent;border:1px solid #d4e3f3;border-radius:8px;padding:5px 10px;color:#2871bb;font-size:11px;font-weight:700;line-height:1.3;cursor:pointer;white-space:nowrap}
.test-voice-button:hover{background:#eff7ff}
.voice-alert-status{color:#858f9f;font-size:10px;line-height:1.4}
.voice-alert-status.voice-status-error{color:#c34d46}
@media(max-width:700px){.voice-tools{justify-content:flex-start;gap:7px}.voice-alert-status{font-size:10px}.slip-options{gap:7px}}

/* v1.6：Keystore 格式识别，不涉及密码解密。 */
.format-action-row{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0}
.format-demo-button{border:1px solid #cbdff5;border-radius:9px;padding:9px 10px;background:#f4f8fe;color:#1763aa;cursor:pointer;font-size:11px;font-weight:700}
.format-demo-button:hover{background:#e6f0fd}.format-demo-button.ghost{color:#68788c;border-color:#e2e5eb;background:#fff}
.format-report{padding:13px 14px;background:#f8fafc;border:1px solid #e1e7f0;border-radius:12px;margin-top:11px}
.format-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.format-head strong{font-size:13px}.format-tag{font-size:10px;font-weight:800;color:#66758a;padding:5px 8px;background:#e9edf3;border-radius:99px;white-space:nowrap}
.format-tag.recognized{background:#e7f4ed;color:#13834a}.format-tag.rejected{background:#fff0ec;color:#c54d35}
.format-detail{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-top:6px}.format-detail span{color:#8390a2;flex:0 0 75px}.format-detail b{text-align:right;overflow-wrap:anywhere;font-weight:600}
.format-report p{font-size:11px;line-height:1.65;color:#66758a;margin:10px 0 0}.keystore-modal-card .password-input:disabled{background:#f4f6f9;color:#8793a3;cursor:not-allowed}

/* v1.7：只读公开地址校验演示，绝不连接真实交易参数 */
.address-adapter-lab{border:1px solid #dbe7f4;background:linear-gradient(140deg,#f8fbff,#ffffff);padding:16px;border-radius:15px;margin-top:16px}
.lab-header{display:flex;justify-content:space-between;gap:10px;align-items:start}.lab-header strong{font-size:14px}.lab-header small{display:block;font-size:10px;color:#798697;margin-top:5px}.lab-chip{font-size:10px;color:#946400;background:#fff1d1;padding:5px 8px;border-radius:20px;font-weight:700;white-space:nowrap}
.lab-explain,.lab-safety{font-size:11px;color:#69778b;line-height:1.65;margin:10px 0}.lab-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px;border-top:1px solid #edf1f6;padding:11px 0;font-size:11px}.lab-row>span{color:#7b8797}.lab-row>b{font-size:12px}.lab-row code{font-size:11px;overflow-wrap:anywhere;max-width:100%;color:#334155;user-select:text}
.lab-result{border-radius:10px;padding:11px 12px;font-size:11px;line-height:1.6;white-space:pre-line}.lab-result.pending{background:#f1f3f7;color:#697386}.lab-result.good{background:#e8f6ef;color:#166b48}.lab-result.bad{background:#fff0ef;color:#ae3834}.lab-result.unknown{background:#fff5e5;color:#895b12}
.lab-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.lab-safety{border-left:3px solid #dca52d;padding-left:10px;margin-bottom:0}

/* v1.8 公开测试地址双链联动：与真实钱包严格隔离 */
.fixture-wallet-panel{margin-top:16px;padding:15px;border-radius:13px;background:#f8fbff;border:1px solid #d8e6f5}
.fixture-wallet-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.fixture-wallet-head strong{font-size:14px}
.fixture-wallet-head small{display:block;color:#738096;font-size:10px;line-height:1.5;margin-top:5px}
.fixture-wallet-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e9edf5;padding:11px 0;font-size:11px}
.fixture-wallet-row:first-of-type{margin-top:12px}.fixture-wallet-row>span{flex-shrink:0;color:#728097}
.fixture-wallet-row>div{text-align:right;min-width:0}.fixture-wallet-row b{display:block;margin-bottom:4px;font-size:12px}
.fixture-wallet-row code{display:block;overflow-wrap:anywhere;font-size:11px;color:#44516a}
.fixture-wallet-state{font-size:11px;line-height:1.7;padding:10px 12px;border-radius:10px}
.fixture-wallet-state.pending{background:#eff2f7;color:#687586}.fixture-wallet-state.good{background:#e7f7ed;color:#216747}.fixture-wallet-state.bad{background:#fff0ef;color:#af3636}
@media(max-width:560px){.fixture-wallet-row{display:block}.fixture-wallet-row>div{text-align:left;margin-top:5px}}

/* v1.9：公开公钥地址转换演示，仅用于公开测试向量 */
.public-key-panel{background:linear-gradient(145deg,#f7fcff,#f5f8ff)}
.public-key-panel .fixture-wallet-state{white-space:pre-line}
.public-key-panel code{word-break:break-all}

/* v2.0: Bitcoin 本机公开向量的只读编码详情 */
.btc-pub-details{margin:10px 0;padding:8px 11px;border:1px solid #d8e5f7;background:#f8fbff;border-radius:12px}
.btc-pub-details .fixture-wallet-row{padding:8px 0}.btc-pub-details .fixture-wallet-row:first-child{border-top:0}
.btc-pub-details code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px}
