/* TRON 项目：深蓝与暖金，沿用聚合首页的能量卡片。 */
html body:has(#homePage:not(.hidden) > .trx-page.active){overflow-y:auto;overflow-x:hidden}
body #homePage .trx-page{padding:4px 0 95px}.trx-heading{display:flex;align-items:center;gap:14px;margin:12px 0 23px}.trx-heading>button{width:38px;height:38px;border:1px solid #e2e8ee;border-radius:50%;font-size:27px;background:white;color:#19344a}.trx-heading small{letter-spacing:2.5px;color:#9a875e;font-size:9px}.trx-heading h1{font-size:24px;color:#173147;margin:5px 0 0}
.trx-hero{padding:23px 20px;border-radius:23px;display:flex;gap:15px;align-items:flex-start;background:#142f43;color:#f6f2e8;position:relative;overflow:hidden}.trx-hero::after{content:'';position:absolute;right:-40px;top:-36px;width:145px;height:145px;border:1px solid #f1cb8520;border-radius:40px;transform:rotate(30deg)}.trx-hero b{font-size:17px;line-height:1.6;display:block;max-width:225px}.trx-hero p{font-size:11px;line-height:1.8;color:#b2c1cb;margin:8px 0 22px}.trx-energy-icon{font-size:38px;line-height:1;color:#f0cc8c;flex-shrink:0}.trx-duration{position:absolute;bottom:18px;right:20px;font-size:10px;letter-spacing:1px;color:#d5bc8d}
.trx-form{background:white;border:1px solid #e3eaf0;border-radius:23px;padding:21px 18px;margin-top:19px}.trx-form>label,.trx-section-head>label{font-size:13px;color:#2d475c;font-weight:600}.trx-form textarea{box-sizing:border-box;width:100%;margin-top:12px;border:1px solid #dce5ed;border-radius:12px;background:#f8fafc;padding:13px;resize:vertical;font:12px/1.8 monospace;color:#254052;overflow-wrap:anywhere}.trx-help{font-size:10px;line-height:1.8;color:#8294a2;margin:8px 0 19px}.trx-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:23px}.trx-section-head button{border:0;background:transparent;color:#9d855c;font-size:10px;padding:6px 0}.trx-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0 21px}.trx-presets button{border:1px solid #e0e7ed;background:#fbfcfd;color:#2a465b;padding:14px 8px;border-radius:13px;text-align:left;cursor:pointer}.trx-presets strong,.trx-presets span{display:block}.trx-presets strong{font-size:19px;font-weight:600;margin-bottom:6px}.trx-presets span{font-size:10px;color:#8b99a6}.trx-presets button.active{border-color:#c9aa72;background:#fbf6ec}.trx-presets button.active strong{color:#8a6935}.trx-presets button.active span{color:#a18457}
.trx-custom{display:flex;gap:9px;margin-top:11px}.trx-custom input{box-sizing:border-box;width:0;flex:1;min-width:0;border:1px solid #dce5ed;border-radius:10px;padding:11px;font-size:14px;color:#284257}.trx-custom button{border:1px solid #e9dfce;background:#fbf7ef;color:#917344;font-size:11px;border-radius:10px;padding:11px}.trx-price-panel{padding:18px 16px;border-radius:14px;background:#f7f9fb;border:1px solid #eaf0f5;margin-top:19px}.trx-price-panel>span{font-size:11px;color:#718596}.trx-price-panel strong{display:block;font-size:27px;color:#19374d;margin-top:9px;letter-spacing:-.6px}.trx-price-panel p{font-size:10px;line-height:1.8;color:#8294a2;margin:10px 0 0}.trx-primary{box-sizing:border-box;border:0;background:#18384e;color:#f6e2bc;font-size:13px;padding:15px;border-radius:13px;cursor:pointer}.trx-primary:disabled{opacity:.45;cursor:default}.trx-form>.trx-primary{width:100%}#trxNotice,#trxCheckoutNotice{font-size:12px;line-height:1.8;color:#ae7541}.trx-note{padding:19px 8px 0}.trx-note b{font-size:12px;color:#526c7e}.trx-note p{font-size:11px;line-height:1.9;color:#8799a7}
.trx-dialog{box-sizing:border-box;width:calc(100% - 26px);max-width:420px;max-height:90dvh;overflow:auto;border:0;border-radius:23px;padding:24px;background:white;color:#1d384d;box-shadow:0 18px 90px #142f4340}.trx-dialog::backdrop{background:#102b3d70;backdrop-filter:blur(4px)}.trx-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.trx-dialog h2{font-size:18px;margin:0}.trx-dialog header button{border:0;border-radius:50%;background:#f0f4f7;color:#7c8d9a;font-size:23px;width:30px;height:30px}.trx-details{display:grid;gap:10px;grid-template-columns:1fr 1fr;font-size:12px;line-height:1.8;margin:25px 0}.trx-details dt{color:#8193a2}.trx-details dd{margin:0;text-align:right}.trx-details .trx-address-value{grid-column:1/-1;text-align:left;background:#f5f8fa;border-radius:10px;padding:12px;overflow-wrap:anywhere;font:11px/1.9 monospace;margin-bottom:8px}.trx-checkout-total{border-top:1px solid #e7edf2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:20px 0;font-size:12px}.trx-checkout-total strong{font-size:22px;color:#91713b}.trx-confirm{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;color:#6e8394}.trx-confirm input{margin:5px 0;accent-color:#95743e}.trx-dialog footer{margin-top:15px}.trx-dialog footer button{width:100%}
.trx-order{padding:18px;background:white;border:1px solid #e1e8ef;border-radius:19px;margin-bottom:13px;text-align:left}.trx-order header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.trx-order header strong{font-size:16px}.trx-status{font-size:10px;white-space:nowrap;color:#957640;background:#fbf4e7;border-radius:10px;padding:5px 8px}.trx-status.state-completed{color:#287b5e;background:#ecf8f1}.trx-order p{font-size:11px;color:#8a9ba7;line-height:1.8}.trx-order .trx-order-address{font:11px/1.9 monospace;color:#556f82;overflow-wrap:anywhere;background:#f6f9fb;padding:10px;border-radius:9px}.trx-order code{font-size:9px;color:#8b9ba9;overflow-wrap:anywhere}.trx-order .trx-order-hint{color:#a17a43;font-size:12px}.trx-order footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.trx-order footer button,.trx-order footer a{border:1px solid #dee6ed;border-radius:10px;padding:9px;background:#fff;color:#576f82;font-size:10px;text-decoration:none}
body #homePage .project-tron .project-card-bottom{display:none}

/* 板块内导航、独立 TRX 钱包及原生币充值；与主 USD 钱包分开。 */
.trx-page [hidden],#trxDepositDialog [hidden]{display:none!important}
.trx-module-nav{display:flex;gap:6px;padding:5px;background:#e9eeef;border-radius:16px;margin:18px 0 12px}
.trx-module-nav button{flex:1;border:0;background:transparent;padding:11px 4px;border-radius:12px;color:#62777b;font-weight:700}
.trx-module-nav button.active{background:#fff;color:#153d42;box-shadow:0 2px 8px #173b4510}
.trx-wallet-strip{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#eff8f5;border-radius:14px;margin-bottom:16px;font-size:13px;color:#466564}
.trx-wallet-strip strong{color:#174e48;font-size:16px}
.trx-kind-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px}
.trx-kind-tabs button{border:1px solid #dbe6e4;background:white;border-radius:13px;padding:12px 6px;color:#56706f;font-weight:600}
.trx-kind-tabs button.active{border-color:#2d8d7d;background:#e6f6ef;color:#17695c}
#trxKindDescription{font-size:12px;line-height:1.8;color:#69807e;margin:0 0 18px}
.trx-wallet-card{padding:24px 18px;border-radius:20px;background:linear-gradient(120deg,#153c43,#21685f);color:#e5f9ef;margin:12px 0 18px}
#trxWalletLargeBalance{display:block;font-size:30px;font-weight:700;letter-spacing:-.8px;margin-top:8px}
#trxRechargeForm{display:flex;flex-direction:column;gap:12px;margin:16px 0}
#trxRechargeForm input,#trxTarget,#trxDepositTxid{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #d7e5e1;border-radius:12px;padding:12px;background:white;font-size:16px;color:#183e42}
#trxRechargeCreate,#trxDepositVerify{background:#184f49;color:white;border:0;border-radius:13px;padding:14px;font-weight:700}
#trxRechargeList,#trxModuleOrders{display:grid;gap:12px;margin-top:16px}
#trxDepositDialog{width:calc(100% - 32px);max-width:420px;box-sizing:border-box;border:0;border-radius:22px;padding:22px;color:#234b4c;max-height:90dvh;overflow:auto}
#trxDepositDialog::backdrop{background:#102f3c88}
#trxDepositDialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#trxDepositDialog button{cursor:pointer}#trxDepositBody code{display:block;overflow-wrap:anywhere;margin:12px 0}
.trx-deposit-amount{display:block;font-size:29px;letter-spacing:-.6px;margin:8px 0 12px}
#trxDepositVerifyForm{display:grid;gap:12px;margin-top:20px}#trxDepositBody>button{border:1px solid #d3e6df;background:#f0f8f4;border-radius:9px;padding:9px 12px;color:#275d52}
#trxOrderSearch{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dbe7e3;border-radius:12px}

.trx-wallet-strip button{border:0;border-radius:8px;background:#d8eee5;color:#24594e;padding:7px 9px;font-size:12px;font-weight:600}.trx-wallet-card button{border:1px solid #ffffff55;border-radius:9px;background:#ffffff13;color:#e9fff6;padding:8px 10px}.trx-wallet-card p{font-size:12px;line-height:1.7;color:#cae5dd}

.trx-kind-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}

#trxCountFields{display:grid;gap:10px;margin:16px 0}#trxCountFields select,#trxCountFields input{box-sizing:border-box;width:100%;border:1px solid #d7e5e1;border-radius:12px;padding:12px;min-height:48px;background:#fff;color:#183e42;font-size:16px}#trxCountFields .trx-help{margin:0 0 8px}
