.mini-energy-overlay{position:absolute;inset:0;z-index:80;overflow:auto;background:var(--background,#f5f7fb);color:var(--foreground,#172033);padding:38px 16px 34px;-webkit-overflow-scrolling:touch}.mes-header{display:flex;align-items:center;gap:12px;margin:0 0 18px}.mes-header small{display:none;color:#718096;font-size:12px}.mes-header h1{font-size:25px;line-height:1.2;margin:3px 0 0}.mes-back{width:38px;height:38px;border:0;border-radius:12px;background:#fff;box-shadow:0 7px 22px #1f3b6d17;font-size:28px;line-height:1;color:#243b64}.mes-body{display:grid;gap:14px}.mes-intro,.mes-card,.mes-summary,.mes-list{background:#fff;border:1px solid #e8edf5;border-radius:18px;box-shadow:0 9px 28px #1f3b6d0d}.mes-intro{padding:17px 18px}.mes-intro strong{font-size:18px}.mes-intro p,.mes-guide p,.mes-confirm p{color:#667085;line-height:1.65;margin:8px 0 0}.mes-card{padding:17px}.mes-card h2{font-size:16px;margin:0 0 12px}.mes-card label{display:grid;gap:7px;font-size:13px;color:#586174;margin-bottom:14px}.mes-card input{width:100%;box-sizing:border-box;border:1px solid #dce3ee;border-radius:12px;background:#f8fafc;padding:13px 14px;font-size:15px;color:#172033;outline:none}.mes-card input:focus{border-color:#3478f6;box-shadow:0 0 0 3px #3478f619}.mes-primary,.mes-secondary,.mes-danger,.mes-pay,.mes-smart-pay,.mes-times-pay,.mes-pagination button,.mes-presets button{min-height:44px;border:0;border-radius:12px;padding:10px 13px;font-weight:700}.mes-primary{width:100%;background:linear-gradient(135deg,#2368f2,#4f8eff);color:#fff}.mes-secondary{background:#edf3ff;color:#245ac4}.mes-danger{background:#fff0f1;color:#d53345}.mes-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mes-actions>button{width:100%}.mes-actions small{font-weight:500;opacity:.86}.mes-notice{min-height:19px;margin:0 4px;color:#68758a;font-size:13px;text-align:center}.mes-notice.error,.mes-warning{color:#d8394c}.mes-notice.loading{color:#2468e8}.mes-card dl{display:grid;gap:0;margin:0}.mes-card dl div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #eef1f6}.mes-card dl div:last-child{border-bottom:0}.mes-card dt{color:#748096}.mes-card dd{margin:0;text-align:right;font-weight:650;word-break:break-all}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.mes-balances{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.mes-token{display:grid;grid-template-columns:28px 1fr;align-items:center;border:1px solid #e7ebf2;border-radius:13px;padding:10px}.mes-token strong{grid-column:2}.mes-token-icon{grid-row:1/3;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#fff;font-weight:800}.mes-token-icon.usdt{background:#26a17b}.mes-token-icon.trx{background:#e84142}.mes-summary{display:grid;grid-template-columns:repeat(3,1fr);padding:13px 8px;text-align:center}.mes-summary span{display:grid;gap:3px;color:#7a8495;font-size:12px}.mes-summary strong{color:#1c2b45;font-size:18px}.mes-list{overflow:hidden}.mes-list-item{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #edf0f5;background:#fff;padding:15px;text-align:left}.mes-list-item:last-child{border-bottom:0}.mes-list-item span{display:grid;gap:4px}.mes-list-item small{color:#828b9b}.mes-list-item em{font-style:normal;font-size:12px;padding:5px 8px;border-radius:999px;background:#eef3ff;color:#2863d6}.mes-list-item em.active{background:#e8f8f1;color:#19875e}.mes-list-item em.paused{background:#fff5df;color:#a66a00}.mes-empty{padding:35px 18px;text-align:center;color:#7c8799}.mes-pagination{display:flex;justify-content:center;align-items:center;gap:12px}.mes-pagination button{background:#edf3ff;color:#245ac4}.mes-pagination button:disabled,.mes-body button:disabled{opacity:.45}.mes-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:15px}.mes-presets button{background:#f0f4fa;color:#315079}.mes-history-row{display:grid;gap:5px;padding:14px 16px;border-bottom:1px solid #edf0f5}.mes-history-row:last-child{border-bottom:0}.mes-history-row span{font-size:12px;color:#8590a2}.mes-history-row strong{font-size:14px}.mes-detail-actions{display:grid;gap:10px}.mes-detail-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mes-detail-actions button{width:100%;min-height:44px}.mes-injected-service .service-icon span{font-size:17px}.mes-injected-service .row-price span{font-size:24px;font-weight:400}.mes-month-trx{display:block!important;margin-top:3px}.mini-energy-overlay button{-webkit-tap-highlight-color:transparent}.mini-energy-overlay button:active:not(:disabled){transform:scale(.985)}
@media(max-width:370px){.mini-energy-overlay{padding-left:12px;padding-right:12px}.mes-balances,.mes-actions{grid-template-columns:1fr}.mes-header h1{font-size:22px}}

/* V2.25: theme-aware energy screens and compact commercial payment hierarchy */
.mes-energy-confirm>h3{margin:17px 0 9px;font-size:13px;color:#657187}
.mes-energy-confirm .mes-balances{margin:0}
.mes-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mes-payment-grid .mes-pay{display:flex;align-items:center;gap:10px;text-align:left;background:#f3f6fa;color:#152033;border:1px solid #e5eaf1}
.mes-payment-grid .mes-pay>span:last-child{display:grid;gap:3px;min-width:0}
.mes-payment-grid .mes-pay strong{font-size:13px;white-space:nowrap}
.mes-payment-grid .mes-pay small{font-size:10px;color:#738096;white-space:normal}
.mes-pay-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;color:#fff;font-weight:800}
.mes-pay-icon.usdt{background:#26a17b}.mes-pay-icon.trx{background:#ef3340;font-size:11px}
.mes-chain{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;margin-top:10px;padding:11px 13px;border:1px solid #cbdcf9;border-radius:13px;background:#eef4ff;color:#225bc2;text-align:left}
.mes-chain>span:nth-child(2){display:grid;gap:3px}.mes-chain strong{font-size:13px}.mes-chain small{font-size:10px;color:#6b7f9e}.mes-chain b{font-size:22px;font-weight:400}.mes-chain-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#dce8ff;font-size:18px}
.mes-theme-dark{background:#0b0d10!important;color:#f3f5f7!important}
.mes-theme-dark .mes-header h1{color:#f3f5f7}.mes-theme-dark .mes-back{background:#1a1f25;color:#f3f5f7;box-shadow:none}
.mes-theme-dark .mes-intro,.mes-theme-dark .mes-card,.mes-theme-dark .mes-summary,.mes-theme-dark .mes-list{background:#15191e;border-color:#292f37;box-shadow:0 10px 28px #0004}
.mes-theme-dark .mes-intro p,.mes-theme-dark .mes-guide p,.mes-theme-dark .mes-confirm p{color:#9ba6b4}
.mes-theme-dark .mes-card label{color:#a9b3c0}.mes-theme-dark .mes-card input{background:#0e1216;border-color:#303741;color:#f3f5f7}.mes-theme-dark .mes-card input::placeholder{color:#6f7986}
.mes-theme-dark .mes-card dl div{border-color:#292f37}.mes-theme-dark .mes-card dt{color:#8995a5}.mes-theme-dark .mes-card dd{color:#f3f5f7}
.mes-theme-dark .mes-energy-confirm>h3{color:#a8b2c0}
.mes-theme-dark .mes-token{background:#11151a;border-color:#303740}.mes-theme-dark .mes-token span:not(.mes-token-icon){color:#9ba6b4}.mes-theme-dark .mes-token strong{color:#f5f7fa}
.mes-theme-dark .mes-payment-grid .mes-pay{background:#1b2026;border-color:#303740;color:#f5f7fa}.mes-theme-dark .mes-payment-grid .mes-pay small{color:#a4afbd}
.mes-theme-dark .mes-chain{background:#15233a;border-color:#294d7f;color:#65a2ff}.mes-theme-dark .mes-chain small{color:#94a6c1}.mes-theme-dark .mes-chain-icon{background:#203b64}
.mes-theme-dark .mes-secondary{background:#182942;color:#6aa5ff}.mes-theme-dark .mes-danger{background:#351b21;color:#ff7584}
.mes-theme-dark .mes-notice{color:#8f9baa}.mes-theme-dark .mes-notice.error,.mes-theme-dark .mes-warning{color:#ff7584}
.mes-theme-dark .mes-summary span{color:#8f9baa}.mes-theme-dark .mes-summary strong{color:#f4f6f8}
.mes-theme-dark .mes-list-item{background:#15191e;border-color:#292f37;color:#f3f5f7}.mes-theme-dark .mes-list-item small{color:#8f9baa}
.mes-theme-dark .mes-empty{color:#8f9baa}.mes-theme-dark .mes-pagination button,.mes-theme-dark .mes-presets button{background:#1a2940;color:#74aaff}.mes-theme-dark .mes-history-row{border-color:#292f37}.mes-theme-dark .mes-history-row span{color:#8995a5}
@media(max-width:370px){.mes-payment-grid{grid-template-columns:1fr}.mes-chain{margin-top:9px}}