﻿:root{--card-bg:#1b2232;--inner-bg:#030712;--primary-color:#ffffff;--secondary-color:#a1a1aa;--accent-gradient:linear-gradient(90deg, #26A17B 20%, #EF0027 80%)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{margin:0;padding:0;font-family:Inter,sans-serif;color:var(--primary-color);min-height:100vh}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{margin:0;padding:0;font-family:Inter,sans-serif;color:var(--primary-color);min-height:100vh}body::before{content:"";position:fixed;inset:0;background:url('/img/bg-large.png') no-repeat center center;background-size:cover;z-index:-1;opacity:1}.container{max-width:500px;width:100%;padding:0 16px;margin:0 auto}.topbar{height:70px;display:flex;justify-content:space-between;align-items:center;padding-top:20px}.topbar .right-controls{display:flex;align-items:center;gap:10px}.topbar .right-controls .wallet,.topbar .right-controls button{background-color:#1b2232;border:none;border-radius:5px;padding:5px 8px;color:#fff;font-size:13px;cursor:pointer}.logo{display:flex;align-items:center;gap:10px}.logo img{height:48px}.logo span{font-family:Lobster,cursive;font-size:22px;color:#fff}.trx-image img{height:38px;width:auto;margin:0 16px;display:block}.trx-image{display:flex;justify-content:flex-end;align-items:center;flex:1}.wallet-balance{font-family:'SF Pro Display','Roboto Mono','Courier New',monospace;font-weight:600;font-size:14px;letter-spacing:.3px;color:#26a17b;text-shadow:0 0 4px rgba(0,255,208,.3)}.faq-section,.swap-container{background-color:var(--card-bg);border-radius:20px;padding:15px;box-shadow:0 8px 24px rgba(0,0,0,.6);margin-top:20px}.swap-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;overflow:visible}.swap-header{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:600;margin-bottom:18px}.swap-icons button,.swap-title{background-color:var(--inner-bg);border-radius:12px;padding:6px 12px;color:var(--primary-color);font-weight:600;font-size:16px;border:none}.swap-refresh-btn{background-color:var(--inner-bg);border-radius:15px;padding:6px;color:var(--primary-color);border:none;cursor:pointer;transition:transform .3s ease;display:flex;align-items:center;justify-content:center}.swap-refresh-btn:hover svg{transform:rotate(90deg)}.swap-icons{display:flex;gap:8px}.swap-box{background-color:var(--inner-bg);border-radius:14px;padding:20px;margin-bottom:20px;transition:border .3s ease;border:2px solid transparent}.swap-box.active{border:2px solid #16ffa3}.token-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.token-info{display:flex;align-items:center;gap:10px;flex-shrink:0}.token-info img{width:24px;height:24px}.token-select{background-color:#1b2232;color:#fff;border:none;border-radius:10px;padding:8px 14px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:15px}.amount-input{flex:1;min-width:0;background:0 0;border:none;color:#fff;font-size:22px;text-align:right;width:120px}.amount-input:focus{outline:0}.switch-arrow{text-align:center;font-size:24px;color:var(--secondary-color);margin:12px 0;color:#fff}.swap-button{width:100%;padding:16px;background:var(--accent-gradient);color:#fff;font-weight:700;border:none;border-radius:16px;cursor:pointer;font-size:17px}.faq-section h2{color:var(--primary-color);font-size:18px;margin-bottom:16px}.faq-section p{margin:8px 0}.faq-box{background-color:var(--inner-bg);border-radius:12px;padding:12px 16px;margin-bottom:12px}.faq-question-wrapper{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.faq-question{background:0 0;color:var(--primary-color);border:none;text-align:left;width:100%;font-size:16px;font-weight:600;padding:0;cursor:pointer}.faq-arrow{flex-shrink:0;transition:transform .25s ease}.faq-box.open .faq-arrow{transform:rotate(180deg)}.faq-answer{display:none;margin-top:8px;font-size:14px;color:var(--secondary-color)}.faq-box.open .faq-answer{display:block}.disclaimer-section{background-color:var(--card-bg);border-radius:20px;padding:15px;box-shadow:0 8px 24px rgba(0,0,0,.6);margin-top:20px;font-size:14px;color:var(--secondary-color);line-height:1.6}.disclaimer-section h2{color:var(--primary-color);font-size:18px;margin-bottom:12px}.email-link{color:#26a17b;text-decoration:underline}.wallet-modal{position:fixed;top:0;right:-100%;width:100%;max-width:500px;height:100vh;background:#111827;box-shadow:-4px 0 12px rgba(0,0,0,.5);z-index:9999;transition:right .4s ease;display:flex;flex-direction:column;padding:20px;overflow-y:auto}.wallet-modal.active{right:0}.wallet-modal-content{color:#fff}.wallet-modal-header h2{margin:0 0 4px;font-size:20px}.wallet-modal-header p{font-size:14px;color:#94a3b8;margin-bottom:16px}.close-button{position:absolute;top:18px;right:16px;background:0 0;border:none;color:#fff;font-size:26px;cursor:pointer}.wallet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:16px;flex-grow:1;overflow-y:auto}.wallet-tip-highlight{display:flex;align-items:center;gap:10px;margin-top:20px;padding:14px 16px;background-color:#1e293b;border-radius:10px;color:#f1f5f9;font-size:13.5px;line-height:1.6;box-shadow:0 0 0 1px rgba(255,255,255,.05)}.wallet-tip-highlight strong{color:#fff}.wallet-card{background-color:#030712;border-radius:12px;padding:12px;text-align:center;cursor:pointer;transition:transform .2s}.wallet-card:hover{transform:scale(1.05)}.wallet-card img{border-radius:12px;width:36px;height:36px;margin-bottom:8px}.need-install{border-left:4px solid #ef4444}.fade-out{opacity:0;transition:opacity .3s ease}.fade-in{opacity:1;transition:opacity .3s ease}.settings-panel{position:absolute;top:calc(100% + 5px);right:0;width:160px;background-color:var(--card-bg);border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.3);padding:12px;z-index:9999;display:none}.settings-panel.active{display:block}.language-options{display:flex;flex-direction:column;gap:6px;text-align:left;padding:8px 6px}.lang-option{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:8px;background-color:var(--inner-bg,#1e1e2f);color:var(--primary-color,#fff);cursor:pointer;font-size:14px;transition:background .2s,color .2s}.lang-option:hover{background-color:var(--secondary-color,#444c66);color:#fff}.lang-option img{width:18px;flex-shrink:0;border-radius:3px;box-shadow:0 0 2px rgba(0,0,0,.2)}#languagePanel{border-radius:10px;padding:2px;box-shadow:0 10px 20px rgba(0,0,0,.4);margin-top:6px}.exchange-rate-row{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:13px;font-weight:600;color:var(--secondary-color)}.exchange-rate-row .label{color:#26a17b}.exchange-rate-row .value{color:#ef0027}.toast-panel{background-color:#030712;color:#fff;border-radius:12px;padding:20px 24px;margin-top:12px;width:100%;max-width:420px;min-height:88px;box-shadow:0 0 0 2px rgba(255,255,255,.04),0 0 32px 4px rgba(37,200,143,.3),0 8px 32px rgba(0,0,0,.55);pointer-events:auto;opacity:0;transform:translateY(40px);transition:all .4s ease;position:relative;font-family:sans-serif;display:flex;flex-direction:column;justify-content:center;border-left:6px solid #25c88f;border-right:6px solid #ff3b3b}.toast-animate-in{opacity:1;transform:translateY(0)}.toast-animate-out{opacity:0;transform:translateY(30px);transition:all .4s ease}.toast-panel.visible{opacity:1;transform:translateY(0) translateX(0)}.toast-panel h4{font-size:18px;font-weight:700;margin:0 0 10px 0;line-height:1.3}.toast-panel p{font-size:15px;margin:0;display:flex;align-items:flex-start;line-height:1.5;word-break:break-word;white-space:normal}.toast-panel .icon{margin-right:6px;font-size:17px;color:#4da6ff}.toast-panel .close-btn{position:absolute;top:10px;right:12px;font-size:16px;cursor:pointer;color:#999}.balls.chasing{width:18px;height:18px;display:inline-block;position:relative;animation:chasing-spin 1s linear infinite;vertical-align:middle}.balls.chasing::after,.balls.chasing::before{content:"";position:absolute;top:0;width:6px;height:6px;background:#fff;border-radius:50%}.balls.chasing::before{left:0;background:#00ffd1}.balls.chasing::after{right:0;background:#ff4c61}.balls.chasing::before{left:0}.balls.chasing::after{right:0}.btn-disabled{color:#ccc!important;cursor:not-allowed}.wallet-disconnect-panel{display:none;position:absolute;top:120%;right:0;background:#1b2232;padding:6px 10px;border-radius:6px;box-shadow:0 0 10px rgba(0,0,0,.3);font-size:13px;color:#fff;z-index:10}.wallet-disconnect-btn{cursor:pointer;background-color:#030712;padding:6px 10px;border-radius:4px;transition:background-color .2s}.wallet-disconnect-btn:hover{background-color:#253044}.wallet-info-box{display:none;align-items:center;gap:2px;cursor:pointer;background-color:#1b2232;padding:5px 8px;border-radius:5px;font-size:13px;font-weight:500;color:#fff;white-space:nowrap;height:24px;line-height:1;position:relative}.section-header{margin-bottom:8px;font-size:16px;color:var(--secondary-color);font-weight:600;display:flex;justify-content:space-between;align-items:center}.dot-loader{display:flex;justify-content:center;align-items:center;gap:6px;height:24px}.dot-loader span{width:8px;height:8px;border-radius:50%;animation:bounce .6s infinite ease-in-out}.dot-loader span:first-child{background-color:#22c55e;animation-delay:0s}.dot-loader span:nth-child(2){background-color:#ef4444;animation-delay:.3s}@keyframes bounce{0%,100%,80%{transform:translateY(0)}40%{transform:translateY(-10px)}}@keyframes chasing-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes rotate-once{from{transform:rotate(0)}to{transform:rotate(360deg)}}.rotate-once{animation:rotate-once .5s ease-in-out}@media (max-width:768px){.container{padding:0 20px}}.i-local\:tg-s4{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' flex='none' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cg id='组_58' data-name='组 58' transform='translate(-1448 -23)'%3E%3Ccircle id='椭圆_1' data-name='椭圆 1' cx='15' cy='15' r='15' transform='translate(1448 23)' fill='%23266ef1'/%3E%3Cpath id='路径_2' data-name='路径 2' d='M332.045,240.734l4.361,1.8,2.612-15.137-16.278,8.963,4.31,2.307,8.773-7.872-7.049,8.672-.025,4.082Z' transform='translate(1131.261 -197.397)' fill='%23e2e8f2'/%3E%3C/g%3E%3C/svg%3E") no-repeat;background-color:transparent;background-size:100% 100%;display:inline-block;flex:none;height:1em;vertical-align:middle;width:1em}.faq-arrow,.i-local\:faq-arrow{display:inline-block;width:1em;height:1em;background-color:currentColor;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M6 7l6 6 6-6"/><path d="M6 15l6 6 6-6"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M6 7l6 6 6-6"/><path d="M6 15l6 6 6-6"/></svg>')}.i-local\:mail{display:inline-block;width:1em;height:1em;background-color:#fdf6e3;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M4 4h16c1.1 0 2 .9 2 2v12a2 2 0 0 1-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M4 4h16c1.1 0 2 .9 2 2v12a2 2 0 0 1-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>')}.i-local\:rotate-cw{display:inline-block;width:1em;height:1em;background-color:currentColor;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/></svg>')}.i-local\:approve-icon{display:inline-block;width:1em;height:1em;background-color:currentColor;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1"/><path d="M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1"/><path d="M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4"/></svg>')}.i-local\:arrow-down-up{display:inline-block;width:1em;height:1em;background-color:currentColor;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="m3 16 4 4 4-4"/><path d="M7 20V4"/><path d="m21 8-4-4-4 4"/><path d="M17 4v16"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="m3 16 4 4 4-4"/><path d="M7 20V4"/><path d="m21 8-4-4-4 4"/><path d="M17 4v16"/></svg>')}.i-local\:info-question{display:inline-block;width:4.5em;height:4.5em;background-color:#26a17b;mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 1 1 5.91 1c0 2-3 2-3 4"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 1 1 5.91 1c0 2-3 2-3 4"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>')}.i-local\:copy{display:inline-block;width:4.5em;height:4.5em;background-color:#26a17b;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"/></svg>');-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"/></svg>');mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}
