.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;justify-content:center;align-items:center;z-index:1000}.send-modal{background:#1A1D26;border-radius:16px;width:90%;max-width:420px!important;max-height:90vh;overflow-y:auto;overflow-x:hidden;padding:24px}.send-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.send-modal-title{display:flex;align-items:center;gap:12px}.send-modal-title h2{margin:0;font-size:20px;color:#fff}.send-modal-title-logo{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.1)}.send-modal-title-logo[src="/generic_token.svg"]{background:linear-gradient(135deg,#3B82F6 0%,#60A5FA 100%);padding:2px;border:2px solid #60A5FA}.send-modal-content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.send-modal-recipient{display:flex;flex-direction:column;gap:8px;width:100%}.send-modal-recipient label{color:#8f96a1;font-size:14px}.send-modal-principal-input{width:100%;padding:12px;background:#2A2E3A;border:1px solid transparent;border-radius:8px;color:#fff;font-size:14px;font-family:Roboto Mono,monospace;box-sizing:border-box}.send-modal-principal-input:focus{outline:none;border-color:#3b82f6}.send-modal-amount{background:#2A2E3A;border-radius:12px;padding:16px;width:100%;box-sizing:border-box}.send-modal-amount-row{margin-bottom:16px}.send-modal-amount-input{width:100%;padding:8px 0;background:transparent;border:none;color:#fff;font-size:32px;font-weight:500;text-align:right}.send-modal-amount-input::placeholder{color:#ffffff4d}.send-modal-amount-input:focus{outline:none}.send-modal-amount-details{border-top:1px solid rgba(255,255,255,.1);padding-top:16px}.send-modal-balance{display:flex;justify-content:space-between;align-items:center;color:#8f96a1;font-size:14px}.send-modal-max{background:transparent;border:1px solid #3b82f6;color:#3b82f6;padding:2px 8px;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s ease}.send-modal-max:hover:not(:disabled){background:#3b82f6;color:#fff}.send-modal-max:disabled{opacity:.5;cursor:not-allowed}.send-modal-error{color:#ef4444;font-size:14px;padding:8px 12px;background:rgba(239,68,68,.1);border-radius:8px}.send-modal-proceed,.send-modal-confirm,.send-modal-close-success{width:100%;padding:12px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;background:#3b82f6;color:#fff}.send-modal-proceed:hover:not(:disabled),.send-modal-confirm:hover:not(:disabled),.send-modal-close-success:hover:not(:disabled){opacity:.9}.send-modal-proceed:disabled,.send-modal-confirm:disabled,.send-modal-close-success:disabled{opacity:.5;cursor:not-allowed}.send-modal-confirm{display:flex;flex-direction:column;gap:16px;background:#1A1D26;border-radius:12px}.send-modal-confirm-details{background:#2A2E3A;border-radius:12px;padding:16px;margin-bottom:16px}.send-modal-confirm-details h3{margin:0 0 16px;color:#fff;font-size:16px;font-weight:500}.send-modal-detail-row{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 0;color:#8f96a1;font-size:14px;border-bottom:1px solid rgba(255,255,255,.1)}.send-modal-detail-row:last-child{border-bottom:none}.send-modal-detail-row>span:first-child{flex-shrink:0;padding-right:16px}.send-modal-detail-row.total{margin-top:8px;padding-top:16px;border-top:2px solid rgba(255,255,255,.1);border-bottom:none;color:#fff;font-weight:500}.send-modal-principal{font-family:Roboto Mono,monospace;font-size:12px;word-break:break-all;text-align:right;max-width:200px;color:#8f96a1}.send-modal-confirm-account{display:flex;flex-direction:column;gap:8px;text-align:right;max-width:100%}.send-modal-confirm-account .send-modal-long-account{font-family:Roboto Mono,monospace;font-size:12px;word-break:break-all;padding:8px 12px;background:#1A1D26;border-radius:6px;color:#fff;line-height:1.4}.send-modal-confirm-account small{color:#8f96a1;font-size:12px;margin-top:4px}.send-modal-confirm-account .send-modal-principal,.send-modal-confirm-account .send-modal-subaccount{font-family:Roboto Mono,monospace;font-size:12px;word-break:break-all;color:#fff;background:#1A1D26;padding:8px 12px;border-radius:6px;line-height:1.4}.send-modal-confirm-account .send-modal-subaccount{margin-top:4px}.send-modal-confirm-account .account-section{display:flex;flex-direction:column;gap:4px;padding:8px 12px;background:#1A1D26;border-radius:6px}.send-modal-confirm-account .account-section-label{color:#8f96a1;font-size:12px;text-align:left;margin-bottom:2px}.send-modal-confirm-account .account-section-value{font-family:Roboto Mono,monospace;font-size:12px;word-break:break-all;color:#fff;text-align:left;line-height:1.4}.send-modal-confirm-buttons{display:flex;gap:12px;margin-top:20px}.send-modal-back,.send-modal-confirm{flex:1;padding:12px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.send-modal-back{background:#2A2E3A;color:#fff}.send-modal-back:hover:not(:disabled){background:#363B47}.send-modal-confirm{background:#3b82f6;color:#fff}.send-modal-confirm:hover:not(:disabled){opacity:.9}.send-modal-back:disabled,.send-modal-confirm:disabled{opacity:.5;cursor:not-allowed}.send-modal-success{text-align:center;padding:20px 0}.send-modal-success-message{color:#22c55e;font-size:20px;font-weight:500;margin-bottom:20px}.send-modal-tx-details{background:#2A2E3A;border-radius:12px;padding:16px;margin-bottom:20px}.send-modal-tx-details p{color:#8f96a1;margin:0 0 8px}.send-modal-tx-details code{color:#fff;font-family:Roboto Mono,monospace;font-size:13px;word-break:break-all}.send-modal-close-success{background:#22c55e;color:#fff}.send-modal-close-success:hover{opacity:.9}.skeleton{background:linear-gradient(90deg,rgba(255,255,255,.1) 25%,rgba(255,255,255,.15) 37%,rgba(255,255,255,.1) 63%);background-size:400% 100%;animation:skeleton-loading 1.4s ease infinite}@keyframes skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.send-modal-token,.send-modal-token-logo,.send-modal-token-symbol,.send-modal-token-name,.send-modal-token-id,.send-modal-token-fee,.send-modal-token.loading,.send-modal-token-logo.skeleton,.send-modal-token-symbol.skeleton,.send-modal-token-name.skeleton{display:none}.send-modal-subaccount{margin-top:16px}.send-modal-subaccount-toggle{display:flex;align-items:center;gap:8px;color:#8f96a1;font-size:14px;cursor:pointer}.send-modal-subaccount-toggle input[type=checkbox]{margin:0;width:16px;height:16px;accent-color:#3b82f6}.send-modal-subaccount-inputs{margin-top:12px;padding:16px;background:#2A2E3A;border-radius:8px;display:flex;flex-direction:column;gap:12px;width:100%;box-sizing:border-box}.send-modal-subaccount-type select{width:100%;padding:8px 12px;background:#1A1D26;border:1px solid #363B47;border-radius:6px;color:#fff;font-size:14px;cursor:pointer}.send-modal-subaccount-type select:focus{outline:none;border-color:#3b82f6}.send-modal-subaccount-value{width:100%}.send-modal-subaccount-value input{width:100%;padding:8px 12px;background:#1A1D26;border:1px solid #363B47;border-radius:6px;color:#fff;font-size:14px;font-family:Roboto Mono,monospace;box-sizing:border-box}.send-modal-subaccount-value input:focus{outline:none;border-color:#3b82f6}.send-modal-subaccount-preview{margin-top:12px;padding-top:12px;border-top:1px solid #363B47}.send-modal-subaccount-preview small{display:block;color:#8f96a1;font-size:12px;margin-bottom:4px}.send-modal-subaccount-preview code{display:block;padding:8px 12px;background:#1A1D26;border-radius:6px;font-family:Roboto Mono,monospace;font-size:12px;color:#fff;word-break:break-all;margin-bottom:12px;height:30px}.send-modal-encode-button{width:100%;padding:8px;background:#3b82f6;border:none;border-radius:6px;color:#fff;font-size:14px;cursor:pointer;transition:opacity .2s}.send-modal-encode-button:hover:not(:disabled){opacity:.9}.send-modal-encode-button:disabled{opacity:.5;cursor:not-allowed}.send-modal-parsed-account{margin-top:12px;padding:12px;background:#2A2E3A;border-radius:8px;font-size:14px}.send-modal-parsed-account small{display:block;color:#8f96a1;margin-bottom:8px}.send-modal-parsed-account div{color:#fff;font-family:Roboto Mono,monospace;word-break:break-all;line-height:1.4}.send-modal-account-error{margin-top:8px;color:#ef4444;font-size:14px}.send-modal-source{background-color:var(--background-light);border-radius:8px;padding:.75rem;margin-bottom:.5rem}.source-label{font-size:.9rem;color:var(--text-secondary);margin-bottom:.5rem}.subaccount-formats{display:flex;flex-direction:column;gap:.5rem}.format-row{display:flex;align-items:baseline;gap:.5rem}.format-label{font-size:.85rem;color:var(--text-secondary);min-width:4rem}.source-subaccount{font-family:monospace;font-size:.9rem;background-color:var(--background-dark);padding:.25rem .5rem;border-radius:4px;word-break:break-all;flex:1}.send-modal-subaccount-select{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background-color:#fff;font-size:14px;color:#1a202c;margin-top:8px;transition:all .2s}.send-modal-subaccount-select:hover{border-color:#cbd5e0}.send-modal-subaccount-select:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e133}.send-modal-subaccount-select:disabled{background-color:#f7fafc;cursor:not-allowed}.send-modal-subaccount-select option{padding:8px}.token-select{width:auto;min-width:140px;max-width:180px;position:relative;display:flex;flex-direction:column;gap:4px;flex:0 0 auto}.token-select-button{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:none;color:#fff;font-size:16px;padding:8px 12px;cursor:pointer;border-radius:8px;transition:background-color .2s;width:100%;min-height:44px;justify-content:space-between;text-align:left;position:relative;z-index:1}.token-select-button *{pointer-events:none}.token-select-button:hover{background:rgba(255,255,255,.15)}.token-select-button:active{background:rgba(255,255,255,.2)}.token-balance-display{color:#8f96a1;font-size:14px;margin-left:auto;padding-right:8px;font-family:monospace}.token-logo-wrapper{position:relative;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.token-logo{width:32px;height:32px;border-radius:50%;object-fit:cover;background:rgba(0,0,0,.2)}.token-logo.placeholder{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);font-size:10px;color:#ffffff80;width:20px;height:20px}.token-logo.loading{animation:pulse 1.5s infinite;background:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.2),rgba(255,255,255,.1));background-size:200% 100%}.token-logo-loading{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);border-radius:50%;color:#fff;font-size:10px}.token-symbol-wrapper{display:flex;align-items:center;gap:8px}.token-name{color:var(--text-secondary);font-size:.9em}.token-id{color:var(--text-tertiary);font-size:.8em}.token-details{display:flex;flex-direction:column;min-width:0;flex:1}.token-standard{color:var(--text-secondary);font-size:.8em;padding:2px 6px;background:rgba(255,255,255,.1);border-radius:4px;display:inline-flex;align-items:center;white-space:nowrap;height:16px;line-height:16px}.token-metadata{font-size:14px;color:#8f96a1;margin-top:8px}.label-row{display:flex;justify-content:space-between;align-items:center;width:100%;height:20px!important;margin:2px 0!important;padding:0!important}.balance-label{display:flex;align-items:center;gap:4px;color:#8f96a1;font-size:13px;height:20px!important;line-height:20px!important;padding:0!important}.balance-label .wallet-icon{font-size:14px;width:14px!important;height:14px!important;display:flex!important;align-items:center!important;justify-content:center!important}.balance-label .spinner{font-size:14px;width:14px!important;height:14px!important;margin-left:4px!important;animation:spin 1s linear infinite}.balance-label .wallet-icon.loading{animation:spin 1s linear infinite}.balance-label .balance-amount{font-family:Roboto Mono,monospace;min-width:60px!important;text-align:left!important;color:#8f96a1}.balance-label.loading{color:inherit;font-style:normal}.balance-label.error{color:var(--error-red)}.token-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;justify-content:center;align-items:center;z-index:1000}.token-modal{background:#1A1D26;border-radius:16px;width:90%;max-width:var(--modal-width);min-width:280px;height:480px;display:flex;flex-direction:column;padding:20px!important;overflow:hidden;box-sizing:border-box}.token-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.token-modal-header h2{margin:0;font-size:20px;color:#fff}.close-button{background:transparent;border:none;color:#8f96a1;cursor:pointer;padding:8px}.token-modal-warning{background:rgba(255,255,255,.1);border-radius:8px;padding:12px;margin-bottom:16px;font-size:14px;color:#8f96a1}.token-modal .token-selector-search{position:relative!important;margin-bottom:16px!important;width:100%!important;max-width:var(--modal-width)!important}.token-modal .token-selector-search .token-selector-search-icon{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;color:#8f96a1!important;font-size:16px!important}.token-modal .token-selector-search input.token-selector-search-input{width:100%!important;padding:12px 12px 12px 36px!important;background:rgba(255,255,255,.1)!important;border:none!important;border-radius:8px!important;color:#fff!important;font-size:16px!important;margin:0!important;outline:none!important;box-sizing:border-box!important}.token-modal .token-selector-search input.token-selector-search-input:focus{outline:none;border:none;box-shadow:none}.token-modal .token-selector-search input.token-selector-search-input::placeholder{color:#8f96a1}.popular-tokens{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.popular-token-button{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:none;color:#fff;padding:8px 12px;border-radius:20px;cursor:pointer;transition:background-color .2s}.popular-token-button:hover{background:rgba(255,255,255,.2)}.token-list-section{flex:1;overflow:hidden;margin-top:16px;display:flex;flex-direction:column;width:100%!important;box-sizing:border-box}.token-list-section h3{margin:0 0 8px;color:var(--text-secondary);font-size:14px;font-weight:400;padding:0 4px}.token-list{flex:1;overflow-y:auto;overflow-x:hidden;padding-right:4px;margin-right:-4px;box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:8px}.token-list::-webkit-scrollbar{width:6px}.token-list::-webkit-scrollbar-track{background:transparent}.token-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:3px}.token-list::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}.token-list{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}.token-option{display:flex;align-items:center;justify-content:space-between;padding:12px;border:none;background:none;width:100%;box-sizing:border-box;cursor:pointer;transition:background-color .2s ease;border-radius:8px;text-align:left;min-width:0}.token-option:hover{background-color:#ffffff0d}.token-option.selected{background-color:#ffffff1a}.token-option-left{display:flex;align-items:center;gap:12px;flex:1;min-width:0;margin-right:8px;overflow:hidden}.token-option-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.token-logo-container{width:32px;height:32px;flex-shrink:0;position:relative}.token-name{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px;width:100%}.token-symbol{font-size:14px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.token-balance{display:flex;flex-direction:column;align-items:flex-end;min-width:60px;text-align:right}.token-usd-value{font-size:12px;color:var(--text-secondary);font-family:Roboto Mono,monospace;white-space:nowrap}.remove-custom-token,.remove-wallet-token,.add-to-wallet{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:none;color:var(--text-secondary);cursor:pointer;border-radius:4px;transition:all .2s ease}.remove-custom-token:hover,.remove-wallet-token:hover{color:var(--error);background-color:#ff3b301a}.add-to-wallet:hover{color:var(--success);background-color:#34c7591a}.remove-custom-token:disabled,.remove-wallet-token:disabled,.add-to-wallet:disabled{opacity:.5;cursor:not-allowed}.token-modal-actions{display:flex;align-items:center;gap:12px}.add-custom-token-button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);font-size:20px;cursor:pointer;transition:all .2s;padding:0;line-height:1}.add-custom-token-button:hover{background:var(--bg-light);color:var(--text-primary);border-color:var(--accent-blue)}.popular-token-button .token-logo,.token-select-button .token-logo{width:24px;height:24px}.remove-custom-token:disabled:hover,.remove-wallet-token:disabled:hover,.add-to-wallet:disabled:hover{color:#ffffff80!important;background:none!important}.remove-custom-token .spinner,.remove-wallet-token .spinner,.add-to-wallet .spinner{animation:spin 1s linear infinite!important;width:14px!important;height:14px!important}.modal-content,.swap-modal{overflow-y:auto;overflow-x:hidden;max-height:calc(90vh - 120px);padding-right:4px}.balance-group{display:inline-flex;align-items:flex-start;gap:2px;height:16px;line-height:16px}.balance-group .balance-text{color:#8f96a1;white-space:nowrap;font-size:14px;line-height:16px}.balance-group .separator{margin:0 4px!important;color:#8f96a1;display:inline;white-space:nowrap;font-size:14px;line-height:16px}.balance-group .balance-usd-value{color:#6b7280;white-space:nowrap;font-size:11x;line-height:16px}.max-button{padding:0;height:16px;line-height:16px;background:rgba(255,255,255,.1);border:none;border-radius:0;color:var(--primary-color);cursor:pointer;font-size:10px;transition:all .2s ease;margin-right:2px}.wallet-button{all:unset;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .2s ease!important;color:#8f96a1!important;padding:0!important;position:relative!important;width:14px!important;height:14px!important}.wallet-button.loading{color:#3b82f6!important}.wallet-button .wallet-icon,.wallet-button .spinner{width:14px!important;height:14px!important;display:flex!important;align-items:center!important;justify-content:center!important}.wallet-button:hover{color:#3b82f6!important;transform:scale(1.1)!important}.balance-amount{display:inline-flex!important;align-items:center!important;gap:2px!important;opacity:1!important;transition:opacity .2s ease!important}.balance-amount.loading{opacity:.5}.max-button:disabled{opacity:.5!important;cursor:not-allowed!important}.balance-text,.balance-usd-value,.separator{transition:opacity .2s ease!important}.balance-group .balance-text.loading,.balance-group .balance-usd-value.loading,.balance-group .separator.loading{opacity:.5!important}@media (max-width: 480px){.token-modal{width:100%;height:100%;border-radius:0;padding:16px!important}.token-option{padding:10px}.token-balance{min-width:50px}.token-option-left{gap:8px}}.add-custom-token-modal{background:var(--bg-dark);border-radius:16px;width:100%;max-width:420px;position:relative;overflow:hidden;box-shadow:0 4px 32px #0006}.add-custom-token-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border-color);width:92%}.add-custom-token-modal .modal-header h2{margin:0;font-size:18px;font-weight:500;color:var(--text-primary)}.add-custom-token-modal .modal-content{padding:16px;width:92%}.add-custom-token-modal .input-group{margin-bottom:16px}.add-custom-token-modal .input-group label{display:block;margin-bottom:8px;color:var(--text-secondary);font-size:14px}.add-custom-token-modal .input-group input{width:100%;padding:12px;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-size:16px;font-family:var(--font-mono)}.add-custom-token-modal .input-group input:focus{outline:none;border-color:var(--accent-blue)}.add-custom-token-modal .input-group input:disabled{opacity:.7;cursor:not-allowed}.add-custom-token-modal .error-message{color:var(--error-red);font-size:14px;margin-bottom:16px;padding:8px 12px;background:rgba(255,59,48,.1);border-radius:8px}.add-custom-token-modal .submit-button{width:100%;padding:12px;background:var(--accent-blue);border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.add-custom-token-modal .submit-button:hover:not(:disabled){background:var(--accent-blue-hover)}.add-custom-token-modal .submit-button:disabled{opacity:.7;cursor:not-allowed}.add-custom-token-modal .spinner{animation:spin 1s linear infinite}.swap-amounts{background:var(--bg-darker);border-radius:12px;padding:16px;margin-bottom:24px;width:100%;box-sizing:border-box}.amount-section{display:flex;flex-direction:column;width:100%;gap:8px;margin-bottom:16px}.amount-row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:8px 0}.amount-row:first-child{padding-top:0}.amount-row:last-child{padding-bottom:0}.amount-label{color:var(--text-secondary);font-size:14px;flex-shrink:0}.amount-content{display:flex;align-items:center;gap:8px}.main-amount{display:flex;align-items:center;gap:8px;width:100%;justify-content:flex-end}.token-logo{width:20px;height:20px;border-radius:50%;flex-shrink:0}.token-logo-small{width:16px;height:16px;border-radius:50%;flex-shrink:0}.amount-value{font-size:16px;color:var(--text-primary);text-align:right;word-break:break-word;white-space:normal}.split-amounts{display:flex;flex-direction:column;width:100%;gap:4px;margin-top:8px}.split-amount{font-size:12px;color:var(--text-secondary);width:100%;display:flex;align-items:center;gap:8px;word-break:break-word;white-space:normal}.status-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.status-icon.loading{color:#2172e5;animation:spin 1s linear infinite}.status-icon.pending{color:#8f96a1;font-size:12px}.status-icon.skipped{color:#2172e5;font-size:16px;font-weight:700}.optimization-message{color:#2172e5;font-size:12px;margin-left:8px;margin-right:auto}.step-info{display:flex;flex-direction:column;flex:1;min-width:0}.step-title{font-size:14px;font-weight:500}.optimization-message{color:#2172e5;font-size:12px;margin-top:2px}.header-content{display:flex;align-items:center;gap:12px}.collapse-button{background:transparent;border:none;color:#8f96a1;font-size:20px;cursor:pointer;padding:4px 8px;display:flex;align-items:center;justify-content:center;transition:transform .2s ease;transform:rotate(180deg)}.collapse-button.expanded{transform:rotate(0)}.swap-execution{width:100%;transition:max-height .3s ease-out;overflow:hidden}.swap-execution.expanded{max-height:1000px}.swap-execution.collapsed{max-height:0}.swap-summary{background:var(--bg-darker);border-radius:12px;padding:12px;margin-bottom:16px;display:flex;flex-direction:column;align-items:center;gap:8px}.swap-execution-header{cursor:pointer;padding:16px;border-radius:12px;transition:background-color .2s ease;margin-bottom:16px}.swap-execution-header:hover{background:rgba(255,255,255,.05)}.swap-execution-header .swap-summary{margin-bottom:12px;background:none;padding:0}.swap-execution-header .compact-progress{display:block;margin-bottom:0;padding:0;cursor:default}.swap-execution-header .compact-progress:hover{background:none}.token-pair{display:flex;align-items:center;gap:12px}.token-pair .token-logo{width:28px;height:28px;border-radius:50%}.swap-amounts-summary{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-secondary)}.arrow{color:var(--text-secondary);font-weight:500}.execution-content{transition:all .3s ease-out;overflow:hidden}.execution-content.expanded{max-height:none}.execution-content.collapsed{max-height:0}.current-step .status-icon{width:14px;height:14px;display:flex;align-items:center;justify-content:center}.current-step .status-icon.loading{animation:spin 1s linear infinite;color:#25b273}.current-step .status-icon.complete{color:#25b273}.current-step .status-icon.error{color:#ff4d4d}.split-details{display:flex;flex-direction:column;width:100%;gap:8px}.split-info-header{font-size:14px;color:var(--text-secondary);margin-bottom:8px}.split-info-content{display:flex;flex-direction:column;gap:4px}.split-info-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.split-info-label{font-size:13px;color:var(--text-secondary)}.split-info-amount{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-primary)}.split-info-item{background:rgba(255,255,255,.02);border-radius:8px;padding:12px;margin-bottom:8px}.split-info-item:last-child{margin-bottom:0}.split-fees,.split-impacts,.split-minimums{display:flex;flex-direction:column;gap:4px}.split-fees span,.split-impacts span,.split-minimums span{font-size:14px;color:var(--text-secondary)}.split-impacts span.warning{color:var(--warning-orange)}.dex-steps{margin-bottom:24px}.dex-steps h4{margin:0 0 12px;font-size:16px;color:var(--text-primary)}.split-summary{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.1)}.split-summary .split-row{display:flex;justify-content:space-between;font-size:14px;color:var(--text-secondary)}.execution-steps{display:flex;flex-direction:column;gap:8px;margin:16px 0;overflow-y:visible}.execution-step{background:rgba(255,255,255,.05);border-radius:8px;overflow:hidden;width:100%;box-sizing:border-box}.execution-step.loading.expanded{width:100%;display:block;box-sizing:border-box}.execution-step.loading.expanded .step-content{width:100%;display:block;box-sizing:border-box;margin:0;padding:0}.execution-step.loading.expanded .step-details{width:100%;margin:0;padding:12px;border-radius:0;box-sizing:border-box;background:rgba(0,0,0,.2)}.step-header{display:flex;align-items:center;gap:12px;padding:12px;cursor:pointer;transition:background-color .2s ease;width:100%;box-sizing:border-box;margin:0}.step-header:hover{background:rgba(255,255,255,.1)}.step-content{padding:0;margin:0;width:100%;box-sizing:border-box;border-top:1px solid rgba(255,255,255,.1);display:block}.step-details{background:rgba(0,0,0,.2);border-radius:0;padding:12px;margin:0;width:100%;box-sizing:border-box}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:14px;line-height:1.4}.detail-row:first-child{padding-top:0}.detail-row:last-child{padding-bottom:0}.detail-row span:first-child{color:var(--text-secondary)}.detail-row span:last-child{color:var(--text-primary);text-align:right;word-break:break-all}.detail-row .monospace{font-family:monospace;font-size:12px;background:rgba(0,0,0,.2);padding:2px 4px;border-radius:4px}.step-error{background:rgba(255,77,77,.1);border-radius:8px;padding:12px;margin-top:12px;display:flex;align-items:flex-start;gap:8px}.error-icon{flex-shrink:0;margin-top:2px}.error-message{color:#ff4d4d;font-size:14px;line-height:1.4;flex:1}.step-progress{margin-top:8px}.progress-bar{height:4px;background:rgba(37,178,115,.2);border-radius:2px;overflow:hidden;position:relative}.progress-indicator{position:absolute;left:0;top:0;height:100%;width:100%;background:linear-gradient(90deg,transparent,#25B273,transparent);animation:progress 1s linear infinite}.progress-text{font-size:12px;color:var(--text-secondary);margin-top:4px;display:block;text-align:center}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(100%)}}.timer-display{font-family:monospace;font-size:14px;color:var(--text-primary);display:inline-block;text-align:right;background:none;min-width:0;padding:0}.overall-timer{margin-left:8px;font-weight:500}.step-timer{margin-left:auto;margin-right:8px}.fee-details{display:flex;flex-direction:column;gap:4px;text-align:right}.fee-details span{font-size:14px;color:var(--text-secondary)}.fee-details span:last-child{color:var(--text-primary)}@media (max-width: 480px){.split-info-item{flex-direction:column;align-items:flex-start;padding:6px 8px}.split-info-dex{margin-right:0;margin-bottom:2px}.split-info-amount{width:auto;text-align:left;justify-content:flex-start}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:0 20px;box-sizing:border-box;overflow:hidden}.swap-modal{background:var(--bg-dark);width:var(--modal-width);max-width:var(--modal-width);max-height:90vh;border-radius:24px;padding:var(--modal-padding);margin:20px 0;border:1px solid var(--border-color);box-sizing:border-box;display:flex;flex-direction:column;position:relative}.modal-content{width:100%;max-width:var(--modal-content-width);box-sizing:border-box;overflow-y:auto;overflow-x:hidden;flex:1;padding-right:8px}.modal-content::-webkit-scrollbar{width:6px}.modal-content::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:3px}.modal-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:3px}.modal-content::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}.swap-confirmation .token-logo{width:24px;height:24px;min-width:24px;min-height:24px;border-radius:50%;object-fit:cover}.execution-error{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1rem;margin-top:1rem;border-radius:8px;background-color:#ff3b301a}.execution-error .error-message{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#ff3b30}.execution-error .error-icon{width:16px;height:16px}.execution-error .close-button{padding:.5rem 1rem;border:none;border-radius:4px;background-color:#ff3b30;color:#fff;font-size:.9rem;cursor:pointer;transition:background-color .2s}.execution-error .close-button:hover{background-color:#ff2d20}.swap-warning{background:var(--bg-darker);border-radius:12px;padding:16px;margin-bottom:24px;text-align:center;font-family:Roboto Mono,monospace;font-size:24px;font-weight:700;color:var(--text-primary);letter-spacing:1px;border:1px solid rgba(255,255,255,.1);text-shadow:0 2px 4px rgba(0,0,0,.2)}.confirm-swap-button{width:100%;padding:12px;border-radius:8px;border:none;background:var(--primary-color);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.confirm-swap-button:hover:not(:disabled){background:var(--primary-color-hover)}.confirm-swap-button:disabled{background:var(--bg-darker);color:var(--text-secondary);cursor:not-allowed;opacity:.7;border:1px solid var(--border-color)}.swap-warnings{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.warning-item{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:8px;font-size:14px;line-height:1.5}.warning-item.frontrun{background:rgba(255,193,7,.1);border:1px solid rgba(255,193,7,.3);color:#ffc107}.warning-item.browserCrash{background:rgba(255,59,48,.1);border:1px solid rgba(255,59,48,.3);color:#ff3b30}.warning-item.suspended{background:rgba(255,59,48,.15);border:1px solid rgba(255,59,48,.4);color:#ff3b30}.warning-icon{font-size:16px;line-height:1}.warning-message{flex:1;padding-top:1px}.price-impact{text-align:center;padding:8px;font-size:12px;color:var(--text-secondary);background:var(--bg-darker);border-radius:8px;margin:8px 0}.price-impact-details{display:flex;justify-content:center;gap:24px;padding:4px 0;font-size:12px;line-height:1.2}.impact-item{display:flex;align-items:center;gap:4px}.impact-label{color:var(--text-secondary);opacity:.7}.impact-value{color:var(--text-primary);font-weight:500}.price-impact-details span{color:var(--text-secondary);opacity:.8}.dex-price{display:flex;flex-direction:column;gap:4px;min-height:18px;height:18px;align-items:flex-start;justify-content:center;overflow:hidden}.dex-price span{line-height:18px;white-space:nowrap}.dex-price .price-with-switch{height:18px;display:flex;align-items:center;gap:8px}.split-quotes{margin-top:16px;display:flex;flex-direction:column;gap:12px;padding:16px}.dex-quotes{display:flex;justify-content:space-between;gap:12px}.split-quote{flex:1;background:var(--bg-darker);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:4px}.split-quote.icpswap{text-align:left}.split-quote.kong{text-align:right}.split-quote-amount{font-size:24px;font-weight:500;color:var(--text-primary);font-family:Roboto Mono,monospace;margin-bottom:4px}.split-price-impact{font-size:14px;color:var(--text-secondary);opacity:.7}.split-loading{font-size:14px;color:var(--text-secondary);font-style:italic}.split-error{font-size:14px;color:var(--error-red)}.split-aggregate{display:flex;justify-content:center;padding:8px 0}.total-output{font-size:24px;font-weight:500;color:var(--text-primary);text-align:center;background:var(--bg-darker);border-radius:12px;padding:16px;font-family:Roboto Mono,monospace;min-width:200px;border:2px solid transparent;transition:border-color .2s ease;display:inline-block}.total-output.better{border-color:var(--success-green);background:var(--success-light)}.total-output.worse{border-color:var(--error-red);background:var(--error-light)}.quote-amounts{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px;width:100%;margin-top:8px;justify-content:center;clear:both;float:left}.quote-amount{flex:1 1 120px;min-width:120px;max-width:100%;background:var(--bg-darker);border:1px solid rgba(255,255,255,.05);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden;margin-top:4px;clear:both;opacity:1;transform:translateY(0);will-change:transform,opacity;transition:all .3s cubic-bezier(.4,0,.2,1)}.quote-amount.entering{animation:quoteAppear .3s cubic-bezier(.4,0,.2,1) forwards}.quote-amount.exiting{animation:quoteDisappear .3s cubic-bezier(.4,0,.2,1) forwards}.quote-amount input[type=text]{font-size:18px!important;padding:0!important;width:100%;text-align:center;font-family:Roboto Mono,monospace;background:transparent;border:none;color:var(--text-primary);height:24px;line-height:24px;font-weight:500;margin:2px 0;transition:opacity .3s ease,transform .3s cubic-bezier(.4,0,.2,1)}.quote-amount .quote-details{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:2px 6px;margin:0;background:rgba(255,255,255,.03);border-radius:4px;gap:4px;transition:opacity .3s ease}.quote-amount .price-impact[data-impact=low]{color:#34d399;background:rgba(52,211,153,.1)}.quote-amount .price-impact[data-impact=medium]{color:#fbbf24;background:rgba(251,191,36,.1)}.quote-amount .price-impact[data-impact=high]{color:#fb7185;background:rgba(251,113,133,.1)}.quote-amount:hover{border-color:#ffffff1a;transform:translateY(-1px)}.quote-amount.best{border-color:#34d3994d;background:linear-gradient(rgba(52,211,153,.05),rgba(52,211,153,.02))}.quote-amount.middle{border-color:#fbbf244d;background:linear-gradient(rgba(251,191,36,.05),rgba(251,191,36,.02))}.quote-amount.worst{border-color:#fb71854d;background:linear-gradient(rgba(251,113,133,.05),rgba(251,113,133,.02))}.quote-amount.selected{border-color:#3b82f680;box-shadow:0 0 0 1px #3b82f680}.total-output.best{border-color:#22c55e;background:rgba(34,197,94,.1)}.total-output.middle{border-color:#f97316;background:rgba(249,115,22,.1)}.total-output.worst{border-color:#ef4444;background:rgba(239,68,68,.1)}.distribution-display{display:flex;justify-content:space-between;margin:12px 0;padding:0 16px}.dex-split{display:flex;flex-direction:column;gap:4px}.split-percent{color:var(--text-primary);font-weight:500;font-size:14px}.split-amount{color:var(--text-secondary);font-size:14px;opacity:.7}.quote-details{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.quote-amount .quote-details{margin-top:2px;font-size:12px}.quote-amount .quote-details{padding:4px 0;border-top:1px solid rgba(255,255,255,.1)}.quote-amount .distribution-controls{width:100%;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.quote-amount .distribution-controls input[type=range]{width:100%;margin:0;height:4px;-webkit-appearance:none;background:rgba(255,255,255,.1);border-radius:2px}.quote-amount .distribution-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:12px;width:12px;border-radius:50%;background:#3b82f6;cursor:pointer;margin-top:-4px}.quote-amount .distribution-controls input[type=range]::-moz-range-thumb{height:12px;width:12px;border-radius:50%;background:#3b82f6;cursor:pointer;border:none}.quote-amount .find-best-split{width:100%;background:linear-gradient(135deg,#7c3aed 0%,#6d28d9 50%,#5b21b6 100%);border:none;color:#fff;padding:12px 20px;border-radius:12px;cursor:pointer;font-size:15px;font-weight:600;letter-spacing:.5px;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 4px 12px #7c3aed4d,inset 0 1px 1px #ffffff4d;text-shadow:0 1px 1px rgba(0,0,0,.2);transform:translateZ(0);backface-visibility:hidden}.quote-amount .find-best-split:before{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;background:linear-gradient(45deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 50%,rgba(255,255,255,0) 100%);z-index:1;transform:translate(-100%);animation:shimmer 3s infinite}.quote-amount .find-best-split:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at center,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 70%);opacity:0;transition:opacity .3s ease}.quote-amount .find-best-split:hover:not(:disabled){transform:translateY(-2px) scale(1.02);background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 50%,#6d28d9 100%);box-shadow:0 8px 24px #7c3aed66,0 2px 4px #7c3aed4d,inset 0 1px 1px #fff6}.quote-amount .find-best-split:hover:not(:disabled):after{opacity:1}.quote-amount .find-best-split:active:not(:disabled){transform:translateY(1px) scale(.98);box-shadow:0 4px 12px #7c3aed4d}.quote-amount .find-best-split:disabled{background:linear-gradient(135deg,#94a3b8 0%,#64748b 100%);cursor:not-allowed;opacity:.8;box-shadow:none}@keyframes shimmer{0%{transform:translate(-100%) skew(-15deg)}50%,to{transform:translate(100%) skew(-15deg)}}@keyframes searching-animation{0%{background-position:0% 50%;box-shadow:0 4px 12px #7c3aed4d}50%{background-position:100% 50%;box-shadow:0 4px 20px #7c3aed80}to{background-position:0% 50%;box-shadow:0 4px 12px #7c3aed4d}}.quote-amount .find-best-split:disabled:not([data-searching=true]){animation:none}.quote-amount .find-best-split[data-searching=true]{background:linear-gradient(270deg,#8b5cf6 0%,#7c3aed 25%,#6d28d9 50%,#7c3aed 75%,#8b5cf6 100%);background-size:200% 200%;animation:searching-animation 2s ease infinite;cursor:wait;opacity:1;box-shadow:0 4px 16px #7c3aed66,0 0 32px #7c3aed33,inset 0 1px 1px #ffffff4d}.quote-amount .split-info{width:100%;padding:0 4px}.quote-amount .split-info .split-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;line-height:16px;color:var(--text-secondary);opacity:.9;font-weight:500}.quote-amount .split-info .split-row:first-child{text-align:left}.quote-amount .split-info .split-row:last-child{text-align:right}.quote-amount .split-info span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.parallel-swap{display:none}.time-split-section{margin-top:12px;width:100%}.time-split-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-size:13px;cursor:pointer;transition:all .2s ease}.time-split-toggle:hover{background:var(--bg-lighter);border-color:var(--text-secondary)}.time-split-toggle svg{transition:transform .2s ease}.time-split-content{margin-top:8px;padding:10px;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px}.form-section{margin-bottom:12px}.form-section:last-child{margin-bottom:0}.form-section h4{font-size:13px;color:var(--text-secondary);margin:0 0 8px;font-weight:500}.form-section h4 .unit-toggle{height:20px;padding:0 6px;font-size:11px;min-width:32px;margin-left:8px;background:var(--bg-lighter);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.form-section h4 .unit-toggle:hover{background:var(--bg-lighter);border-color:var(--text-secondary);color:var(--text-primary)}.form-section h4 .unit-toggle.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.input-group{display:flex;flex-direction:column;gap:6px}.input-row{display:flex;align-items:center;gap:8px}.input-row label{width:70px;font-size:12px;color:var(--text-secondary)}.input-row input{flex:1;height:26px;padding:0 8px;background:var(--bg-lighter);border:1px solid var(--border-color);border-radius:4px;color:var(--text-primary);font-size:13px;font-family:Roboto Mono,monospace}.input-row input:focus{outline:none;border-color:var(--text-secondary)}.input-row .unit-label{min-width:36px;font-size:12px;color:var(--text-secondary);text-align:center;padding:0 4px}.unit-toggle{height:26px;padding:0 8px;background:var(--bg-lighter);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);font-size:12px;cursor:pointer;min-width:36px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.unit-toggle:hover{background:var(--bg-lighter);border-color:var(--text-secondary);color:var(--text-primary)}.unit-toggle.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.unit-toggle.compact{height:20px;padding:0 6px;font-size:11px;min-width:32px}.start-run-button{width:100%;height:36px;margin-top:16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.start-run-button:hover{opacity:.9}.start-run-button:disabled{background:var(--bg-lighter);color:var(--text-secondary);cursor:not-allowed}.amount-display{display:flex;flex-direction:column;align-items:flex-end;min-width:120px;text-align:right;width:100%;position:relative;padding-top:16px}.amount-display .amount-input{background:transparent;border:none;color:#8f96a1;font-size:24px;font-weight:500;padding:8px;text-align:right;outline:none;width:100%;white-space:normal;word-wrap:break-word;line-height:1.2;margin-top:-8px}.amount-display .price-diff{position:relative;top:auto;right:8px;font-size:12px;font-weight:500;font-family:Roboto Mono,monospace;display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-bottom:4px}.amount-display .price-diff .percent{font-weight:600}.amount-display .price-diff .absolute{font-size:11px;opacity:.9}.amount-display .price-diff.best{color:#22c55e}.amount-display .price-diff.middle{color:#f97316}.amount-display .price-diff.worst{color:#ef4444}.quote-request{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:6px;padding:4px 8px;margin-bottom:4px;background:linear-gradient(to right,rgba(255,255,255,.08),rgba(255,255,255,.03));border-radius:4px}.quote-request .quote-tokens{font-size:11px;line-height:12px;color:var(--text-primary);font-weight:600;letter-spacing:.5px;text-transform:uppercase}.quote-request .quote-amount-requested{font-size:11px;line-height:12px;font-family:Roboto Mono,monospace;color:var(--text-primary);text-align:right;white-space:nowrap;font-weight:500}.form-section .helper-text{font-size:11px;color:var(--text-secondary);opacity:.8;margin:-4px 0 8px;line-height:1.3;padding:0 4px}.time-split-buttons{display:flex;gap:10px;margin-top:16px}.time-split-buttons button{flex:1;height:36px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.time-split-buttons .start-run-button{background:var(--primary-color);border:none;color:#fff}.time-split-buttons .start-run-button:hover:not(:disabled){opacity:.9}.time-split-buttons .start-run-button:disabled{background:var(--bg-lighter);color:var(--text-secondary);cursor:not-allowed}.time-split-buttons .clear-run-button{background:#dc3545;border:none;color:#fff}.time-split-buttons .clear-run-button:hover{background:#c82333}@media (max-width: 480px){.quote-amount{flex:1 1 100px;min-width:100px;max-width:calc(50% - 4px)}.quote-amount.split{flex:1 1 100%;min-width:100%;max-width:100%;order:1;margin-top:8px}.token-input-row{flex-wrap:wrap;gap:8px}.token-select{flex:0 0 auto;width:auto}.amount-display{flex:1 1 100%;margin-top:8px}.amount-display .amount-input{font-size:20px}}.quote-amount .dex-label{display:none}.quote-amount .price-impact{font-size:11px;padding:2px 6px;border-radius:4px;margin:0}.quotes-header{display:flex;align-items:center;justify-content:space-between;padding:4px 8px;background:var(--bg-darker);border-radius:8px;margin-bottom:8px;width:100%;box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s cubic-bezier(.4,0,.2,1);will-change:transform,background-color}.quotes-header:hover{background:var(--bg-lighter)}.quotes-header:active{background:var(--bg-darkest)}.quotes-header .token-info,.quotes-header .pool-balance,.quotes-header .section-title,.quotes-header .combined-balances{pointer-events:none}.quotes-header .action-button,.quotes-header .pool-actions button{pointer-events:auto}@media (hover: hover){.quotes-header:hover{background:var(--bg-lighter)}}@media (max-width: 480px){.quotes-header{padding:8px 12px;min-height:44px}}.quotes-header .token-info{display:flex;align-items:left;gap:8px;flex:1}.quotes-header .token-info-content{display:flex;align-items:center;gap:8px;flex:1}.quotes-header .token-logo{width:24px;height:24px;border-radius:50%;object-fit:cover}.quotes-header .pool-balance{display:flex;align-items:center;gap:4px;font-family:Roboto Mono,monospace;color:var(--text-primary);font-size:14px}.quotes-header .pool-balance .balance-usd-value{color:#6b7280;font-size:.9em}.quotes-header .pool-actions,.quotes-header .available-quotes-actions{display:flex;gap:4px;margin-left:auto}.quotes-header .action-button,.quotes-header .collapse-toggle{width:24px;height:24px;padding:0;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:14px;transition:all .2s ease}.quotes-header .action-button:hover:not(:disabled){color:var(--text-primary);background:none;transform:scale(1.1)}.quotes-header .action-button:disabled{opacity:.3;cursor:not-allowed}.quotes-header .collapse-toggle:hover{color:var(--text-primary)}.quotes-header .header-content{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.quotes-header .section-title{white-space:nowrap;color:var(--text-secondary);font-size:13px;font-weight:500;opacity:.8}.quotes-header .combined-balances{display:flex;align-items:center;gap:8px;margin-left:12px;min-width:0;overflow:hidden}.quotes-header .balance-item{display:flex;align-items:center;gap:4px;font-family:Roboto Mono,monospace;color:var(--text-secondary);font-size:13px;white-space:nowrap}.quotes-header .balance-item .token-logo{width:16px;height:16px;border-radius:50%}.quotes-header .balance-item.truncated{text-overflow:ellipsis;overflow:hidden}.pool-subsections{display:flex;flex-direction:column;gap:2px;margin-top:4px;width:100%}.pool-content{padding:8px 12px;background:var(--bg-darker);border-radius:0 0 8px 8px;width:100%}.pool-balance-section{display:flex;flex-direction:column;gap:0;padding:4px 8px;background:var(--bg-darker);border-radius:8px;width:100%}.balance-row{display:flex;align-items:center;justify-content:space-between;padding:2px 0;gap:8px}.balance-row.deposited,.balance-row.undeposited{width:auto;padding:2px 8px;margin:0;background:transparent}.balance-info{display:flex;align-items:center;gap:8px;width:auto;min-width:140px}.balance-row.deposited .balance-amount,.balance-row.undeposited .balance-amount{display:flex;align-items:center;gap:4px;font-family:Roboto Mono,monospace;color:var(--text-secondary);font-size:13px;white-space:nowrap;justify-content:flex-end;min-width:120px}.balance-row .balance-label{min-width:85px;color:var(--text-secondary);font-size:13px;flex:0 0 auto}.balance-row.deposited .balance-actions,.balance-row.undeposited .balance-actions{display:flex;gap:2px;margin-left:auto;flex:0 0 auto;margin-right:16px}.balance-row .balance-actions .action-button{width:24px;height:24px;padding:0;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:14px;transition:all .2s ease}.balance-row.undeposited .balance-actions{display:flex;gap:2px}.balance-row.undeposited .balance-actions button[title=Transfer]{order:3}.balance-row.undeposited .balance-actions button[title=Deposit]{order:1}.balance-row.undeposited .balance-actions button[title=Withdraw]{order:2}.skip-withdraw-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary);cursor:pointer}.skip-withdraw-label input[type=checkbox]{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border:1px solid rgba(255,255,255,.2);border-radius:4px;background:rgba(255,255,255,.05);cursor:pointer;position:relative;transition:all .2s ease}.skip-withdraw-label input[type=checkbox]:checked{background:var(--primary-color);border-color:var(--primary-color)}.skip-withdraw-label input[type=checkbox]:checked:after{content:"✓";position:absolute;color:#fff;font-size:12px;left:3px;top:0}.skip-withdraw-label input[type=checkbox]:hover{border-color:#ffffff4d;background:rgba(255,255,255,.1)}.skip-withdraw-label input[type=checkbox]:checked:hover{opacity:.9}.input-details{display:flex;justify-content:flex-end;align-items:center;margin-top:4px;padding:0 8px;width:100%;gap:8px}.max-button{background:rgba(255,255,255,.1);border:none;color:var(--primary-color)}.action-buttons{display:flex;align-items:center;gap:8px;width:100%;justify-content:flex-end}.swap-interface .usd-value{font-size:14px;color:var(--text-secondary);min-width:80px;text-align:right;margin-left:8px;padding:4px 8px;display:inline-block}.balance-group .balance-text{color:#8f96a1;font-family:Roboto Mono,monospace}.balance-group .usd-value{color:#6b7280;font-family:Roboto Mono,monospace}.balance-row .balance-info .balance-amount,.balance-row .balance-info .separator{color:#8f96a1}.pool-balance .separator,.balance-amount .separator{color:#8f96a1;margin:0 4px;display:inline;white-space:nowrap}.token-input-panel{position:relative}.input-details{position:absolute;top:4px;right:12px;margin:0;padding:0;z-index:0;pointer-events:none}.input-details *{pointer-events:auto}.usd-value{font-size:14px;color:var(--text-secondary);min-width:80px;text-align:right;display:inline-block}.logo-loading-progress{margin:8px 16px;padding:8px;background:var(--bg-darker);border-radius:8px;text-align:center}.logo-loading-progress .progress-text{color:var(--text-secondary);font-size:12px;margin-bottom:4px}.logo-loading-progress .progress-details{color:var(--text-secondary);font-size:11px;opacity:.7;margin-top:4px}@keyframes quoteAppear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes quoteDisappear{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(10px)}}.quote-amount .quote-details{transition:opacity .3s ease}.quote-amount input[type=text]{transition:opacity .3s ease,transform .3s cubic-bezier(.4,0,.2,1)}.quote-amount .price-impact{transition:opacity .3s ease,background-color .3s ease}.quote-amount.loading{opacity:.7;transform:translateY(5px)}.quote-amount.loading input[type=text],.quote-amount.loading .quote-details{opacity:.5}.psa-warning{background-color:#ffc1071a;border:1px solid rgba(255,193,7,.3);border-radius:8px;padding:16px;margin-bottom:20px;font-size:16px}.warning-content{color:#ffc107}.warning-content strong{display:block;margin-bottom:8px;font-size:16px}.warning-content p{margin:0;font-size:16px;line-height:1.5}.time-split-progress{background:var(--bg-darker);border:1px solid var(--border-color);border-radius:12px;padding:16px;margin-top:16px}.time-split-progress.error{border-color:var(--error-red);background:var(--error-light);text-align:center}.time-split-progress.error .error-message{color:var(--error-red);margin-bottom:8px}.time-split-progress.loading{text-align:center;padding:32px;color:var(--text-secondary)}.time-split-progress.loading .loading-spinner{width:24px;height:24px;border:2px solid var(--text-secondary);border-top-color:transparent;border-radius:50%;margin:0 auto 8px;animation:spin 1s linear infinite}.progress-section{margin-bottom:16px}.progress-section:last-child{margin-bottom:0}.progress-section h4{font-size:13px;color:var(--text-secondary);margin:0 0 8px;font-weight:500}.progress-bar{height:8px;background:var(--bg-lighter);border-radius:4px;overflow:hidden;margin-bottom:4px}.progress-bar .progress-fill{height:100%;background:var(--primary-color);transition:width .3s ease}.progress-details{display:flex;gap:4px;font-size:12px;color:var(--text-secondary);align-items:center}.progress-details .percentage{margin-left:auto;font-weight:500;color:var(--text-primary)}.trade-info,.time-info,.next-trade-info,.price-info{font-size:13px;color:var(--text-secondary)}.trade-info span,.time-info span,.next-trade-info span,.price-info span{margin-right:4px}.time-info>div,.next-trade-info>div,.price-info>div{margin-bottom:4px}.time-info>div:last-child,.next-trade-info>div:last-child,.price-info>div:last-child{margin-bottom:0}.price-status{margin-top:8px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;text-align:center}.price-status.in-range{background:var(--success-light);color:var(--success-green)}.price-status.out-of-range{background:var(--error-light);color:var(--error-red)}.time-split-progress .progress-controls{display:flex;gap:10px;margin-top:15px;justify-content:center}.time-split-progress .progress-controls button{padding:8px 16px;border-radius:8px;border:none;cursor:pointer;font-weight:500;transition:all .2s ease}.time-split-progress .progress-controls .stop-button{background-color:#dc3545;color:#fff;font-weight:600}.time-split-progress .progress-controls .stop-button:hover{background-color:#c82333}.time-split-progress .progress-controls .pause-button{background-color:#ffc107;color:#000}.time-split-progress .progress-controls .pause-button:hover{background-color:#e0a800}.time-split-progress .progress-controls .resume-button{background-color:#28a745;color:#fff}.time-split-progress .progress-controls .resume-button:hover{background-color:#218838}.trade-history{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.trade-card{background:var(--bg-lighter);border:1px solid var(--border-color);border-radius:6px;padding:6px 8px;min-width:120px;max-width:180px;font-size:12px;display:flex;flex-direction:column;gap:2px}.trade-card.success{border-color:var(--success-green);background:rgba(40,167,69,.1)}.trade-card.failed{border-color:var(--error-red);background:rgba(220,53,69,.1)}.trade-card .trade-amount{font-weight:500;color:var(--text-primary);font-family:Roboto Mono,monospace}.trade-card .trade-details{display:flex;gap:8px;color:var(--text-secondary);font-size:11px}.trade-card .dex-amount{font-family:Roboto Mono,monospace}.trade-card .trade-time{font-size:10px;color:var(--text-secondary);opacity:.8;margin-top:2px}.token-action-modal{background:var(--bg-dark);border-radius:12px;width:100%;max-width:420px;position:relative;overflow:hidden;box-shadow:0 4px 32px #0006;padding:24px}.token-action-modal .modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;position:relative;width:100%}.token-action-modal .modal-header h2{margin:0;font-size:18px;font-weight:500;color:var(--text-primary)}.token-action-modal .modal-close-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s;padding:0;position:absolute;right:0;top:-4px}.token-action-modal .modal-close-button:hover:not(:disabled){background:var(--bg-light);color:var(--text-primary)}.token-action-modal .modal-close-button:disabled{opacity:.5;cursor:not-allowed}.token-action-modal .modal-close-button svg{width:20px;height:20px}.token-action-modal .modal-content{padding:16px}.amount-input-section{display:flex;flex-direction:column;gap:12px}.balance-info{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--text-secondary)}.balance-info .balance-amount{font-family:var(--font-mono);color:var(--text-primary)}.amount-input-container{display:flex;align-items:center;gap:8px;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;padding:8px 12px}.amount-input-container input{flex:1;background:none;border:none;color:var(--text-primary);font-size:20px;font-family:var(--font-mono);padding:0;outline:none}.amount-input-container input:disabled{opacity:.7;cursor:not-allowed}.amount-input-right{display:flex;align-items:center;gap:8px}.max-button{background:var(--bg-light);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);padding:4px 8px;font-size:12px;cursor:pointer;transition:all .2s ease}.max-button:hover:not(:disabled){background:var(--bg-lighter);border-color:var(--border-hover);color:var(--text-primary)}.token-symbol{color:var(--text-secondary);font-size:16px;font-weight:500}.modal-fee-info{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--text-secondary);padding:4px 0}.error-message{margin-top:12px;padding:8px 12px;background:var(--error-light);border:1px solid var(--error-red);border-radius:6px;color:var(--error-red);font-size:14px}.success-message{margin-top:12px;padding:12px;background:var(--success-light);border:1px solid var(--success-green);border-radius:6px;color:var(--success-green);font-size:14px;display:flex;align-items:center;gap:8px}.success-message svg{width:20px;height:20px}.confirm-button{width:100%;margin-top:16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:500;padding:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px}.confirm-button:hover:not(:disabled){opacity:.9}.confirm-button:disabled{background:var(--bg-lighter);color:var(--text-secondary);cursor:not-allowed}.search-range-progress{width:100%;height:16px;margin-bottom:8px;position:relative}.search-range-bar{width:100%;height:100%;position:relative;border-radius:8px;overflow:hidden}.search-range-background{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.1)}.search-range-progress.search .search-range-active{position:absolute;top:0;height:100%;background:linear-gradient(90deg,rgba(52,211,153,0) 0%,rgba(52,211,153,.2) 20%,rgba(52,211,153,.6) 40%,rgba(52,211,153,.8) 50%,rgba(52,211,153,.6) 60%,rgba(52,211,153,.2) 80%,rgba(52,211,153,0) 100%);border-left:2px solid rgba(52,211,153,.5);border-right:2px solid rgba(52,211,153,.5)}.search-range-progress.progress{height:2px;margin-bottom:4px}.search-range-progress.progress .search-range-bar{border-radius:1px}.search-range-progress.progress .search-range-background{background:rgba(255,255,255,.05)}.search-range-progress.progress .search-range-active{position:absolute;top:0;height:100%;background:rgba(255,255,255,.2);transition:width .3s ease}.search-range-test-point{position:absolute;top:0;width:2px;height:100%;background-color:#34d399cc;box-shadow:0 0 4px #34d39966}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.search-range-test-point{animation:pulse 1.5s infinite ease-in-out}.admin-page{padding:24px;max-width:800px;margin:0 auto}.admin-page h1{margin-bottom:24px;color:var(--text-primary)}.admin-nav{display:flex;gap:12px;margin-bottom:24px}.nav-button{padding:12px 24px;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);cursor:pointer;transition:all .2s;font-size:16px}.nav-button:hover{background:var(--bg-lighter);border-color:var(--primary-color)}.accounts-section{background:var(--bg-darker);border-radius:12px;padding:24px;margin-bottom:24px}.accounts-section h2{color:var(--text-primary);margin-bottom:16px}.account-forms{display:flex;flex-direction:column;gap:24px}.account-form{background:var(--bg-lighter);border-radius:8px;padding:16px}.account-form h3{color:var(--text-primary);margin-bottom:12px;font-size:16px}.current-account{background:var(--bg-darker);border-radius:6px;padding:12px;margin-bottom:12px;font-family:Roboto Mono,monospace;font-size:13px;color:var(--text-secondary)}.current-account strong{color:var(--text-primary);margin-right:8px}.subaccount{margin-top:8px;padding-top:8px;border-top:1px solid var(--border-color);color:var(--text-secondary);font-size:12px}.init-admin-section{background:var(--bg-darker);padding:24px;border-radius:12px;margin-top:24px;text-align:center}.init-admin-section p{color:var(--text-secondary);margin-bottom:16px}.init-admin-button{padding:12px 24px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:opacity .2s}.init-admin-button:hover{opacity:.9}.add-admin-form{display:flex;gap:12px;margin-bottom:24px}.principal-input{flex:1;padding:8px 12px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-family:Roboto Mono,monospace}.principal-input:focus{outline:none;border-color:var(--primary-color)}.add-button{padding:8px 16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s}.admin-list{background:var(--bg-darker);border-radius:12px;padding:16px}.update-button{padding:8px 16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s;display:flex;align-items:center;gap:8px}.update-button:hover:not(:disabled){opacity:.9}.update-button:disabled{opacity:.5;cursor:not-allowed}.update-button .spinning{animation:spin 1s linear infinite}.admin-list h2{margin-bottom:16px;color:var(--text-primary);font-size:18px}.no-admins{text-align:center;color:var(--text-secondary);padding:24px;font-style:italic}.admin-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--bg-lighter);border-radius:8px;margin-bottom:8px}.admin-item:last-child{margin-bottom:0}.admin-principal{font-family:Roboto Mono,monospace;color:var(--text-primary);font-size:14px;word-break:break-all}.remove-button{padding:6px 12px;background:var(--error-red);border:none;border-radius:6px;color:#fff;cursor:pointer;transition:opacity .2s;margin-left:12px;flex-shrink:0}.remove-button:hover{opacity:.9}.price-test-section{margin:2rem 0;padding:1rem;border:1px solid #ddd;border-radius:4px}.price-display{margin-top:1rem;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.price-button{padding:.5rem 1rem;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.price-button:disabled{background-color:#ccc;cursor:not-allowed}.price-button:hover:not(:disabled){background-color:#357abd}.fee-config-section{background:#1A1D26;border-radius:12px;padding:24px;margin:24px 0}.fee-config-section h2{color:#fff;font-size:18px;margin:0 0 16px}.fee-config-form{display:flex;flex-direction:column;gap:16px}.fee-config-form .form-group{display:flex;flex-direction:column;gap:8px}.fee-config-form label{color:#8f96a1;font-size:14px}.fee-config-form input{background:#2A2E3A;border:1px solid #363B47;border-radius:8px;padding:8px 12px;color:#fff;font-size:14px;font-family:Roboto Mono,monospace;width:100%;max-width:200px}.fee-config-form input:focus{outline:none;border-color:#3b82f6}.fee-config-form .update-button{background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:10px 16px;font-size:14px;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content}.fee-config-form .update-button:hover:not(:disabled){background:#2563eb}.fee-config-form .update-button:disabled{opacity:.5;cursor:not-allowed}.fee-config-form .spinning{animation:spin 1s linear infinite}.security-section{background:#ffffff;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 2px 4px #0000001a}.security-controls{display:flex;flex-direction:column;gap:24px}.control-group{display:flex;flex-direction:column;gap:8px}.control-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#333}.control-description{font-size:14px;color:#666;margin:0}.psa-input{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;min-height:80px}.psa-input:focus{outline:none;border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.psa-input:disabled{background-color:#f5f5f5;cursor:not-allowed}.suspend-form{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.suspend-form input[type=text]{padding:8px 12px;border:1px solid var(--border-color);border-radius:4px;font-size:14px}.suspend-form .principal-input{flex:2;min-width:200px;font-family:Roboto Mono,monospace}.suspend-form .reason-input{flex:3;min-width:200px}.suspend-form label{display:flex;align-items:center;gap:8px;color:var(--text-primary)}.suspend-button{padding:8px 16px;background:var(--error-red);border:none;border-radius:4px;color:#fff;cursor:pointer;transition:opacity .2s}.suspend-button:hover{opacity:.9}.suspended-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}.suspended-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--bg-lighter);border-radius:4px;gap:12px}.suspended-info{display:flex;flex-direction:column;gap:4px;flex:1}.suspended-principal{font-family:Roboto Mono,monospace;font-size:14px;color:var(--text-primary)}.suspended-type{display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;font-weight:500}.suspended-type.temporary{background:var(--warning-light);color:var(--warning-text)}.suspended-type.permanent{background:var(--error-light);color:var(--error-red)}.suspended-reason{font-size:14px;color:var(--text-secondary)}.admin-tokens-page{padding:20px;max-width:800px;margin:0 auto}.admin-tokens-page h1{margin-bottom:32px;color:#fff;font-size:32px}.token-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.action-buttons{display:flex;gap:24px;flex-wrap:wrap}.button-group{background:rgba(255,255,255,.05);padding:16px;border-radius:8px;display:flex;flex-direction:column;gap:12px}.button-group h3{color:var(--text-secondary);font-size:14px;margin:0;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}.clear-cache-button{background-color:#4b5563;color:#fff;padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s;min-width:200px}.clear-cache-button:hover{background-color:#374151}.clear-whitelist-button{background-color:#dc2626;color:#fff;padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s;min-width:200px}.clear-whitelist-button:hover{background-color:#b91c1c}.add-button{padding:8px 16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s;font-size:14px}.add-button:hover{opacity:.9}.add-token-form{background:rgba(255,255,255,.05);border-radius:12px;padding:32px;margin-bottom:32px}.form-row{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:24px}.form-group{margin-bottom:24px}.form-group label{display:block;margin-bottom:8px;color:#fff;font-size:14px}.form-group input{width:100%;padding:12px;background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-family:Roboto Mono,monospace;font-size:14px}.form-group input:focus{outline:none;border-color:var(--primary-color)}.input-with-button{display:flex;gap:8px}.input-with-button input{flex:1}.input-with-button button{padding:12px 16px;background:var(--secondary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;white-space:nowrap;font-size:14px}.form-actions,.form-buttons{display:flex;gap:12px;margin-top:24px}.logo-display-section{margin-top:24px;padding:16px;background:rgba(255,255,255,.05);border-radius:8px;border:1px solid var(--border-color)}.logo-display-section h4{margin:0 0 16px;color:var(--text-primary);font-size:16px}.logo-url-display{margin-bottom:16px}.logo-url-display label{display:block;margin-bottom:8px;color:var(--text-secondary);font-size:14px}.logo-url-text{background:var(--bg-lighter);padding:8px 12px;border-radius:4px;border:1px solid var(--border-color);color:var(--text-primary);font-family:monospace;font-size:12px;word-break:break-all}.logo-image-display{margin-bottom:8px}.logo-image-display label{display:block;margin-bottom:8px;color:var(--text-secondary);font-size:14px}.logo-preview-image{max-width:64px;max-height:64px;border-radius:4px;border:1px solid var(--border-color);background:white;object-fit:contain}.submit-button{padding:8px 24px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer}.cancel-button{padding:8px 24px;background:var(--bg-lighter);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);cursor:pointer}.token-list-section{width:100%;overflow-x:auto;margin:0;padding:24px;background:rgba(255,255,255,.05);border-radius:12px}.token-list{min-width:100%;width:max-content;padding:0;background:transparent}.token-list h2{margin-bottom:24px;color:#fff;font-size:20px}.no-tokens{text-align:center;color:var(--text-secondary);padding:24px;font-style:italic}.token-stats-table table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0}.token-stats-table th{padding:12px;text-align:left;color:#ffffffb3;font-weight:400;font-size:14px;border-bottom:1px solid rgba(255,255,255,.1)}.token-stats-table td.token-cell{display:flex!important;align-items:center;padding:8px 16px!important}.token-info{display:flex;align-items:center;gap:12px}.token-id{font-family:Roboto Mono,monospace;font-size:12px;color:var(--text-secondary)}.token-stats-table td{padding:12px 16px;color:#fff;font-family:Roboto Mono,monospace;font-size:14px;border-bottom:1px solid rgba(255,255,255,.1);white-space:nowrap}.token-stats-table td:last-child{position:sticky;right:0;background:var(--bg-darker);border-left:1px solid rgba(255,255,255,.1);min-width:250px;display:flex;gap:8px;justify-content:flex-end;align-items:center;padding:8px 16px;z-index:1}.view-metadata-button,.refresh-button,.remove-button{padding:6px 12px;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;transition:background-color .2s;min-width:60px;display:inline-flex;align-items:center;justify-content:center}.view-metadata-button{background:#4f46e5}.refresh-button{background:#3b82f6}.remove-button{background:#dc2626}.remove-button:hover{background:#b91c1c}.token-logo.placeholder{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);font-size:12px;color:#ffffff80}.token-logo.placeholder.loading{animation:pulse 1.5s infinite;background:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.2),rgba(255,255,255,.1));background-size:200% 100%}@keyframes pulse{0%{background-position:100% 0}to{background-position:-100% 0}}.pagination{display:flex;justify-content:center;gap:8px;margin-top:24px;padding:16px}.pagination button{padding:8px 16px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;cursor:pointer;font-size:14px}.pagination button:disabled{opacity:.5;cursor:not-allowed}.pagination button.active{background:var(--primary-color);border-color:var(--primary-color)}td,th{white-space:nowrap}td:last-child{min-width:180px;display:flex;gap:8px;justify-content:flex-end;padding:8px 16px}.import-section{display:flex;flex-direction:column;gap:10px}.import-progress{display:flex;align-items:center;gap:10px;background:var(--background-light);padding:8px 16px;border-radius:8px}.import-progress .spinner{animation:spin 1s linear infinite}.import-button{background:var(--primary-color);color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.import-button:hover{background:var(--primary-color-dark)}.stop-import-button{background:var(--error-color);color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .2s}.stop-import-button:hover{background:var(--error-color-dark)}.import-error{color:var(--error-color);font-size:14px;margin-top:4px}.import-stats{display:flex;flex-direction:column;gap:4px}.import-details{display:flex;gap:16px;font-size:.9em;color:var(--text-secondary)}.import-details .stat{display:flex;gap:4px}.import-details .label{color:var(--text-tertiary)}.copy-icpswap-button,.update-logos-button{padding:8px 16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s;font-size:14px}.copy-icpswap-button:hover,.update-logos-button:hover{opacity:.9}.copy-icpswap-button:disabled,.update-logos-button:disabled{background:var(--bg-lighter);cursor:not-allowed;opacity:.7}.result-message{margin:16px 0;padding:12px;border-radius:8px;font-size:14px}.result-message.success{background:var(--success-light);color:var(--success-green)}.result-message.error{background:var(--error-light);color:var(--error-red)}.logo-update-progress{display:flex;align-items:center;gap:16px;background-color:var(--background-light);padding:12px;border-radius:8px;margin-top:16px}.logo-update-progress .spinner{animation:spin 1s linear infinite;color:var(--primary)}.logo-update-stats{flex:1;font-size:14px}.logo-update-details{display:flex;gap:16px;margin-top:4px;color:var(--text-secondary)}.logo-update-details .stat{display:flex;gap:4px}.logo-update-details .label{color:var(--text-primary);font-weight:500}.stop-logo-update-button{background-color:var(--error-light);color:var(--error);border:none;border-radius:4px;padding:8px 16px;font-size:14px;cursor:pointer;transition:all .2s}.stop-logo-update-button:hover{background-color:var(--error-lighter)}.stop-logo-update-button:active{background-color:var(--error);color:#fff}.logo-update-error{color:var(--error);margin-top:8px;font-size:14px}.success-message{background-color:#10b981;color:#fff;padding:12px 20px;border-radius:4px;margin-bottom:20px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.refresh-button{background:#3b82f6;color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:14px;cursor:pointer;margin-right:8px;transition:background-color .2s}.refresh-button:hover{background:#2563eb}.refresh-button:active{background:#1d4ed8}.view-metadata-button{background:#4f46e5;color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:14px;cursor:pointer;margin-right:8px;transition:background-color .2s}.view-metadata-button:hover{background:#4338ca}.view-metadata-button:active{background:#3730a3}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:var(--bg-darker);border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;position:relative}.modal-header{padding:20px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:20px;color:#fff}.close-button{background:none;border:none;color:var(--text-secondary);font-size:24px;cursor:pointer;padding:0;line-height:1}.close-button:hover{color:#fff}.modal-body{padding:20px}.metadata-content{display:flex;flex-direction:column;gap:12px}.metadata-row{display:flex;gap:12px;padding:8px;background:rgba(255,255,255,.05);border-radius:4px}.metadata-key{color:var(--text-secondary);min-width:120px;font-weight:500}.metadata-value{color:#fff;font-family:Roboto Mono,monospace;word-break:break-all}.token-list-section:after{content:"";position:absolute;top:0;right:0;bottom:0;width:30px;pointer-events:none;background:linear-gradient(to right,transparent,rgba(0,0,0,.2))}.metadata-lookup-section{background:rgba(255,255,255,.05);border-radius:12px;padding:24px;margin-bottom:24px}.metadata-lookup-section h2{margin:0 0 16px;font-size:18px;color:#fff}.metadata-lookup-form{display:flex;flex-direction:column;gap:16px}.metadata-lookup-input{width:100%;padding:12px;background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-family:Roboto Mono,monospace;font-size:14px}.metadata-lookup-input:focus{outline:none;border-color:var(--primary-color)}.metadata-lookup-buttons{display:flex;gap:12px}.metadata-lookup-buttons button{flex:1;padding:10px 16px;font-size:14px}.metadata-lookup-buttons button:disabled{opacity:.5;cursor:not-allowed}.metadata-refresh-section{background-color:var(--background-secondary);border-radius:8px;padding:20px;margin:20px 0}.metadata-refresh-section h2{margin-bottom:15px;color:var(--text-primary)}.metadata-refresh-controls{display:flex;flex-direction:column;gap:15px}.metadata-refresh-controls .progress-info{background-color:var(--background-tertiary);padding:15px;border-radius:6px}.metadata-refresh-controls .progress-info p{margin:5px 0;color:var(--text-secondary)}.metadata-refresh-controls .refresh-button,.metadata-refresh-controls .stop-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .2s}.metadata-refresh-controls .refresh-button{background-color:var(--primary-color);color:#fff;border:none}.metadata-refresh-controls .refresh-button:hover:not(:disabled){background-color:var(--primary-color-dark)}.metadata-refresh-controls .refresh-button:disabled{opacity:.7;cursor:not-allowed}.metadata-refresh-controls .stop-button{background-color:var(--error-color);color:#fff;border:none}.metadata-refresh-controls .stop-button:hover{background-color:var(--error-color-dark)}.metadata-refresh-controls .spinner{animation:spin 1s linear infinite}.refresh-buttons{display:flex;gap:12px;justify-content:flex-start}.resume-button{background-color:#059669;color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background-color .2s}.resume-button:hover{background-color:#047857}.resume-button:disabled{opacity:.7;cursor:not-allowed}.logo-form{max-width:500px;margin:20px 0;padding:20px;background-color:var(--background-secondary);border-radius:8px}.logo-form .form-group{margin-bottom:15px}.logo-form label{display:block;margin-bottom:5px;color:var(--text-primary)}.logo-form input{width:100%;padding:8px;border:1px solid var(--border-color);border-radius:4px;background-color:var(--background-primary);color:var(--text-primary)}.logo-form input:disabled{opacity:.7;cursor:not-allowed}.logo-form button{width:100%;padding:10px;margin-top:10px;background-color:var(--primary-color);color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s}.logo-form button:hover:not(:disabled){background-color:var(--primary-color-dark)}.logo-form button:disabled{opacity:.7;cursor:not-allowed}.admin-prices-page{padding:24px;max-width:800px;margin:0 auto}.admin-prices-page h1{margin-bottom:24px;color:var(--text-primary)}.actions-section{margin-bottom:24px}.clear-cache-button{padding:8px 16px;background:var(--error-red);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s}.clear-cache-button:hover{opacity:.9}.test-section{background:var(--bg-darker);border-radius:12px;padding:20px;margin-bottom:24px}.test-section h2{margin-bottom:16px;color:var(--text-primary);font-size:18px}.test-section h3{margin:20px 0 12px;color:var(--text-primary);font-size:16px}.price-display{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.pool-test-form{display:flex;gap:12px;margin-bottom:20px}.token-input{flex:1;padding:8px 12px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-family:Roboto Mono,monospace}.token-input:focus{outline:none;border-color:var(--primary-color)}.test-button{padding:8px 16px;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;transition:opacity .2s}.test-button:hover:not(:disabled){opacity:.9}.test-button:disabled{background:var(--disabled-bg);cursor:not-allowed}.error-message{background:var(--error-light);color:var(--error-red);padding:12px;border-radius:8px;margin-bottom:16px;width:100%}.no-results{text-align:center;color:var(--text-secondary);padding:24px;font-style:italic}.results-list{display:flex;flex-direction:column;gap:12px}.result-item{background:var(--bg-lighter);border-radius:8px;padding:12px}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.token-id{font-family:Roboto Mono,monospace;color:var(--text-primary);font-size:14px}.timestamp{color:var(--text-secondary);font-size:12px}.pool-info,.price-info{display:flex;flex-direction:column;gap:4px;color:var(--text-primary);font-size:14px}.price-info{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.prices{display:flex;flex-direction:column;gap:4px}.cache-status{font-size:12px;padding:2px 6px;border-radius:4px;flex-shrink:0;margin-left:12px}.cache-status.cached{background:var(--success-light);color:var(--success-green)}.cache-status.fresh{background:var(--warning-light);color:var(--warning-orange)}.stats-container{max-width:1200px;margin:0 auto;padding:2rem;color:#333}.stats-container h1{text-align:center;margin-bottom:2rem;color:#333}.stats-container section{margin-bottom:3rem;background:#ffffff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.stats-container h2{margin-bottom:1.5rem;color:#333}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.stats-grid div{text-align:center;padding:1rem;background:#f8f9fa;border-radius:6px}.stats-grid h3{font-size:1rem;color:#666;margin-bottom:.5rem}.stats-grid p{font-size:1.5rem;font-weight:700;color:#333;margin:0}.stat-description{display:block;font-size:.875rem;color:#666;margin-top:.25rem}.stats-table table{width:100%;border-collapse:collapse;margin-top:1rem;min-width:800px;color:#333}.stats-table th,td{padding:1rem;text-align:left;border-bottom:1px solid #eee;white-space:nowrap;color:#333}.stats-table th{background:#f8f9fa;font-weight:600;color:#666;position:sticky;top:0;z-index:1}.stats-table td{font-family:monospace;color:#333}.stats-table tr:hover{background:#f8f9fa}.refresh-button{display:block;margin:2rem auto;padding:.75rem 1.5rem;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.refresh-button:hover{background:#0056b3}@media (max-width: 768px){.stats-container{padding:1rem}.stats-grid{grid-template-columns:1fr 1fr}section{padding:1rem}th,td{padding:.75rem}}.token-stats-table td..token-cell{display:flex;align-items:center;gap:.75rem}.token-symbol{font-weight:600;color:#333}.token-id{font-size:.75rem;color:#666;font-family:monospace}.help-page{max-width:1200px;margin:0 auto;padding:20px;color:var(--text-primary);word-break:normal;overflow-wrap:break-word}.help-header{display:flex;align-items:center;gap:20px;margin-bottom:32px}.help-header h1{margin:0;font-size:24px;font-weight:600}.back-button{display:flex;align-items:center;gap:8px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:8px;padding:8px 16px;color:var(--text-primary);font-size:14px;cursor:pointer;transition:all .2s ease}.back-button:hover{background:var(--panel-bg);border-color:var(--text-secondary)}.help-content{display:flex;flex-direction:column;gap:32px;background:#1a1a1a;border-radius:8px;padding:24px;color:#fff;word-break:normal;overflow-wrap:break-word}.help-content section{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;padding:24px}.help-content h2{margin:0 0 16px;font-size:20px;font-weight:600;color:var(--text-primary)}.help-content h3{margin:20px 0 12px;font-size:16px;font-weight:500;color:var(--text-primary)}.help-content p{margin:0 0 16px;font-size:14px;line-height:1.6;color:var(--text-secondary);word-break:normal;overflow-wrap:break-word}.help-content ul,.help-content ol{margin:0;padding-left:20px}.help-content li{margin:8px 0;font-size:14px;line-height:1.6;color:var(--text-secondary);word-break:break-all}.help-content a{color:var(--primary-color);text-decoration:none;font-weight:500;transition:all .2s ease;position:relative}.help-content a:hover{color:var(--primary-color-light, #6c8ff8);text-decoration:none}.help-content a:after{content:"";position:absolute;width:100%;height:1px;bottom:-2px;left:0;background-color:var(--primary-color-light, #6c8ff8);transform:scaleX(0);transform-origin:bottom right;transition:transform .3s ease}.help-content a:hover:after{transform:scaleX(1);transform-origin:bottom left}@media (max-width: 480px){.help-page{padding:16px}.help-header{margin-bottom:24px}.help-header h1{font-size:20px}.help-content section{padding:16px}}.code-block{background:#1a1b26;border-radius:8px;margin:20px 0;padding:16px;box-shadow:0 4px 6px #0000001a;border:1px solid #2f3042}.code-block pre{margin:0;padding:12px;overflow-x:auto;background:#13141b;border-radius:4px;position:relative}.code-block code{font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;color:#a9b1d6;white-space:pre;display:block}.code-block p{color:#7a7c9e;margin:8px 0;font-size:14px}.code-block pre::-webkit-scrollbar{height:8px}.code-block pre::-webkit-scrollbar-track{background:#13141b;border-radius:4px}.code-block pre::-webkit-scrollbar-thumb{background:#2f3042;border-radius:4px}.code-block pre::-webkit-scrollbar-thumb:hover{background:#3f4152}.code-block .error{color:#ff6b6b;font-weight:500}.copy-button{display:inline-flex;align-items:center;justify-content:center;background:var(--input-bg);border:1px solid var(--border-color);border-radius:4px;padding:4px;margin:0 0 8px;cursor:pointer;transition:all .2s ease}.copy-button:hover{background:var(--panel-bg);border-color:var(--text-secondary)}.help-content li:has(.copy-button){display:flex;align-items:flex-start;gap:8px}.help-content li .copy-button{flex-shrink:0}.canister-hashes{word-break:break-all;word-wrap:break-word}.verification-steps{word-break:normal;word-wrap:break-word}.verification-steps li{word-break:normal}.help-section{margin-bottom:32px;word-break:normal;overflow-wrap:break-word}.help-section p{line-height:1.6;margin-bottom:16px;word-break:normal;overflow-wrap:break-word}.help-section ul,.help-section ol{margin-bottom:16px;padding-left:24px;word-break:normal;overflow-wrap:break-word}.help-section li{margin-bottom:8px;line-height:1.5;word-break:normal;overflow-wrap:break-word}.disclaimer-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.disclaimer-help-content{display:flex;flex-direction:column;gap:32px;background:#1a1a1a;border-radius:8px;padding:24px;color:#fff}.disclaimer-help-content section{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;padding:24px}.disclaimer-help-content h2{margin:0 0 16px;font-size:20px;font-weight:600;color:var(--text-primary)}.disclaimer-help-content h3{margin:20px 0 12px;font-size:16px;font-weight:500;color:var(--text-primary)}.disclaimer-help-content p{margin:0 0 16px;font-size:14px;line-height:1.6;color:var(--text-secondary);word-break:normal;overflow-wrap:break-word;white-space:normal}.disclaimer-help-content ul{margin:0;padding-left:20px;list-style-type:disc}.disclaimer-help-content li{margin:8px 0;font-size:14px;line-height:1.6;color:var(--text-secondary);word-break:normal;overflow-wrap:break-word;white-space:normal}.disclaimer-help-content .disclaimer-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.wallet-page{display:flex;flex-direction:column;align-items:flex-start;padding:0 0 20px;width:100%;max-width:1200px;margin:0 auto}.wallet-page h1{margin-bottom:24px;color:var(--text-primary);font-size:24px;font-weight:500}.wallet-box{background:#1A1D26;border-radius:16px;padding:20px;width:100%;max-width:800px;margin:0;border:1px solid var(--border-color);box-sizing:border-box}.wallet-tokens{display:flex;flex-direction:column;gap:12px}.wallet-token-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:12px;transition:all .2s ease}.wallet-token-card:hover{background:rgba(255,255,255,.08)}.token-logo-container{position:relative;width:40px;height:40px;flex-shrink:0}.token-logo{width:100%;height:100%;border-radius:50%;object-fit:cover}.token-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);border-radius:50%}.token-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.token-header{display:flex;justify-content:space-between;align-items:center;width:100%}.token-name{font-size:16px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;margin-right:12px}.token-symbol{font-size:14px;color:var(--text-secondary)}.balance-amount{display:flex;align-items:left;justify-content:left}.token-balance{font-size:16px;font-family:Roboto Mono,monospace;color:var(--text-primary)}.token-usd-value{font-size:14px;color:var(--text-secondary);font-family:Roboto Mono,monospace;white-space:nowrap}.token-usd-price{color:#fff9;font-size:14px;font-weight:500}.token-usd-price .spinner{width:14px;height:14px;animation:spin 1s linear infinite}.spinner{animation:spin 1s linear infinite}.wallet-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.wallet-header h1{margin:0;color:var(--text-primary);font-size:24px;font-weight:500}.add-token-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:none;color:var(--text-secondary);cursor:pointer;border-radius:8px;transition:all .2s ease}.add-token-button:hover{color:var(--success);background-color:#34c7591a}.token-main-content{display:flex;align-items:center;gap:12px;width:100%;cursor:pointer;padding:4px;border-radius:8px;transition:background-color .2s ease}.token-main-content:hover{background:rgba(255,255,255,.05)}.token-main-content:hover .token-expand-button{opacity:1}.token-metadata-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:14px}.metadata-label{color:var(--text-secondary)}.metadata-value{color:var(--text-primary);font-family:Roboto Mono,monospace}.wallet-token-card.expanded{background:rgba(255,255,255,.08)}.token-symbol-row{display:flex;justify-content:space-between;align-items:center;width:100%}.token-symbol-row .buttons{display:flex;gap:8px;margin-left:auto}.token-symbol-row .swap-button,.token-symbol-row .send-button{all:unset;cursor:pointer;font-size:16px;line-height:1}.token-symbol-row .swap-button{color:#34c759}.token-symbol-row .send-button{color:var(--text-secondary)}.token-symbol-row .send-button:hover{color:var(--text-primary)}.token-symbol-row .swap-button:hover{opacity:.8}.token-symbol-row .swap-button svg{width:16px;height:16px}.token-expanded-actions{display:flex;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:12px}.expanded-action-button:first-child:hover{color:#3b82f6}.expanded-action-button:last-child:hover{color:#34c759}@media (max-width: 480px){.wallet-page{padding:12px}.wallet-box{padding:16px}}.wallet-header-row{display:flex;justify-content:center;align-items:center;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:16px}.controls-row{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.controls-row .top-row{display:flex;justify-content:space-between;align-items:center;width:100%}.controls-row .bottom-row{display:flex;justify-content:flex-end;width:100%}.controls-row .action-button{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;font-size:14px}.controls-row .action-button:hover:not(:disabled){background:rgba(255,255,255,.1);color:var(--text-primary)}.hide-empty-toggle{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.hide-empty-toggle input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border:1px solid var(--text-secondary);border-radius:4px;background:transparent;cursor:pointer;position:relative;transition:all .2s ease}.hide-empty-toggle input[type=checkbox]:checked{background:var(--accent-blue);border-color:var(--accent-blue)}.hide-empty-toggle input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.hide-empty-toggle:hover input[type=checkbox]:not(:checked){border-color:var(--text-primary)}.hide-empty-toggle:hover span{color:var(--text-primary)}.add-token-row{display:flex;justify-content:flex-end;margin:-8px 0 16px}.add-token-row .expanded-action-button{color:var(--text-secondary)}.add-token-row .expanded-action-button:hover{color:var(--success)}.add-token-row .action-symbol svg{width:16px;height:16px}.controls-row .expanded-action-button{color:var(--text-secondary)}.controls-row .expanded-action-button:hover{color:var(--success)}.controls-row .action-symbol svg{width:16px;height:16px}.action-button.scanning{background:var(--bg-darker);cursor:not-allowed;opacity:.8;display:flex;align-items:center;gap:8px}.action-button .spin{animation:spin 1s linear infinite}.wallet-actions .action-button+.action-button{margin-left:8px}.separator{color:#8f96a1;margin:0 4px;display:inline;white-space:nowrap}.token-subaccounts-section{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.subaccounts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.subaccounts-header h4{margin:0;color:var(--text-primary);font-size:16px;font-weight:500}.add-subaccount-button{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;font-size:14px}.add-subaccount-button:hover{background:rgba(255,255,255,.1);color:var(--text-primary)}.subaccounts-loading{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:14px;padding:12px;background:rgba(255,255,255,.05);border-radius:8px}.no-subaccounts{color:var(--text-secondary);font-size:14px;padding:12px;background:rgba(255,255,255,.05);border-radius:8px;text-align:center}.subaccounts-list{display:flex;flex-direction:column;gap:8px}.subaccount-item{display:flex;flex-direction:column;background:rgba(255,255,255,.05);border-radius:8px;transition:background-color .2s ease;overflow:hidden}.subaccount-item:hover{background:rgba(255,255,255,.08)}.subaccount-header{display:flex;justify-content:space-between;align-items:center;padding:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.subaccount-info{flex:1;display:flex;flex-direction:column;gap:4px}.subaccount-title{display:flex;justify-content:space-between;align-items:center;width:100%}.subaccount-name{color:var(--text-primary);font-size:14px;font-weight:500}.token-balance-row{display:flex;justify-content:space-between;align-items:center;width:100%}.balance-amount{display:flex;align-items:center;gap:4px;font-family:Roboto Mono,monospace;color:var(--text-primary);font-size:14px}.token-expand-button{background:none;border:none;color:var(--text-secondary);padding:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:8px;transition:all .2s ease;font-size:12px;line-height:1;opacity:.6}.subaccount-header:hover .token-expand-button{opacity:1}.subaccount-details{padding:12px;border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2)}.formats-section{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.formats-header{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:4px;border-radius:4px;transition:all .2s ease}.formats-header:hover{background:rgba(255,255,255,.05)}.formats-content{margin-top:12px}.subaccount-actions{display:flex;gap:8px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1);flex-wrap:wrap}.subaccount-action-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border-radius:6px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;font-size:14px;min-width:fit-content}.subaccount-action-button svg{width:16px;height:16px}.subaccount-action-button:hover{background:rgba(255,255,255,.1)}.subaccount-action-button.send:hover{color:#3b82f6;border-color:#3b82f64d;background:rgba(59,130,246,.1)}.subaccount-action-button.transfer:hover{color:#9333ea;border-color:#9333ea4d;background:rgba(147,51,234,.1)}.subaccount-action-button.withdraw:hover{color:#34c759;border-color:#34c7594d;background:rgba(52,199,89,.1)}.subaccount-action-button.remove:hover{color:#ef4444;border-color:#ef44444d;background:rgba(239,68,68,.1)}.subaccount-format{margin-top:12px}.subaccount-format:first-child{margin-top:0}.format-label{color:var(--text-secondary);font-size:12px;margin-bottom:4px}.subaccount-format code{display:block;padding:8px;background:rgba(0,0,0,.2);border-radius:4px;font-family:Roboto Mono,monospace;font-size:12px;color:var(--text-primary);word-break:break-all;width:100%;box-sizing:border-box}.format-row-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.copy-button{background:none;border:none;color:var(--text-secondary);padding:4px 8px;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:4px;border-radius:4px;transition:all .2s ease}.copy-button:hover{background:rgba(255,255,255,.1);color:var(--text-primary)}.remove-subaccount-section{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:flex-end}.remove-subaccount-section .subaccount-action-button.remove{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--text-secondary)}.remove-subaccount-section .subaccount-action-button.remove:hover{background:rgba(239,68,68,.1);border-color:#ef444433;color:#ef4444}.add-subaccount-modal{background:#1A1D26;border-radius:16px;width:90%;max-width:420px!important;max-height:90vh;overflow-y:auto;overflow-x:hidden;padding:24px;box-sizing:border-box}.add-subaccount-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.add-subaccount-header h2{margin:0;font-size:20px;color:#fff;text-align:left}.add-subaccount-content{display:flex;flex-direction:column;gap:20px;width:100%;box-sizing:border-box}.add-subaccount-form{display:flex;flex-direction:column;gap:16px;width:100%;max-width:420px}.form-group{display:flex;flex-direction:column;gap:8px;width:100%}.form-group label{color:#8f96a1;font-size:14px;text-align:left}.subaccount-name-input,.subaccount-value-input,.subaccount-type-select{width:100%;padding:12px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;color:#fff;font-size:14px;font-family:Roboto Mono,monospace;box-sizing:border-box}.subaccount-name-input:focus,.subaccount-value-input:focus,.subaccount-type-select:focus{outline:none;border-color:#3b82f6}.subaccount-type-select{cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F96A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}.subaccount-preview{background:#1A1D26;border-radius:8px;padding:16px;width:100%;box-sizing:border-box}.subaccount-preview label{display:block;color:#8f96a1;font-size:12px;margin-bottom:8px;text-align:left}.subaccount-preview code{display:block;color:#fff;font-family:Roboto Mono,monospace;font-size:12px;word-break:break-all;line-height:1.4;text-align:left;width:100%;box-sizing:border-box;background:#2A2E3A;padding:8px;border-radius:4px;margin-bottom:8px}.add-subaccount-error{color:#ef4444;font-size:14px;padding:8px 12px;background:rgba(239,68,68,.1);border-radius:8px;text-align:left;width:100%;box-sizing:border-box}.add-subaccount-submit{width:100%;padding:12px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;background:#3b82f6;color:#fff;margin-top:8px}.add-subaccount-submit:hover:not(:disabled){opacity:.9}.add-subaccount-submit:disabled{opacity:.5;cursor:not-allowed}.modal-close-button{background:none;border:none;color:#8f96a1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close-button:hover{color:#fff;background:rgba(255,255,255,.1)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.principal-index{margin-top:-8px;width:100%}.index-inputs{display:flex;gap:8px;width:100%;box-sizing:border-box}.index-type-select{flex:0 0 120px;padding:12px 40px 12px 12px;background:#2A2E3A;border:1px solid transparent;border-radius:8px;color:#fff;font-size:14px;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F96A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;box-sizing:border-box}.index-value-input{flex:1;padding:12px;background:#2A2E3A;border:1px solid transparent;border-radius:8px;color:#fff;font-size:14px;font-family:Roboto Mono,monospace;box-sizing:border-box}.index-value-input:focus{outline:none;border-color:#3b82f6}.advanced-section{margin-top:16px;border-top:1px solid #363B47;padding-top:16px;width:100%}.advanced-toggle{display:flex;align-items:center;justify-content:space-between;background:none;border:none;color:#8f96a1;font-size:14px;cursor:pointer;padding:8px;width:100%;text-align:left;transition:color .2s ease}.advanced-toggle:hover{color:#fff}.advanced-toggle span{flex:1;text-align:left}.advanced-toggle svg{flex-shrink:0}.advanced-content{margin-top:16px;padding:16px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;display:flex;flex-direction:column;gap:16px;width:100%;box-sizing:border-box}.confirmation-modal{background:#1A1D26;border-radius:16px;width:90%;max-width:420px!important;padding:24px;box-sizing:border-box}.confirmation-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.confirmation-modal-header h2{margin:0;font-size:20px;color:#fff;text-align:left}.confirmation-modal-content{margin-bottom:24px}.confirmation-modal-content p{color:#8f96a1;font-size:14px;line-height:1.5;margin:0;white-space:pre-wrap;font-family:monospace}.confirmation-modal-actions{display:flex;gap:12px;justify-content:flex-end}.confirmation-modal-cancel,.confirmation-modal-confirm{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.confirmation-modal-cancel{background:#2A2E3A;color:#fff}.confirmation-modal-cancel:hover{background:#363B47}.confirmation-modal-confirm{background:#3b82f6;color:#fff}.confirmation-modal-confirm:hover{opacity:.9}.confirmation-modal-confirm.danger{background:#ef4444}.confirmation-modal-confirm.danger:hover{opacity:.9}.add-pool-modal{background:var(--bg-dark);width:var(--modal-width);max-width:var(--modal-width);max-height:85vh;border-radius:24px;padding:var(--modal-padding);margin:20px 0;overflow-y:auto;border:1px solid var(--border-color);box-sizing:border-box}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-color);width:100%}.modal-header h2{font-size:20px;font-weight:500;margin:0;padding:0;color:var(--text-primary)}.modal-close-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s;padding:8px}.token-selects{display:flex;flex-direction:row;gap:16px;margin-bottom:24px}.token-select-container{display:flex;flex-direction:column;gap:8px;flex:1}.token-select-container label{color:var(--text-secondary);font-size:14px;font-weight:500}.error-message{color:#ef4444;font-size:14px;padding:8px 12px;background:rgba(239,68,68,.1);border-radius:8px;margin-top:12px}.modal-footer{display:flex;justify-content:flex-end;padding-top:16px;margin-top:8px;border-top:1px solid var(--border-color)}.primary-button{width:100%;padding:12px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;background:var(--accent-blue);color:var(--text-primary)}.primary-button:hover:not(:disabled){opacity:.9}.primary-button:disabled{background:linear-gradient(to right,#94a3b8,#64748b);cursor:not-allowed;opacity:.7}.pools-page{display:flex;flex-direction:column;align-items:flex-start;padding:0 0 20px;width:100%;max-width:1200px;margin:0 auto}.pools-box{background:#1A1D26;border-radius:16px;padding:20px;width:100%;max-width:800px;margin:0;border:1px solid var(--border-color);box-sizing:border-box}.pools-container{width:100%}.pools-container h2{margin:0;color:var(--text-primary);font-size:24px;font-weight:600}.pools-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.pools-empty-state .empty-icon{font-size:48px;margin-bottom:16px;color:var(--text-secondary)}.pools-empty-state h3{margin:0 0 8px;color:var(--text-primary);font-size:20px;font-weight:600}.pools-empty-state p{margin:0 0 24px;color:var(--text-secondary);font-size:16px}.pools-empty-state .login-button{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;border-radius:8px;background:var(--primary-color);color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s}.pools-empty-state .login-button:hover{background:var(--primary-color-hover)}.pools-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-top:20px}.pool-card{background:var(--background);border-radius:8px;padding:16px;box-shadow:var(--card-shadow)}.pool-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding-bottom:0;border-bottom:none;transition:all .2s ease}.pool-header-logos{display:flex;align-items:center}.pool-header-logos .token-logo{width:24px;height:24px;border:2px solid var(--background);border-radius:50%}.pool-header-logos .token-logo:last-child{margin-left:-8px}.pool-header-logos .token-logo-placeholder{width:24px;height:24px;border:2px solid var(--background)}.pool-header-logos .token-logo-placeholder:last-child{margin-left:-8px}.pool-header h3{margin:0;color:var(--text-primary);font-size:18px;font-weight:500}.pool-details{display:flex;flex-direction:column;gap:12px}.pool-detail{display:flex;justify-content:space-between;align-items:center;font-size:14px}.pool-detail .label{color:var(--text-secondary)}.pool-detail .value{display:flex;align-items:center;gap:8px;color:var(--text-primary);font-family:monospace}.pool-loading{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:14px}.spinner{animation:spin 1s linear infinite;font-size:.875rem}.token-info{display:flex;align-items:center;gap:8px}.pool-token-logo{width:20px;height:20px;border-radius:50%}.token-text{display:flex;flex-direction:column;gap:2px}.token-symbol{color:var(--text-primary);font-size:.875rem}.token-name{font-size:12px;color:var(--text-secondary)}.pool-tokens{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:12px;transition:all .2s ease;cursor:pointer}.pool-header-right{display:flex;align-items:center;gap:8px}.expand-button{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:4px;background:transparent;color:var(--text-secondary);font-size:12px;cursor:pointer;transition:all .2s ease;padding:0}.expand-button:hover{background:rgba(255,255,255,.1)}.pool-content{display:grid;grid-template-rows:0fr;transition:all .3s ease;overflow:hidden}.pool-tokens.expanded .pool-content{grid-template-rows:1fr;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.pool-tokens:hover{background:rgba(255,255,255,.07)}.token-row{display:flex;align-items:center;justify-content:space-between;padding:.25rem}.token-info-group{display:flex;align-items:center;gap:.5rem}.balance-group{display:flex;align-items:center;gap:.25rem}.withdraw-button{display:flex;align-items:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:var(--background);color:var(--text-primary);font-size:12px;cursor:pointer;transition:background-color .2s}.withdraw-button:hover{background:var(--background-hover)}.token-balances{display:flex;flex-direction:column;gap:.75rem;padding-bottom:1.5rem;margin-bottom:1.5rem;border-bottom:1px solid rgba(255,255,255,.05)}.token-balances:last-child{padding-bottom:0;margin-bottom:0;border-bottom:none}.balance-row{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0}.balance-label{color:#ffffffb3;font-size:.9rem}.balance-value{font-family:Roboto Mono,monospace;color:var(--text-primary);font-size:.875rem;letter-spacing:-.2px}.separator{color:var(--text-secondary);opacity:.5;margin:0 .25rem}.usd-value{color:var(--text-secondary);font-size:.75rem;opacity:.8;text-align:left}.balance-loading{display:flex;align-items:center;gap:.5rem;color:#ffffffb3;font-size:.9rem}.pools-header{display:flex;justify-content:flex-end;margin-bottom:24px}.add-pool-button,.add-first-pool-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;border-radius:8px;background:var(--primary-color);color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.add-pool-button:hover,.add-first-pool-button:hover{background:var(--primary-color-hover)}.add-pool-button .icon,.add-first-pool-button .icon{font-size:16px}.add-first-pool-button{margin-top:16px;padding:12px 24px;font-size:16px}.pool-token-logo-placeholder{width:20px;height:20px;border-radius:50%;background:var(--background);opacity:.5}.pool-header-symbols{color:var(--text-primary);font-size:14px;margin-left:8px}.wallet-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.wallet-total{display:flex;align-items:center;gap:8px;justify-content:flex-start}.total-label{color:var(--text-secondary);font-size:14px}.total-value{color:var(--text-primary);font-size:16px;font-weight:500}.controls-row{margin-bottom:24px;border-bottom:1px solid var(--border-color);padding-bottom:16px}.top-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%}.hide-empty-toggle{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.hide-empty-toggle input[type=checkbox]{margin:0;width:14px;height:14px;cursor:pointer}.hide-empty-toggle span{color:var(--text-secondary);font-size:12px}.controls-buttons{display:flex;gap:8px}.expanded-action-button{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--text-secondary);cursor:pointer;transition:all .2s ease;font-size:14px}.expanded-action-button:hover:not(:disabled){background:rgba(255,255,255,.1);color:var(--text-primary)}.expanded-action-button:disabled{opacity:.5;cursor:not-allowed}.expanded-action-button .action-symbol{display:flex;align-items:center;justify-content:center}.expanded-action-button .action-text{white-space:nowrap}.pool-canister-id{padding:12px 16px;background:rgba(255,255,255,.03);border-radius:6px;margin:8px 16px;display:flex;align-items:center;gap:12px;font-family:monospace}.pool-canister-id .label{color:var(--text-secondary);font-size:14px}.pool-canister-id .value{color:var(--text-primary);font-size:14px}.statistics-container{color:var(--text-primary);display:flex;flex-direction:column;align-items:center;padding:0 0 20px;width:100%;max-width:1200px;margin:0 auto;gap:24px;box-sizing:border-box}.statistics-container h1{margin-bottom:32px;font-size:24px;font-weight:600}.statistics-section{background:#1A1D26;border-radius:16px;padding:20px;width:100%;max-width:800px;border:1px solid var(--border-color);box-sizing:border-box;margin:0;min-height:200px;display:flex;flex-direction:column}.statistics-section h2{margin:0 0 20px;font-size:18px;font-weight:500;color:var(--text-primary)}.statistics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;flex:1;min-height:120px;align-items:start}@media (min-width: 480px){.statistics-grid{grid-template-columns:repeat(2,1fr)}}.statistics-card{background:rgba(255,255,255,.05);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px;min-width:0}.statistics-card h3{margin:0;font-size:14px;font-weight:500;color:var(--text-secondary)}.statistics-card p{margin:0;font-size:24px;font-weight:600;color:var(--text-primary);font-family:Roboto Mono,monospace}.statistics-description{font-size:12px;color:var(--text-secondary)}.token-statistics-table{overflow-x:auto;margin-top:16px;position:relative;max-height:400px;overflow-y:auto;border:1px solid var(--border-color);border-radius:12px;min-height:200px;display:flex;flex-direction:column}.token-statistics-table table{width:100%;border-collapse:separate;border-spacing:0;background:var(--panel-bg)}.token-statistics-table thead{position:sticky;top:0;z-index:2;background:var(--panel-bg)}.token-statistics-table th{text-align:left;padding:12px;font-size:14px;font-weight:500;color:var(--text-secondary);border-bottom:1px solid var(--border-color);background:var(--panel-bg);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none}.token-statistics-table th:first-child{width:120px;min-width:120px;max-width:120px;position:sticky;left:0;z-index:3}.token-statistics-table td{padding:12px;font-size:14px;border-bottom:1px solid rgba(255,255,255,.05);color:var(--text-primary);background:var(--panel-bg)}.token-statistics-table td.token-cell{display:flex;align-items:center;gap:12px;width:120px;min-width:120px;max-width:120px;position:sticky;left:0;background:var(--panel-bg);z-index:1;padding:16px;border-bottom:none}.token-statistics-table tr:last-child td{border-bottom:none}.token-logo{width:24px;height:24px;border-radius:50%;object-fit:cover}.token-info{display:flex;flex-direction:column}.refresh-button{display:block;margin:0 auto;padding:8px 16px;background:var(--accent-blue);border:none;border-radius:8px;color:#fff;font-size:14px;cursor:pointer;transition:opacity .2s}.refresh-button:hover{opacity:.9}.loading{text-align:center;color:var(--text-secondary);padding:24px}.error-message{background:var(--error-light);color:var(--error-red);padding:12px;border-radius:8px;margin-bottom:16px}.usd-value{color:var(--text-secondary);opacity:.8}.usd-value.loading{display:inline-flex;align-items:center;gap:4px;opacity:.6}.usd-value.loading .spinner{width:12px;height:12px;animation:spin 1s linear infinite}.total-volume{margin-bottom:1rem;padding:1rem;border-radius:.5rem;background:rgba(255,255,255,.05)}.total-volume-label{display:block;color:#8f9ba8;font-size:.9rem;margin-bottom:.25rem}.total-volume-value{font-size:1.5rem;font-weight:600;color:#e4e7eb}.total-volume-value.secondary{font-size:1.25rem}.total-row,.total-row td,.total-row .token-cell{background:none;border:none}.sort-icon{display:inline-flex;align-items:center}.statistics-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}@media (max-width: 480px){.statistics-container,.statistics-section{padding:16px}.statistics-card p{font-size:20px}.token-statistics-table{margin:0 -16px;width:calc(100% + 32px)}.statistics-grid{grid-template-columns:1fr}}.loading-spinner{display:flex;align-items:center;justify-content:center;min-height:200px;color:var(--text-secondary);font-size:24px}.loading-spinner svg{animation:spin 1s linear infinite}.achievements-section{background:#080808;border-radius:8px;padding:20px;margin-bottom:30px}.achievements-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.achievements-title{display:flex;align-items:center;gap:10px}.achievements-title h2{margin:0}.achievements-content{padding:20px 0}.achievements-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:20px}.refresh-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;border-radius:4px;color:#fff;cursor:pointer;transition:background-color .2s;background-color:#28a745}.refresh-button:hover{background-color:#218838}.refresh-button:disabled{background-color:#6c757d;cursor:not-allowed}.refresh-button .spinning{animation:spin 1s linear infinite}.scan-button:disabled,.refresh-button:disabled{background-color:#6c757d;cursor:not-allowed}.scan-button .spinning,.refresh-button .spinning{animation:spin 1s linear infinite}.achievements-list{display:flex;flex-direction:column;gap:12px}.achievement-card{background:#1a1a1a;border-radius:8px;overflow:visible;transition:all .2s ease;position:relative;z-index:1}.achievement-header{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s}.achievement-header:hover{background:rgba(255,255,255,.05)}.achievement-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px;position:relative}.achievement-logo{width:40px;height:40px;object-fit:contain;transition:all .3s ease;position:relative;z-index:1;transform-origin:center}.achievement-logo:hover{transform:scale(3.2);z-index:100;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}.achievement-info h3{margin:0;color:#fff;font-size:16px;line-height:1.2;font-weight:500}.achievement-date{color:#888;font-size:12px;margin-top:4px}.achievement-expand{flex-shrink:0;color:#666;display:flex;align-items:center;margin-left:16px}.achievement-details{border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);overflow:hidden;animation:expandDetails .3s ease-out}.achievement-details-content{padding:20px}.achievement-details-content h4{margin:0 0 12px;color:gold;font-size:16px;font-weight:600}.achievement-details-content p{margin:0 0 16px;color:#fff;line-height:1.5;font-size:16px}.achievement-criteria{margin:16px 0;padding:12px;background:rgba(255,255,255,.05);border-radius:6px}.achievement-criteria h5{margin:0 0 8px;color:gold;font-size:14px;font-weight:600}.achievement-criteria p{margin:0;color:#fff;font-size:14px;line-height:1.4}.achievement-details-date{color:#888;font-size:12px;font-style:italic;margin-bottom:20px}.achievement-rewards{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.rewards-loading{display:flex;align-items:center;gap:8px;color:#888;font-size:16px}.rewards-loading .spinning{animation:spin 1s linear infinite}.rewards-list{display:flex;flex-direction:column;gap:12px}.reward-item{display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,.05);padding:12px;border-radius:6px;transition:background-color .2s}.reward-item:hover{background:rgba(255,255,255,.08)}.reward-info{display:flex;align-items:center;gap:12px}.sponsor-logo{width:32px;height:32px;border-radius:50%;object-fit:cover}.sponsor-placeholder{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#3498db,#2980b9);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px}.sponsor-info{color:#888;font-size:12px;margin-top:2px}.reward-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background-color:#ffd70026;color:gold;margin-right:12px;transform-origin:center;position:relative}.reward-icon.has-reward{animation:shake 3s ease-in-out infinite;background-color:#ffd70033;box-shadow:0 0 12px #ffd7004d;cursor:pointer;transition:transform .2s ease,background-color .2s ease}.reward-icon.has-reward:hover{background-color:#ffd7004d;transform:scale(1.1)}.reward-icon.has-reward:active{transform:scale(.95)}.reward-icon svg{width:20px;height:20px}.reward-icon.has-reward svg{filter:drop-shadow(0 0 3px rgba(255,215,0,.7))}.reward-details{display:flex;flex-direction:column;gap:2px}.reward-amount{color:#fff;font-size:16px;font-weight:500}.claim-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;border-radius:4px;background-color:#007bff;color:#fff;cursor:pointer;font-size:12px;transition:background-color .2s}.claim-button:hover:not(:disabled){background-color:#0056b3}.claim-button:disabled{background-color:#6c757d;cursor:not-allowed}.claim-button .spinning{animation:spin 1s linear infinite}.no-rewards{color:#888;font-size:16px;text-align:center;padding:20px}.no-achievements,.achievements-loading{text-align:center;color:#666;padding:40px}.error-message{color:#dc3545;padding:10px;margin:10px 0;border:1px solid #dc3545;border-radius:4px;background-color:#dc35451a}.achievement-rewards.claimed{margin-bottom:20px}.reward-item.claimed{background-color:#ffffff08;padding:12px;border-radius:8px;margin-bottom:8px}.reward-item.claimed:hover{background-color:#ffffff0d}.reward-date{color:#888;font-size:12px;margin-top:4px}.achievement-header .small-gift{font-size:16px;color:gold;margin-left:8px;transform-origin:center;position:relative;animation:shake 3s ease-in-out infinite;cursor:pointer;transition:transform .2s ease}.achievement-header .small-gift:hover{transform:scale(1.2)}.achievement-header .small-gift:active{transform:scale(.9)}.reward-icon.claiming{animation:spin-claim 1s linear infinite!important;background-color:#ffd7001a!important;cursor:not-allowed!important}.achievement-header .small-gift.claiming{animation:spin-claim 1s linear infinite!important;cursor:not-allowed!important}.achievement-card:hover{z-index:2}.reward-item.claimed .reward-info{opacity:.8}.reward-item.claimed .sponsor-info{color:#666}.claim-success-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out}.claim-success-modal{background:linear-gradient(135deg,#1a1f2c,#2c3e50);border-radius:16px;padding:32px;color:#fff;box-shadow:0 8px 32px #0000004d;max-width:440px;width:90%;text-align:center;position:relative;animation:slideUp .5s cubic-bezier(.34,1.56,.64,1);border:1px solid rgba(255,255,255,.1)}.claim-success-content{display:flex;flex-direction:column;align-items:center;gap:24px}.claim-success-icon-wrapper{position:relative;width:80px;height:80px}.claim-success-icon{position:absolute;top:0;left:0;width:100%;height:100%;font-size:80px;color:gold;animation:giftReveal 1s forwards;transform-origin:center;display:flex;align-items:center;justify-content:center;z-index:2}.claim-success-icon .token-logo{width:100%;height:100%;object-fit:contain;border-radius:50%}.claim-success-icon .token-symbol{width:100%;height:100%;background:linear-gradient(135deg,#ffd700,#ffa500);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.2)}.claim-success-icon.closed{opacity:1;transform:scale(1)}.claim-success-icon.open{opacity:0;transform:scale(.8)}.claim-success-text{text-align:center}.claim-success-title{font-size:24px;font-weight:600;margin-bottom:16px;background:linear-gradient(45deg,#ffd700,#ffa500);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 4px rgba(0,0,0,.2)}.claim-success-amount{font-size:20px;opacity:.95;margin-bottom:24px;animation:fadeInUp .5s .5s both}.claim-success-sponsor-info{align-items:center;gap:12px;margin-bottom:24px;font-size:16px;color:#fffc;animation:fadeInUp .5s .7s both}.claim-success-sponsor-info .sponsor-logo{width:32px;height:32px;border-radius:50%;object-fit:cover}.claim-success-close-button{background:linear-gradient(135deg,#3498db,#2980b9);border:none;padding:12px 32px;border-radius:8px;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 12px #0003}.claim-success-close-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.claim-success-close-button:active{transform:translateY(0)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes giftReveal{0%{transform:scale(1)}40%{transform:scale(1.1) rotate(-5deg)}60%{transform:scale(.9) rotate(5deg)}80%{transform:scale(1.05) rotate(-3deg)}to{transform:scale(1) rotate(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.sparkles{position:absolute;width:140%;height:140%;pointer-events:none;top:-20%;left:-20%;z-index:1}.sparkle{position:absolute;width:4px;height:4px;border-radius:50%;background-color:gold;animation:sparkle 1.5s infinite;box-shadow:0 0 4px gold}@keyframes sparkle{0%{transform:scale(0) rotate(0);opacity:0}50%{transform:scale(1) rotate(180deg);opacity:1}to{transform:scale(0) rotate(360deg);opacity:0}}.confetti{position:absolute;width:10px;height:10px;opacity:0;animation:confetti-animation var(--fall-duration, 3s) linear forwards;animation-delay:var(--delay, 0s);transform-origin:center;will-change:transform,opacity}@keyframes confetti-animation{0%{opacity:1;transform:translateY(-20px) rotate(0)}25%{opacity:1;transform:translateY(25vh) translate(var(--shake-distance, 15px)) rotate(90deg)}50%{opacity:1;transform:translateY(50vh) translate(calc(var(--shake-distance, 15px) * -1)) rotate(180deg)}75%{opacity:.8;transform:translateY(75vh) translate(var(--shake-distance, 15px)) rotate(270deg)}to{opacity:0;transform:translateY(105vh) translate(0) rotate(360deg)}}.glitter-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1002;overflow:hidden}.glitter-particle{position:absolute;border-radius:50%;pointer-events:none}@keyframes glitter{0%,to{opacity:0;transform:scale(0) rotate(0)}25%{opacity:1;transform:scale(1.2) rotate(90deg)}50%{opacity:.8;transform:scale(.8) rotate(180deg)}75%{opacity:1;transform:scale(1.1) rotate(270deg)}}.balloon-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible;perspective:1200px;transform-style:preserve-3d}.balloon{position:absolute;border-radius:50% 50% 45% 45%;cursor:pointer;pointer-events:all;will-change:transform;transform-style:preserve-3d}.balloon:not(.popped){animation:float var(--duration) var(--delay) linear forwards}.balloon:hover:not(.popped){transform:scale(1.1) translateZ(30px)}.balloon.popped{animation:pop .5s ease-out forwards!important;pointer-events:none}@keyframes pop{0%{transform:scale(1);opacity:1}20%{transform:scale(1.2);opacity:.9}50%{transform:scale(.8);opacity:.6}to{transform:scale(0);opacity:0}}.balloon-string{position:absolute;width:1px;background:rgba(255,255,255,.7);height:100%;left:50%;bottom:-100%;transform-origin:top center;pointer-events:none;transition:opacity .15s;will-change:transform}.balloon-particle{position:fixed;border-radius:50%;pointer-events:none;z-index:1004}@keyframes float{0%{transform:translateZ(var(--depth-offset, 0)) rotate(0)}to{transform:translate3d(0,-120vh,var(--depth-offset, 0)) rotate(15deg)}}.fireworks-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1004;overflow:hidden}.firework{position:absolute;width:100%;height:100%}.firework-trail{position:absolute;bottom:0;width:3px;background:linear-gradient(to top,rgba(255,255,255,.9),transparent);transform-origin:bottom center;filter:blur(.5px)}.firework-particle{position:fixed;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);box-shadow:0 0 12px 4px currentColor;filter:blur(.5px);will-change:transform,opacity}@keyframes launch{0%{transform:scaleY(0);opacity:1}60%{opacity:1}to{transform:scaleY(1);opacity:0}}.allocations-section{background:#080808;border-radius:8px;padding:20px;margin-bottom:30px}.allocations-section .allocations-content{padding:16px}.allocations-section .allocations-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:16px}.allocations-section .create-button,.allocations-section .refresh-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.allocations-section .create-button:hover,.allocations-section .refresh-button:hover{background:rgba(255,255,255,.05);color:#fff}.allocations-section .refresh-button:disabled{opacity:.5;cursor:not-allowed}.allocations-section .refresh-button .spinning{animation:spin 1s linear infinite}.allocations-section .allocations-list{display:flex;flex-direction:column;gap:12px}.allocations-section .allocation-card{background:#1A1D26;border-radius:12px;overflow:hidden;transition:all .2s ease}.allocations-section .allocation-header{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s}.allocations-section .allocation-header:hover{background:rgba(255,255,255,.05)}.allocations-section .allocation-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px}.allocations-section .allocation-icon{color:gold}.allocations-section .allocation-info{flex-grow:1;min-width:0}.allocations-section .allocation-info h3{margin:0;color:#fff;font-size:14px;line-height:1.2;font-weight:500}.allocations-section .allocation-date{color:#8f96a1;font-size:12px;margin-top:4px}.allocations-section .allocation-status{margin:0 16px;font-weight:500;font-size:12px}.allocations-section .allocation-expand{flex-shrink:0;color:#666;display:flex;align-items:center}.allocations-section .allocation-details{border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);overflow:hidden;animation:expandDetails .3s ease-out}.allocations-section .allocation-details-content{padding:20px}.allocations-section .detail-row{display:flex;margin-bottom:12px}.allocations-section .detail-row:last-child{margin-bottom:0}.allocations-section .detail-label{flex:0 0 120px;color:#8f96a1;font-size:12px}.allocations-section .detail-value{color:#fff;font-size:12px;word-break:break-all;font-family:Roboto Mono,monospace}.allocations-section .no-allocations{text-align:center;color:#8f96a1;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:24px;background:#1A1D26;border-radius:12px}.allocations-section .allocations-loading{text-align:center;color:#8f96a1;padding:40px}.allocations-section .error-message{color:#ef4444;padding:10px;margin:10px 0;border:1px solid rgba(239,68,68,.3);border-radius:8px;background-color:#ef44441a;font-size:14px}.allocations-section .create-first-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.allocations-section .create-first-button:hover{background:rgba(255,255,255,.05);color:#fff}.allocations-section .allocation-form{background:#1A1D26;border-radius:12px;padding:16px;margin-bottom:16px;width:100%;max-width:480px;box-sizing:border-box}.allocations-section .form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.allocations-section .form-header h3{margin:0;color:#fff;font-size:14px;font-weight:500}.allocations-section .close-button{background:none;border:none;color:#8f96a1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.allocations-section .close-button:hover{color:#fff;background:rgba(255,255,255,.1)}.allocations-section .form-group{margin-bottom:12px;width:100%}.allocations-section .form-group label{display:block;color:#8f96a1;font-size:12px;margin-bottom:6px}.allocations-section .form-group select,.allocations-section .form-group input,.allocations-section .token-select{width:100%;padding:8px 12px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;color:#fff;font-size:12px;font-family:Roboto Mono,monospace;box-sizing:border-box}.allocations-section .form-group select:focus,.allocations-section .form-group input:focus{outline:none;border-color:#3b82f6}.allocations-section .form-group select option{background:#1A1D26;color:#fff}.allocations-section .form-row{display:flex;gap:12px;width:100%}.allocations-section .form-row .form-group{flex:1}.allocations-section .form-actions{display:flex;gap:8px;margin-top:16px}.allocations-section .submit-button,.allocations-section .cancel-button{padding:8px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1}.allocations-section .submit-button:hover:not(:disabled),.allocations-section .cancel-button:hover{background:rgba(255,255,255,.05);color:#fff}.allocations-section .submit-button:disabled{opacity:.5;cursor:not-allowed}.allocations-section .token-select{width:100%;max-width:none}.allocations-section .token-select-button{width:100%;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;padding:8px 12px;color:#fff;font-size:12px;text-align:left}.allocations-section .token-select-button:hover{background:#363B47;border-color:#454b57}.section-content .allocations-content{padding:16px}.section-content .allocations-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:16px}.section-content .create-button,.section-content .refresh-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.section-content .create-button:hover,.section-content .refresh-button:hover{background:rgba(255,255,255,.05);color:#fff}.section-content .refresh-button:disabled{opacity:.5;cursor:not-allowed}.section-content .refresh-button .spinning{animation:spin 1s linear infinite}.section-content .allocations-list{display:flex;flex-direction:column;gap:12px}.section-content .allocation-card{background:#1A1D26;border-radius:12px;overflow:hidden;transition:all .2s ease}.section-content .allocation-header{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s}.section-content .allocation-header:hover{background:rgba(255,255,255,.05)}.section-content .allocation-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px}.section-content .allocation-icon{color:gold}.section-content .allocation-info{flex-grow:1;min-width:0}.section-content .allocation-info h3{margin:0;color:#fff;font-size:14px;line-height:1.2;font-weight:500}.section-content .allocation-date{color:#8f96a1;font-size:12px;margin-top:4px}.section-content .allocation-status{margin:0 16px;font-weight:500;font-size:12px}.section-content .allocation-expand{flex-shrink:0;color:#666;display:flex;align-items:center}.section-content .allocation-details{border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);overflow:hidden;animation:expandDetails .3s ease-out}.section-content .allocation-details-content{padding:20px}.section-content .detail-row{display:flex;margin-bottom:12px}.section-content .detail-row:last-child{margin-bottom:0}.section-content .detail-label{flex:0 0 120px;color:#8f96a1;font-size:12px}.section-content .detail-value{color:#fff;font-size:12px;word-break:break-all;font-family:Roboto Mono,monospace}.section-content .no-allocations{text-align:center;color:#8f96a1;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:24px;background:#1A1D26;border-radius:12px}.section-content .allocations-loading{text-align:center;color:#8f96a1;padding:40px}.section-content .error-message{color:#ef4444;padding:10px;margin:10px 0;border:1px solid rgba(239,68,68,.3);border-radius:8px;background-color:#ef44441a;font-size:14px}.section-content .create-first-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.section-content .create-first-button:hover{background:rgba(255,255,255,.05);color:#fff}.section-content .allocation-form{background:#1A1D26;border-radius:12px;padding:16px;margin-bottom:16px;width:100%;max-width:480px;box-sizing:border-box}.section-content .form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-content .form-header h3{margin:0;color:#fff;font-size:14px;font-weight:500}.section-content .close-button{background:none;border:none;color:#8f96a1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.section-content .close-button:hover{color:#fff;background:rgba(255,255,255,.1)}.section-content .form-group{margin-bottom:12px;width:100%}.section-content .form-group label{display:block;color:#8f96a1;font-size:12px;margin-bottom:6px}.section-content .form-group select,.section-content .form-group input,.section-content .token-select{width:100%;padding:8px 12px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;color:#fff;font-size:12px;font-family:Roboto Mono,monospace;box-sizing:border-box}.section-content .form-group select:focus,.section-content .form-group input:focus{outline:none;border-color:#3b82f6}.section-content .form-group select option{background:#1A1D26;color:#fff}.section-content .form-row{display:flex;gap:12px;width:100%}.section-content .form-row .form-group{flex:1}.section-content .form-actions{display:flex;gap:8px;margin-top:16px}.section-content .submit-button,.section-content .cancel-button{padding:8px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1}.section-content .submit-button:hover:not(:disabled),.section-content .cancel-button:hover{background:rgba(255,255,255,.05);color:#fff}.section-content .submit-button:disabled{opacity:.5;cursor:not-allowed}.section-content .token-select{width:100%;max-width:none}.section-content .token-select-button{width:100%;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;padding:8px 12px;color:#fff;font-size:12px;text-align:left}.section-content .token-select-button:hover{background:#363B47;border-color:#454b57}.collapsible-section .allocations-content{padding:16px}.collapsible-section .allocations-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:16px}.collapsible-section .create-button,.collapsible-section .refresh-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.collapsible-section .create-button:hover,.collapsible-section .refresh-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .refresh-button:disabled{opacity:.5;cursor:not-allowed}.collapsible-section .refresh-button .spinning{animation:spin 1s linear infinite}.collapsible-section .allocations-list{display:flex;flex-direction:column;gap:12px}.collapsible-section .allocation-card{background:#1A1D26;border-radius:12px;overflow:hidden;transition:all .2s ease}.collapsible-section .allocation-header{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s}.collapsible-section .allocation-header:hover{background:rgba(255,255,255,.05)}.collapsible-section .allocation-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px}.collapsible-section .allocation-icon{color:gold}.collapsible-section .allocation-info{flex-grow:1;min-width:0}.collapsible-section .allocation-info h3{margin:0;color:#fff;font-size:14px;line-height:1.2;font-weight:500}.collapsible-section .allocation-date{color:#8f96a1;font-size:12px;margin-top:4px}.collapsible-section .allocation-status{margin:0 16px;font-weight:500;font-size:12px}.collapsible-section .allocation-expand{flex-shrink:0;color:#666;display:flex;align-items:center}.collapsible-section .allocation-details{border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);overflow:hidden;animation:expandDetails .3s ease-out}.collapsible-section .allocation-details-content{padding:20px}.collapsible-section .detail-row{display:flex;margin-bottom:12px}.collapsible-section .detail-row:last-child{margin-bottom:0}.collapsible-section .detail-label{flex:0 0 120px;color:#8f96a1;font-size:12px}.collapsible-section .detail-value{color:#fff;font-size:12px;word-break:break-all;font-family:Roboto Mono,monospace}.collapsible-section .no-allocations{text-align:center;color:#8f96a1;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:24px;background:#1A1D26;border-radius:12px}.collapsible-section .allocations-loading{text-align:center;color:#8f96a1;padding:40px}.collapsible-section .error-message{color:#ef4444;padding:10px;margin:10px 0;border:1px solid rgba(239,68,68,.3);border-radius:8px;background-color:#ef44441a;font-size:14px}.collapsible-section .create-first-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.collapsible-section .create-first-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .allocation-form{background:#1A1D26;border-radius:12px;padding:16px;margin-bottom:16px;width:100%;box-sizing:border-box}.collapsible-section .form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.collapsible-section .form-header h3{margin:0;color:#fff;font-size:14px;font-weight:500}.collapsible-section .close-button{background:none;border:none;color:#8f96a1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.collapsible-section .close-button:hover{color:#fff;background:rgba(255,255,255,.1)}.collapsible-section .form-group{margin-bottom:12px;width:100%}.collapsible-section .form-group label{display:block;color:#8f96a1;font-size:12px;margin-bottom:6px}.collapsible-section .form-group select,.collapsible-section .form-group input,.collapsible-section .token-select{width:100%;padding:8px 12px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;color:#fff;font-size:12px;font-family:Roboto Mono,monospace;box-sizing:border-box}.collapsible-section .form-group select:focus,.collapsible-section .form-group input:focus{outline:none;border-color:#3b82f6}.collapsible-section .form-group select option{background:#1A1D26;color:#fff}.collapsible-section .form-row{display:flex;gap:12px;width:100%}.collapsible-section .form-row .form-group{flex:1}.collapsible-section .form-actions{display:flex;gap:8px;margin-top:16px}.collapsible-section .submit-button,.collapsible-section .cancel-button{padding:8px 12px;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1}.collapsible-section .submit-button:hover:not(:disabled),.collapsible-section .cancel-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .submit-button:disabled{opacity:.5;cursor:not-allowed}.collapsible-section .token-select{width:100%;max-width:none}.collapsible-section .token-select-button{width:100%;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;padding:8px 12px;color:#fff;font-size:12px;text-align:left}.collapsible-section .token-select-button:hover{background:#363B47;border-color:#454b57}.collapsible-section .section-content .allocations-content{padding:16px}.collapsible-section .section-content .allocations-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:16px}.collapsible-section .section-content .create-button,.collapsible-section .section-content .refresh-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.collapsible-section .section-content .create-button:hover,.collapsible-section .section-content .refresh-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .section-content .refresh-button:disabled{opacity:.5;cursor:not-allowed}.collapsible-section .section-content .refresh-button .spinning{animation:spin 1s linear infinite}.collapsible-section .section-content .allocations-list{display:flex;flex-direction:column;gap:12px}.collapsible-section .section-content .allocation-card{background:#1A1D26;border-radius:12px;overflow:hidden;transition:all .2s ease}.collapsible-section .section-content .allocation-header{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s}.collapsible-section .section-content .allocation-header:hover{background:rgba(255,255,255,.05)}.collapsible-section .section-content .allocation-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px}.collapsible-section .section-content .allocation-icon{color:gold}.collapsible-section .section-content .allocation-info{flex-grow:1;min-width:0}.collapsible-section .section-content .allocation-info h3{margin:0;color:#fff;font-size:14px;line-height:1.2;font-weight:500}.collapsible-section .section-content .allocation-date{color:#8f96a1;font-size:12px;margin-top:4px}.collapsible-section .section-content .allocation-status{margin:0 16px;font-weight:500;font-size:12px}.collapsible-section .section-content .allocation-expand{flex-shrink:0;color:#666;display:flex;align-items:center}.collapsible-section .section-content .allocation-details{border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);overflow:hidden;animation:expandDetails .3s ease-out}@keyframes expandDetails{0%{max-height:0;opacity:0}to{max-height:500px;opacity:1}}.collapsible-section .section-content .allocation-details-content{padding:20px}.collapsible-section .section-content .detail-row{display:flex;margin-bottom:12px}.collapsible-section .section-content .detail-row:last-child{margin-bottom:0}.collapsible-section .section-content .detail-label{flex:0 0 120px;color:#8f96a1;font-size:12px}.collapsible-section .section-content .detail-value{color:#fff;font-size:12px;word-break:break-all;font-family:Roboto Mono,monospace}.collapsible-section .section-content .no-allocations{text-align:center;color:#8f96a1;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:24px;background:#1A1D26;border-radius:12px}.collapsible-section .section-content .allocations-loading{text-align:center;color:#8f96a1;padding:40px}.collapsible-section .section-content .error-message{color:#ef4444;padding:10px;margin:10px 0;border:1px solid rgba(239,68,68,.3);border-radius:8px;background-color:#ef44441a;font-size:14px}.collapsible-section .section-content .create-first-button{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:12px}.collapsible-section .section-content .create-first-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .section-content .allocation-form{background:#1A1D26;border-radius:12px;padding:16px;margin-bottom:16px;width:100%;max-width:480px;box-sizing:border-box}.collapsible-section .section-content .form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;width:100%}.collapsible-section .section-content .form-header h3{margin:0;color:#fff;font-size:14px;font-weight:500}.collapsible-section .section-content .close-button{background:none;border:none;color:#8f96a1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.collapsible-section .section-content .close-button:hover{color:#fff;background:rgba(255,255,255,.1)}.collapsible-section .section-content .form-group{margin-bottom:12px;width:100%}.collapsible-section .section-content .form-group label{display:block;color:#8f96a1;font-size:12px;margin-bottom:6px}.collapsible-section .section-content .form-group select,.collapsible-section .section-content .form-group input,.collapsible-section .section-content .token-select{width:100%;padding:8px 12px;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;color:#fff;font-size:12px;font-family:Roboto Mono,monospace;box-sizing:border-box}.collapsible-section .section-content .form-group select:focus,.collapsible-section .section-content .form-group input:focus{outline:none;border-color:#3b82f6}.collapsible-section .section-content .form-group select option{background:#1A1D26;color:#fff}.collapsible-section .section-content .form-row{display:flex;gap:12px;width:100%}.collapsible-section .section-content .form-row .form-group{flex:1}.collapsible-section .section-content .form-actions{display:flex;gap:8px;margin-top:16px}.collapsible-section .section-content .submit-button,.collapsible-section .section-content .cancel-button{padding:8px 12px;margin:10px 0;border-radius:8px;font-size:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1}.collapsible-section .section-content .submit-button:hover:not(:disabled),.collapsible-section .section-content .cancel-button:hover{background:rgba(255,255,255,.05);color:#fff}.collapsible-section .section-content .submit-button:disabled{opacity:.5;cursor:not-allowed}.collapsible-section .section-content .token-select{width:100%;max-width:none}.collapsible-section .section-content .token-select-button{width:100%;background:#2A2E3A;border:1px solid #363B47;border-radius:8px;padding:8px 12px;color:#fff;font-size:12px;text-align:left}.collapsible-section .section-content .token-select-button:hover{background:#363B47;border-color:#454b57}.fee-info{background:#1A1D26;border:1px solid #363B47;border-radius:8px;margin:0;overflow:hidden}.fee-section{padding:16px}.fee-header{color:#fff;font-size:14px;font-weight:500;margin-bottom:12px}.fee-content{background:#2A2E3A;border-radius:6px;padding:12px}.fee-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.fee-row:first-child{padding-top:0}.fee-row:last-child{padding-bottom:0}.fee-row+.fee-row{border-top:1px solid #363B47}.fee-label{color:#8f96a1;font-size:12px}.fee-value{color:#fff;font-size:12px;font-family:Roboto Mono,monospace;display:flex;align-items:center;gap:6px}.fee-value .token-logo{width:16px;height:16px;border-radius:50%;object-fit:cover}.fee-info-note{font-size:12px;color:#8f96a1;padding:12px 0 0;margin-top:12px;border-top:1px solid #363B47;line-height:1.5}.balance-warning{color:#dc3545;margin-left:8px;display:inline-flex;align-items:center;gap:4px;font-size:.9em}.balance-info{color:#6c757d;font-size:.9em;margin-top:4px}.potential-users-info{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.2);border-radius:8px;padding:12px;margin:0;color:#8f96a1;line-height:1.4;font-size:12px}.allocation-details .token-info{display:flex;align-items:center;gap:8px}.allocation-details .token-info .token-logo{width:20px;height:20px;border-radius:50%;object-fit:cover}.allocation-details .token-info .token-symbol{color:#fff;font-size:14px;font-weight:500}.payment-section{background:rgba(0,0,0,.2);border-radius:8px;padding:16px;margin-bottom:20px}.payment-section h4{margin:0 0 12px;color:#fff;font-size:1em;font-weight:500}.payment-info{display:flex;flex-direction:column;gap:8px}.payment-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.payment-label{color:#8f96a1;font-size:.9em}.payment-value{color:#fff;font-family:Roboto Mono,monospace;font-size:.9em}.payment-actions{margin-top:12px;display:flex;justify-content:flex-end}.pay-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#3b82f6;border:none;border-radius:6px;color:#fff;font-size:.9em;cursor:pointer;transition:background-color .2s}.pay-button:hover:not(:disabled){background:#2563eb}.pay-button:disabled{opacity:.5;cursor:not-allowed}.pay-button .spinning{animation:spin 1s linear infinite}.payment-loading{color:#8f96a1;font-size:.9em;text-align:center;padding:8px 0}.detail-section{background:rgba(0,0,0,.2);border-radius:8px;padding:16px;margin-bottom:20px}.detail-section h4{margin:0 0 12px;color:#fff;font-size:14px;font-weight:500}.detail-content{display:flex;flex-direction:column;gap:8px}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.detail-label{color:#8f96a1;font-size:13px}.detail-value{color:#fff;font-family:Roboto Mono,monospace;font-size:13px}.detail-actions{margin-top:12px;display:flex;justify-content:flex-end}.action-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:6px;font-size:13px;cursor:pointer;transition:background-color .2s;border:1px solid rgba(255,255,255,.1)}.action-button.primary{background:#3b82f6;border:none;color:#fff}.action-button.primary:hover:not(:disabled){background:#2563eb}.action-button.primary:disabled{opacity:.5;cursor:not-allowed}.action-button .spinning{animation:spin 1s linear infinite}.detail-loading{color:#8f96a1;font-size:13px;text-align:center;padding:8px 0}.detail-row.payment-complete{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.detail-row.payment-complete .detail-value{color:#28a745;display:flex;align-items:center;gap:6px}.detail-row.payment-complete .check-icon{color:#28a745;font-size:16px}.detail-info{margin-top:12px;color:#8f96a1;font-size:.9em;line-height:1.4}.detail-info div{display:flex;align-items:center;gap:6px}.detail-info div:not(:last-child){margin-bottom:4px}.action-button.danger{background-color:#dc3545;color:#fff;border:none;border-radius:8px;padding:10px 16px;font-size:14px;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content}.action-button.danger:hover:not(:disabled){background-color:#c82333}.action-button.danger:disabled{opacity:.5;cursor:not-allowed}.allocation-details .status-requirements{background:rgba(0,0,0,.2);border-radius:8px;padding:16px;margin-top:12px}.allocation-details .status-requirements ul{list-style:none;padding:0;margin:0}.allocation-details .status-requirements li{display:flex;align-items:center;gap:8px;color:#8f96a1;font-size:13px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1)}.allocation-details .status-requirements li:last-child{border-bottom:none}.allocation-details .status-requirements li svg{flex-shrink:0;color:#6c757d}.allocation-details .status-requirements li.completed{color:#28a745}.allocation-details .status-requirements li.completed svg{color:#28a745}.achievement-preview{margin-top:12px;border:1px solid #363B47;border-radius:8px;padding:12px;background-color:#1a1d26;position:relative}.achievement-preview-content{display:flex;gap:16px;align-items:flex-start;position:relative}.achievement-preview-logo{width:64px;height:64px;border-radius:8px;object-fit:cover;transition:all .3s ease;position:relative;z-index:1}.achievement-preview-logo:hover{transform:scale(2) translateY(32px);z-index:100;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}.achievement-preview-info{flex:1;color:#fff}.achievement-preview-info h4{margin:0 0 8px;color:#fff}.achievement-preview-description{margin:0 0 8px;color:#8f96a1;font-size:14px}.achievement-preview-criteria{font-size:14px;color:#8f96a1}.achievement-preview-criteria strong{color:#fff}.claims-section{margin-top:20px;border-top:1px solid rgba(255,255,255,.1);padding-top:15px}.claims-header{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:5px 0}.claims-header h4{margin:0;color:#fff;font-size:16px}.claims-header .expand-button{background:none;border:none;color:#888;cursor:pointer;padding:4px;display:flex;align-items:center}.claims-header .expand-button:hover{color:#fff}.claims-list{margin-top:10px}.claim-item{background:rgba(255,255,255,.05);border-radius:4px;padding:10px;margin-bottom:8px}.claim-item:last-child{margin-bottom:0}.claim-info{display:flex;justify-content:space-between;align-items:center;gap:10px}.claim-user{color:#888;font-size:14px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.claim-amount{color:#fff;font-size:14px;font-weight:500}.claim-date{color:#888;font-size:12px}.no-claims{color:#888;text-align:center;padding:20px;font-style:italic}.allocation-transfer-form{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.allocation-transfer-form input{flex:1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px 12px;color:#fff;font-size:14px}.allocation-transfer-form input:focus{outline:none;border-color:#fff3}.allocation-transfer-form button{padding:8px 16px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:#8f96a1;cursor:pointer;transition:all .2s ease;font-size:14px;display:flex;align-items:center;gap:6px}.allocation-transfer-form button:hover:not(:disabled){background:rgba(255,255,255,.05);color:#fff}.allocation-transfer-form button:disabled{opacity:.5;cursor:not-allowed}.allocation-transfer-form .error{color:#dc3545;font-size:12px;margin-top:4px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:#141517;border-radius:8px;padding:16px;width:90%;max-width:360px;position:relative}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}.modal-header h3{margin:0;color:#fff;font-size:1.125rem;font-weight:500}.close-button{background:none;border:none;color:#ffffff80;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:color .2s}.close-button:hover,.modal-body{color:#fff}.balances-container{display:flex;gap:8px;margin-bottom:12px}.funding-balance,.wallet-balance{flex:1;background-color:#1a1b1e;padding:12px;border-radius:6px}.funding-balance h4,.wallet-balance h4,.allocation-balance h4{margin:0 0 4px;color:#ffffff80;font-size:.875rem;font-weight:400}.funding-balance p,.wallet-balance p,.allocation-balance p{margin:0;font-size:1.125rem;font-weight:500}.potential-users{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.1)}.potential-users span{color:#ffffff80;font-size:.75rem}.allocation-balance{background-color:#1a1b1e;padding:12px;border-radius:6px;margin-bottom:16px}.funding-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.input-wrapper{flex:1}.input-label{color:#ffffff80;font-size:.875rem;font-weight:400;display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.action-group{display:flex;flex-direction:column;max-width:240px}.action-group input{width:100%;background-color:#1a1b1e;border:1px solid rgba(255,255,255,.1);border-radius:4px;padding:8px 12px;color:#fff;font-size:.875rem;height:34px;margin:0}.action-group input:focus{outline:none;border-color:#fff3}.action-group input::placeholder{color:#ffffff4d}.action-button{background-color:#1a1b1e;border:1px solid rgba(255,255,255,.1);border-radius:4px;padding:0 12px;color:#fffc;cursor:pointer;display:flex;align-items:center;gap:6px;height:34px;white-space:nowrap;min-width:80px;justify-content:center;font-size:.875rem}.action-button:hover:not(:disabled){background-color:#202124;border-color:#fff3}.action-button:disabled{opacity:.5;cursor:not-allowed}.top-up-button{width:100%;background-color:#0d6efd;border:none;border-radius:4px;padding:10px;color:#fff;font-size:.875rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background-color .2s}.top-up-button:hover:not(:disabled){background-color:#0b5ed7}.top-up-button:disabled{opacity:.5;cursor:not-allowed}.error-message{margin-top:12px;padding:10px;background-color:#dc35451a;border:1px solid rgba(220,53,69,.2);border-radius:4px;color:#dc3545;font-size:.875rem}.button-group{display:flex;flex-direction:column;gap:12px;margin-top:16px}.cancel-button{width:100%;background-color:#dc3545;border:none;border-radius:4px;padding:10px;color:#fff;font-size:.875rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background-color .2s}.cancel-button:hover:not(:disabled){background-color:#c82333}.cancel-button:disabled{opacity:.5;cursor:not-allowed}.me-page{display:flex;flex-direction:column;align-items:flex-start;padding:0 0 20px;width:100%;max-width:1200px;margin:0 auto}.collapsible-section{width:100%;border-bottom:1px solid var(--border-color)}.collapsible-section:last-child{border-bottom:none}.section-header{display:flex;justify-content:space-between;align-items:center;padding:20px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s}.section-header:hover{background-color:#ffffff05}.section-title{display:flex;align-items:center;gap:12px}.section-title h2{margin:0;font-size:18px;font-weight:600;color:var(--text-primary)}.section-title svg{font-size:18px;color:var(--text-secondary)}.section-header .FiGift{color:gold;filter:drop-shadow(0 0 3px rgba(255,215,0,.7))}.section-header .FiGift.claiming{animation:spin-claim 2s linear infinite}.me-page .section-content{padding:0 0 20px}.principal-display{background:rgba(255,255,255,.05);border:1px solid var(--border-color);border-radius:12px;padding:16px}.principal-display label{display:block;font-size:14px;color:var(--text-secondary);margin-bottom:8px}.principal-value{font-family:Roboto Mono,monospace;font-size:14px;color:var(--text-primary);word-break:break-all;background:var(--input-bg);padding:12px;border-radius:8px}.settings-display,.statistics-display{background:rgba(255,255,255,.05);border:1px solid var(--border-color);border-radius:12px;padding:16px}.setting-item{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:8px 0}.setting-info{flex:1}.setting-info label{display:block;font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:4px}.setting-description{font-size:12px;color:var(--text-secondary);margin:0;line-height:1.5}.setting-control{display:flex;align-items:center;padding-top:2px}.setting-control input[type=checkbox]{width:16px;height:16px;cursor:pointer}.placeholder-text{color:var(--text-secondary);font-size:14px;text-align:center;margin:0;padding:20px 0}.me-page .statistics-display .trading-activity{margin-bottom:24px}.me-page .statistics-display .total-volume{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.me-page .statistics-display .total-volume .total-volume-content{display:flex;flex-direction:column;align-items:flex-start}.me-page .statistics-display .total-volume .total-volume-label{font-size:14px;color:var(--text-secondary);margin-bottom:8px}.me-page .statistics-display .total-volume .total-volume-value{font-size:16px;font-weight:500;color:var(--text-primary);display:flex;align-items:center;gap:8px}.me-page .statistics-display .total-volume .spinner{display:inline-block;position:relative;width:16px;height:16px;margin-left:8px;transform-origin:center center;animation:spin-in-place 1s linear infinite}@keyframes spin-in-place{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.me-page .statistics-display .token-statistics-table{margin-bottom:24px}.allocation-summary{background:rgba(255,255,255,.02);border:1px solid var(--border-color);border-radius:8px;padding:16px;margin-bottom:20px;display:flex;flex-direction:column;gap:12px}.allocation-summary-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1)}.allocation-summary-row:last-child{border-bottom:none}.allocation-summary-label{color:var(--text-secondary);font-size:14px}.allocation-summary-value{color:var(--text-primary);font-size:16px;font-weight:500;display:flex;align-items:center}.allocation-summary-value.positive{color:#22c55e}.allocation-summary-value .spinner{display:inline-block;position:relative;width:16px;height:16px;margin-left:8px;transform-origin:center center;animation:spin-in-place 1s linear infinite}.allocation-summary-count{color:var(--text-primary);font-size:16px;font-weight:500;display:flex;align-items:center}.me-page .statistics-display .activity-grid{display:grid;grid-template-columns:1fr;gap:16px}.me-page .statistics-display .activity-card{background:rgba(255,255,255,.02);border:1px solid var(--border-color);border-radius:12px;padding:20px}.me-page .statistics-display .activity-card h4{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 8px}.me-page .statistics-display .activity-card .activity-value{font-size:24px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.me-page .statistics-display .activity-card .activity-description{font-size:12px;color:var(--text-secondary);margin:0;line-height:1.4}@media (min-width: 480px){.me-page .statistics-display .activity-grid{grid-template-columns:repeat(2,1fr)}}@keyframes shake{0%,80%,to{transform:rotate(0)}82%{transform:rotate(-12deg)}84%{transform:rotate(12deg)}86%{transform:rotate(-8deg)}88%{transform:rotate(4deg)}90%{transform:rotate(0)}}.reward-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#ffd70033;padding:8px;transform-origin:center;position:relative}.reward-icon.has-reward{animation:shake 3s ease-in-out infinite;background-color:#ffd70033;box-shadow:0 0 12px #ffd7004d}.me-page .statistics-display .section-header{font-size:16px;font-weight:600;color:var(--text-primary);margin:24px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;gap:8px}.me-page .statistics-display .section-header svg{width:18px;height:18px;color:var(--text-secondary)}.me-page .statistics-display .section-header svg.FiGift{color:gold;filter:drop-shadow(0 0 3px rgba(255,215,0,.7))}.me-page .statistics-display .section-header svg.FiGift.claiming{animation:spin-claim 2s linear infinite}.transactions-buttons{display:flex;flex-direction:column;gap:1rem;width:100%}.dex-button{display:flex;flex-direction:column;align-items:flex-start;padding:1rem;border:1px solid var(--border-color);border-radius:8px;background:var(--background-secondary);cursor:pointer;transition:all .2s ease;width:100%}.dex-button:hover{background:var(--background-hover);transform:translateY(-2px)}.dex-name{font-size:1.2rem;font-weight:600;margin-bottom:.5rem}.button-description{font-size:.9rem;color:var(--text-secondary)}.external-link-icon{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.dex-button.icpswap{position:relative;border-color:#6366f1}.dex-button.kong{position:relative;border-color:#22c55e}button.pool-action-button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;background:none;color:var(--text-secondary);font-size:14px;cursor:pointer;transition:all .2s ease;white-space:nowrap}button.pool-action-button:not(:disabled):hover{background:rgba(255,255,255,.05);border-color:#fff3;color:var(--text-primary)}button.pool-action-button:disabled{opacity:.5;cursor:not-allowed}.pool-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.quotes-header button.pool-action-button{height:32px;padding:0 12px;font-size:13px}.modal-overlay[class]{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay[class] .add-custom-token-modal[class]{background:#0d0d0d;border-radius:12px;padding:16px;width:320px;position:relative}.add-custom-token-modal[class] .modal-header[class]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;width:100%}.add-custom-token-modal[class] .modal-header[class] h3{margin:0;font-size:16px;font-weight:500;color:#fff;white-space:nowrap}.add-custom-token-modal[class] .modal-header[class] .close-button[class]{background:none;border:none;color:#fff9;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;margin-left:auto;margin-top:0;margin-right:14px;width:fit-content}.add-custom-token-modal[class] .modal-header[class] .close-button[class]:hover{color:#ffffffe6}.add-custom-token-modal[class] .modal-content[class]{display:flex;flex-direction:column;gap:12px;width:100%}.add-custom-token-modal[class] .token-input[class]{width:92%;background:#1a1a1a;border:none;border-radius:8px;color:#666;font-size:14px;padding:12px}.add-custom-token-modal[class] .token-input[class]::placeholder{color:#666}.add-custom-token-modal[class] .token-input[class]:focus{outline:none;background:#202020}.add-custom-token-modal[class] .error-message[class]{color:#ef4444;font-size:14px;text-align:left}.add-custom-token-modal[class] .add-token-button[class]{width:100%;background:rgba(255,255,255,.1);border:none;border-radius:8px;color:#fff;font-size:14px;padding:12px;cursor:pointer;transition:background-color .2s}.add-custom-token-modal[class] .add-token-button[class]:hover:not(:disabled){background:rgba(255,255,255,.15)}.add-custom-token-modal[class] .add-token-button[class]:disabled{opacity:.5;cursor:not-allowed}.add-custom-token-modal[class] .spinner[class]{animation:spin 1s linear infinite}.sponsors-page{display:flex;flex-direction:column;align-items:flex-start;padding:0 0 20px;width:100%;max-width:1200px;margin:0 auto}.swap-box{background:#1A1D26;border-radius:16px;padding:20px;width:100%;max-width:800px;margin:0;border:1px solid var(--border-color);box-sizing:border-box}.swap-box h1{margin:0 0 24px;font-size:24px;font-weight:600;color:var(--text-primary)}.sponsors-message{margin-bottom:24px;padding:0 8px}.sponsors-message p{color:var(--text-secondary);font-size:15px;line-height:1.6;margin:0;text-align:left}.sponsors-list{display:flex;flex-direction:column;gap:16px}.sponsor-card{background:rgba(255,255,255,.05);border-radius:12px;overflow:hidden;transition:transform .2s}.sponsor-card:hover{transform:translateY(-2px)}.sponsor-header{display:flex;flex-direction:column;gap:12px;padding:16px;background:rgba(255,255,255,.03);border-radius:8px;position:relative;cursor:pointer}.sponsor-header .header-content{display:flex;align-items:center;gap:16px;width:100%}.sponsor-logo-cell{display:flex;align-items:center;padding-right:4px}.sponsor-logo{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--panel-bg);border:1px solid var(--border-color);flex-shrink:0}.sponsor-main-info{gap:4px}.sponsor-name{display:flex;flex-direction:column;gap:4px;font-size:18px;font-weight:500;color:var(--text-primary)}.name-with-badge{display:flex;align-items:center;gap:8px}.name-with-badge h3{display:flex;font-size:1.17em;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;font-weight:700;unicode-bidi:isolate}.verified-badge{display:flex;align-items:center;justify-content:center;color:#28a745;font-size:16px}.sponsor-stats{padding:16px;display:flex;flex-direction:column;gap:12px}.token-stats{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-secondary);margin-bottom:8px;flex-wrap:wrap}.token-stats-loading{display:flex;align-items:center;gap:8px;color:var(--text-secondary)}.token-stats-loading .spinning{width:16px;height:16px;animation:spin 1s linear infinite}.token-stats-progress{flex:1;height:4px;background:rgba(255,255,255,.1);border-radius:2px;overflow:hidden;position:relative;min-width:100px}.token-stats-progress-bar{position:absolute;left:0;top:0;height:100%;background:#4CAF50;transition:width .3s ease}.token-stats-progress.depleted .token-stats-progress-bar{background:#f44336}.expand-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:4px;display:flex;align-items:center}.expand-button .spinning{width:20px;height:20px;animation:spin 1s linear infinite;color:var(--text-secondary)}.sponsor-details{padding:0 10px 10px;border-top:1px solid var(--border-color)}.sponsor-details-inner{padding:0;border-top:1px solid var(--border-color)}.sponsor-description{color:var(--text-primary);font-size:15px;line-height:1.5;margin:16px 0}.social-links{display:flex;gap:12px;margin-bottom:16px}.social-link{color:var(--text-secondary);text-decoration:none;font-size:14px;padding:4px 12px;background:rgba(255,255,255,.1);border-radius:16px;transition:all .2s}.social-link:hover{background:rgba(255,255,255,.2);color:var(--text-primary)}.sponsor-footer{display:flex;justify-content:space-between;color:var(--text-secondary);font-size:12px}.loading{text-align:center;padding:48px 0;color:var(--text-secondary)}.error-message{color:#dc3545;text-align:center;padding:16px;background:rgba(220,53,69,.1);border-radius:8px;margin-top:16px}@media (max-width: 480px){.sponsors-page{padding:80px 12px 12px}.swap-box{padding:16px}.sponsor-header{padding:12px 16px}.sponsor-details{padding:0 16px 16px}.sponsor-stats{flex-direction:column;gap:4px}}.achievement-allocations{margin-top:24px;padding-top:24px;border-top:1px solid var(--border-color);font-size:12px;font-weight:400}.achievement-allocations h4{margin:0 0 16px;color:var(--text-primary);font-size:12px;font-weight:400}.achievement-group{background:rgba(255,255,255,.05);border-radius:12px;margin-bottom:16px;overflow:hidden}.achievement-group .achievement-header{display:flex;align-items:center;gap:16px;padding:16px;background:rgba(255,255,255,.03);position:relative;overflow:hidden;border-radius:8px}.achievement-group .achievement-header:hover{background:rgba(255,255,255,.1)}.achievement-group .achievement-header .expand-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:4px;display:flex;align-items:center;margin-left:auto;z-index:1;transition:transform .2s ease}.achievement-group .achievement-header .expand-button:hover{color:var(--text-primary)}.achievement-group .achievement-icon-wrapper{flex-shrink:0}.achievement-group .achievement-logo{width:48px;height:48px;border-radius:8px;object-fit:cover}.achievement-group .achievement-icon{width:48px;height:48px;color:gold}.achievement-group .achievement-info{display:flex;flex-direction:column;gap:8px;flex:1}.achievement-group h5{margin:0;font-size:1.1em;font-weight:600;color:var(--text-primary)}.achievement-group p{margin:0;font-size:.9em;color:var(--text-secondary);line-height:1.4}.achievement-criteria{font-size:13px;color:var(--text-secondary);background:rgba(255,255,255,.05);padding:8px 12px;border-radius:6px}.allocation-list{padding:16px;animation:expandContent .3s ease-out}@keyframes expandContent{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.allocation-item{display:flex;flex-direction:column;gap:12px;padding:16px;background:rgba(255,255,255,.02);border-radius:8px;margin-top:8px}.allocation-details{display:flex;flex-direction:column;gap:8px;margin-top:4px}.allocation-amount,.allocation-claims,.allocation-remaining,.allocation-range{display:flex;flex-direction:column;gap:4px;margin:8px 0;align-items:flex-start}.allocation-amount span:first-child,.allocation-claims span:first-child,.allocation-remaining span:first-child,.allocation-range span:first-child{color:var(--text-secondary);font-size:.9em}.allocation-amount span:last-child,.allocation-claims span:last-child,.allocation-remaining span:last-child,.allocation-range span:last-child{color:var(--text-primary);font-family:monospace;font-size:1em}.allocation-status{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:4px;color:var(--text-secondary)}.allocation-gift{margin-left:auto;font-size:18px;cursor:pointer;transition:transform .2s ease}.allocation-gift:hover{transform:scale(1.1)}.allocation-gift.claimed{color:var(--text-secondary)}.allocation-gift.depleted{color:#dc3545}.allocation-gift.available{color:gold}.allocation-gift.available.claiming{color:gold;animation:spin 1s linear infinite}.allocation-gift.future{color:#4caf50}.allocation-progress{margin-top:12px;background:rgba(255,255,255,.1);height:4px;border-radius:2px;overflow:hidden;position:relative}.allocation-progress-bar{position:absolute;left:0;top:0;height:100%;background:#28a745;transition:width .3s ease-out}.allocation-progress-depleted .allocation-progress-bar{background:#dc3545}.allocation-claims{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin:8px 0}.allocation-claims span:first-child,.allocation-remaining span:first-child,.allocation-range span:first-child,.allocation-status span:first-child{color:var(--text-secondary)}.allocation-claims span:last-child,.allocation-remaining span:last-child,.allocation-range span:last-child,.allocation-status span:last-child{color:var(--text-primary);font-family:monospace}.allocation-status .allocation-gift{font-size:16px}.sponsor-header-progress{position:absolute;bottom:0;left:0;right:0;height:4px;overflow:hidden;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background:rgba(255,255,255,.05)}.sponsor-header-progress .progress-loading{display:flex;align-items:center;justify-content:center;height:100%;padding:8px 0;background:rgba(0,0,0,.2)}.sponsor-header-progress .progress-loading .spinning{width:16px;height:16px;animation:spin 1s linear infinite;color:var(--text-secondary)}.sponsor-header-progress .progress-bar-wrapper{width:100%;height:100%}.sponsor-header-progress .progress-bar{height:100%;background:#4CAF50;transition:width .3s ease-out}.sponsor-loading{display:flex;align-items:center;gap:12px;padding:16px;color:var(--text-secondary);font-size:14px}.sponsor-loading .spinner{animation:spin 1s linear infinite}.sponsor-error{padding:16px;color:#dc3545;font-size:14px;background:rgba(220,53,69,.1);border-radius:8px;margin:8px 16px}.sponsor-token{margin:1rem 0;padding:1rem;background:rgba(255,255,255,.05);border-radius:8px}.sponsor-token h4{margin:0 0 1rem;font-size:1rem;color:var(--text-primary);opacity:.8}.sponsor-details .token-info{display:flex;flex-direction:column;gap:1rem}.sponsor-details .token-metadata{padding:12px;background:var(--panel-bg);border-radius:12px;margin-top:12px;font-size:14px;color:var(--text-secondary)}.sponsor-token .token-header{display:flex;align-items:center;justify-content:flex-start!important;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.sponsor-token .token-header .token-logo{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--panel-bg);border:1px solid var(--border-color)}.sponsor-token .token-title{display:flex;flex-direction:column;gap:.25rem;width:100%}.sponsor-token .token-name{font-size:1rem;color:var(--text-primary);font-weight:500}.sponsor-token .token-symbol{font-size:.875rem;color:var(--text-secondary)}.sponsor-token .token-metadata{display:flex;flex-direction:column;gap:.75rem;width:92%}.sponsor-token .metadata-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.sponsor-token .metadata-label{color:var(--text-secondary)}.sponsor-token .metadata-value{color:var(--text-primary)}.sponsor-token .metadata-value.monospace{font-family:monospace;font-size:.75rem}.achievement-description{color:var(--text-secondary);font-size:14px;line-height:1.4;margin:0 0 16px}.achievement-icon-wrapper .spinning{animation:spin 1s linear infinite;width:48px;height:48px;color:var(--text-secondary)}.achievement-info .error-text{color:#dc3545;margin:0}.achievement-gift{margin-left:auto;margin-right:8px;font-size:20px}.achievement-gift.claimed{color:var(--text-secondary)}.achievement-gift.depleted{color:#dc3545}.achievement-gift.available{color:gold}.achievement-gift.available.claiming{color:gold;animation:spin 1s linear infinite}.achievement-gift.future{color:#4caf50}.sponsor-gift{margin-left:auto;margin-right:8px;font-size:20px}.sponsor-gift.claimed{color:var(--text-secondary)}.sponsor-gift.depleted{color:#dc3545}.sponsor-gift.available{color:gold}.sponsor-gift.future{color:#4caf50}.usd-value{color:var(--text-secondary);font-size:.9em}.achievement-totals{display:flex;align-items:center;gap:2px;font-size:.9em;color:var(--text-secondary);margin-top:8px}.achievement-totals .spinner{animation:spin 1s linear infinite;font-size:.9em;margin-left:4px}.token-stats .spinner,.allocation-details .spinner{animation:spin 1s linear infinite;font-size:.9em;margin-left:8px}.sponsor-details .separator{margin:0 2px;color:var(--text-secondary);opacity:.5}.sponsor-usd-values{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--text-secondary)}.sponsor-usd-values span{white-space:nowrap;width:fit-content}.sponsor-usd-values .remaining-positive{color:#4caf50}.sponsor-usd-values .spinning{font-size:14px;margin-left:4px}.achievement-usd-values{display:flex;flex-direction:column;gap:6px;margin-top:8px;color:var(--text-secondary);font-size:13px}.achievement-usd-values .usd-row{display:flex;flex-direction:column;gap:4px}.achievement-usd-values .usd-label{min-width:70px;color:var(--text-tertiary)}.achievement-usd-values .loading-spinner{margin-left:6px}.loading-spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--text-tertiary);border-top:2px solid transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.achievement-header-progress{position:absolute;bottom:0;left:0;right:0;height:4px;overflow:hidden;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background:rgba(255,255,255,.05)}.achievement-header-progress .progress-bar{height:4px;background-color:#28a745;border-bottom-left-radius:8px;border-bottom-right-radius:8px;transition:width .3s ease}.buy-token-button{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#4CAF50;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;white-space:nowrap}.buy-token-button:hover{background:var(--primary-color-dark);transform:translateY(-1px);background:green}.buy-token-button:active{transform:translateY(0)}.sponsors-totals{display:flex;flex-direction:column;gap:12px;margin-bottom:24px;padding:16px;background:rgba(255,255,255,.05);border-radius:12px}.sponsors-totals .total-usd span,.sponsors-totals .total-usd-claimed span,.sponsors-totals .total-usd-remaining span{font-size:16px;font-weight:500;color:var(--text-primary)}.sponsors-totals .total-usd-claimed span{color:gold}.sponsors-totals .total-usd-remaining span{color:#4caf50}.maintenance-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--bg-darker)}.maintenance-content{text-align:center;padding:48px;max-width:600px;background:var(--bg-lighter);border-radius:16px;box-shadow:0 8px 32px #00000026}.maintenance-icon{font-size:64px;color:var(--primary-color);margin-bottom:24px}.maintenance-content h1{font-size:32px;color:var(--text-primary);margin-bottom:16px}.maintenance-content p{font-size:18px;color:var(--text-secondary);line-height:1.5}.admin-achievements-page{padding:20px;max-width:1200px;margin:0 auto}.error-message{color:#dc3545;padding:10px;margin:10px 0;border:1px solid #dc3545;border-radius:4px;background-color:#f8d7da}.achievement-form{background:#080808;padding:20px;border-radius:8px;margin-bottom:30px}.form-group label{display:block;margin-bottom:5px;font-weight:700}.form-group input,.form-group textarea{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px}.form-actions{margin-top:20px;display:flex;gap:10px}.form-actions button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer}.form-actions button[type=submit]{background-color:#007bff;color:#fff}.form-actions button[type=submit]:disabled{background-color:#6c757d;cursor:not-allowed}.form-actions button[type=button]{background-color:#6c757d;color:#fff}.achievements-list{margin-top:30px}.achievements-list table{width:100%;border-collapse:collapse;margin-top:10px}.achievements-list th,.achievements-list td{padding:12px;text-align:left;border-bottom:1px solid #dee2e6}.achievements-list th{background-color:#f8f9fa;font-weight:700}.achievements-list td button{margin-right:5px;padding:4px 8px;border:none;border-radius:4px;cursor:pointer}.achievements-list td button:first-child{background-color:#28a745;color:#fff}.achievements-list td button:last-child{background-color:#dc3545;color:#fff}.condition-usages{margin-top:20px;border-top:1px solid #dee2e6;padding-top:20px}.condition-usage-editor{background:rgb(85,85,85);padding:15px;border:1px solid #dee2e6;border-radius:4px;margin-bottom:15px}.condition-select{margin-bottom:15px}.condition-select select{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px;margin-top:5px}.parameters-editor{display:grid;gap:10px;margin-bottom:15px}.parameter-input{display:flex;flex-direction:column}.parameter-input label{margin-bottom:5px;font-size:.9em;color:#495057}.parameter-input input{padding:8px;border:1px solid #ced4da;border-radius:4px}.add-condition{background-color:#28a745;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;margin-top:10px}.remove-condition{background-color:#dc3545;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:.9em}.condition-usage-editor h4{margin:0 0 10px;color:#495057}.predicate-section{margin-top:20px;border-top:1px solid #dee2e6;padding-top:20px}.help-text{color:#6c757d;font-size:.9em;margin-bottom:15px}.predicate-editor{background:white;padding:15px;border:1px solid #dee2e6;border-radius:4px;margin-bottom:15px}.predicate-type{margin-bottom:15px}.predicate-type select{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px;margin-top:5px}.ref-input{margin-bottom:15px}.ref-input input{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px;margin-top:5px}.binary-op{display:grid;gap:15px;margin-bottom:15px}.sub-predicate{border-left:2px solid #dee2e6;padding-left:15px}.unary-op{border-left:2px solid #dee2e6;padding-left:15px;margin-bottom:15px}.add-predicate{background-color:#17a2b8;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer}.remove-predicate{background-color:#dc3545;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:.9em}.admin-users-page{max-width:1200px;margin:0 auto;padding:20px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{margin:0;color:#fff}.create-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s}.create-button:hover{background-color:#218838}.error-message{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background-color:#dc35451a;border:1px solid #dc3545;color:#dc3545;border-radius:4px;margin-bottom:20px}.error-message button{background:none;border:none;color:#dc3545;cursor:pointer;padding:4px;display:flex;align-items:center}.profiles-list{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.profile-card{background:#1a1a1a;border-radius:8px;padding:20px;transition:transform .2s}.profile-card:hover{transform:translateY(-2px)}.profile-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.profile-info h3{margin:0;color:#fff;font-size:18px}.principal{display:block;color:#888;font-size:12px;margin-top:4px}.profile-actions{display:flex;gap:8px}.verify-button,.edit-button,.delete-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:4px;cursor:pointer;transition:all .2s}.verify-button{background-color:#28a745;color:#fff}.verify-button.verified{background-color:#ffc107}.verify-button:hover{background-color:#218838}.verify-button.verified:hover{background-color:#e0a800}.edit-button{background-color:#007bff;color:#fff}.edit-button:hover{background-color:#0056b3}.delete-button{background-color:#dc3545;color:#fff}.delete-button:hover{background-color:#c82333}.description{color:#fff;margin:0 0 15px;line-height:1.5}.social-links{display:flex;gap:10px;margin-bottom:15px}.social-links a{color:#007bff;text-decoration:none;font-size:14px}.social-links a:hover{text-decoration:underline}.profile-footer{display:flex;justify-content:space-between;color:#888;font-size:12px;margin-top:15px;padding-top:15px;border-top:1px solid rgba(255,255,255,.1)}.profile-form{background:#1a1a1a;padding:20px;border-radius:8px;margin-bottom:20px}.profile-form h2{margin:0 0 20px;color:#fff}.form-group{margin-bottom:15px}.form-group label{display:block;color:#fff;margin-bottom:5px}.form-group input,.form-group textarea{width:100%;padding:8px 12px;background:#2a2a2a;border:1px solid #444;border-radius:4px;color:#fff;font-size:14px}.form-group textarea{min-height:100px;resize:vertical}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.submit-button,.cancel-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s}.submit-button{background-color:#28a745;color:#fff}.submit-button:hover{background-color:#218838}.cancel-button{background-color:#6c757d;color:#fff}.cancel-button:hover{background-color:#5a6268}.loading{text-align:center;color:#888;padding:20px}.load-more-button{display:block;width:200px;margin:20px auto;padding:10px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s}.load-more-button:hover{background-color:#0056b3}.social-links-list{display:flex;flex-direction:column;gap:12px}.social-link-item{display:flex;gap:8px;align-items:center}.social-link-item input{flex:1;padding:8px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--panel-bg);color:var(--text-primary)}.social-link-item input:focus{outline:none;border-color:var(--accent-color)}.remove-link-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px}.remove-link-button:hover{color:#dc3545;background:rgba(220,53,69,.1)}.add-link-button{background:none;border:1px dashed var(--border-color);color:var(--text-secondary);padding:8px;cursor:pointer;border-radius:8px;margin-top:4px;transition:all .2s}.add-link-button:hover{background:rgba(255,255,255,.05);color:var(--text-primary);border-color:var(--text-secondary)}.token-link-item{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--border-color);border-radius:8px;background:rgba(255,255,255,.05);margin-bottom:16px}.token-link-item label{color:var(--text-secondary);font-size:14px}.token-link-item input{padding:8px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--panel-bg);color:var(--text-primary);font-family:monospace}.token-link-item input:focus{outline:none;border-color:var(--accent-color)}.slippage-settings-overlay{position:absolute;top:100%;right:auto;left:50%;transform:translate(-50%);margin-top:8px;z-index:1000}.slippage-settings-panel{background:var(--panel-bg);border-radius:12px;padding:16px;width:380px;box-shadow:0 4px 12px #0003;border:1px solid var(--border-color)}.slippage-header h3{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:var(--text-primary)}.info-button{background:none;border:none;color:var(--text-secondary);cursor:help;padding:4px;display:flex;align-items:center}.slippage-content{display:flex;flex-direction:column;gap:12px}.preset-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.preset-buttons button{padding:8px 12px;height:32px;min-width:64px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font-size:13px;cursor:pointer;transition:all .2s}.preset-buttons button.active{background:var(--accent-blue);border-color:var(--accent-blue)}.custom-input-container{display:flex;flex:0 0 auto;position:relative;width:100%;margin-top:8px}.custom-input-container input{width:100%;height:32px;padding:8px 24px 8px 8px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font-size:13px}.custom-input-container input:focus{outline:none;border-color:var(--accent-blue)}.percent-sign{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:var(--text-secondary);font-size:12px}.error-message{color:#ef4444;font-size:11px;margin-top:4px;max-width:100%;overflow-wrap:break-word;word-wrap:break-word;padding:2px 0 2px 6px;border-radius:4px;background:rgba(239,68,68,.1);line-height:1.3}@keyframes spin-claim{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes float{0%,to{transform:translate(-50%)}50%{transform:translate(-50%,-3px)}}@keyframes pulse{0%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.1);filter:brightness(1.2)}to{transform:scale(1);filter:brightness(1)}}.header{position:relative}.nav-tabs{position:relative;display:flex;gap:4px}.tab{position:relative;display:flex;align-items:center;gap:8px}.tab svg{width:16px;height:16px;transition:all .2s}.tab:not(.active) .FiGift{animation:spin-claim 2s linear infinite;color:gold;filter:drop-shadow(0 0 3px rgba(255,215,0,.7))}.tab.has-rewards{position:relative}.rewards-tooltip{position:absolute;top:-65px;left:50%;transform:translate(-50%);background:#ffffff;color:#000;padding:10px 14px;border-radius:12px;font-size:12px;line-height:1.4;width:max-content;max-width:160px;text-align:center;z-index:1000;animation:float 2s ease-in-out infinite;box-shadow:0 4px 12px #00000026;display:block}.rewards-tooltip:after{content:"";position:absolute;bottom:-8px;left:50%;transform:translate(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #ffffff}.heart-icon-active{color:#f44;animation:pulse 1.5s ease-in-out infinite;font-size:20px}:root{--bg-dark: #0a0f1c;--panel-bg: #111827;--input-bg: #1f2937;--border-color: rgba(255, 255, 255, .1);--text-primary: #ffffff;--text-secondary: #94a3b8;--accent-blue: #3b82f6;--success-green: #22c55e;--warning-yellow: #fbbf24;--modal-width: 432px;--modal-padding: 20px;--modal-content-width: calc(var(--modal-width) - (2 * var(--modal-padding)))}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:3px}::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:3px;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) rgba(255,255,255,.05)}body{background:var(--bg-dark);color:var(--text-primary);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.app{width:100%;max-width:480px;margin:0 auto;padding:80px 16px 16px;min-height:100vh;box-sizing:border-box}.fixed-header{position:fixed;top:0;left:0;right:0;height:64px;background:var(--bg-dark);border-bottom:1px solid var(--border-color);z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.fixed-header .logo{color:var(--text-primary);font-size:24px;font-weight:600;letter-spacing:.5px}.fixed-header .global-controls{display:flex;align-items:center;gap:16px;margin-left:auto}@media (max-width: 480px){.logo{margin-left:0;padding:0 12px}}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:12px 0}.nav-tabs{display:flex;gap:4px;padding:4px;background:var(--panel-bg);border-radius:12px;border:1px solid var(--border-color)}.tab{display:flex;align-items:center;gap:8px;padding:8px;border:none;background:none;color:var(--text-secondary);font-size:14px;cursor:pointer;transition:all .2s;border-radius:8px;position:relative}.tab svg{width:16px;height:16px}.tab.active{color:var(--text-primary);background:rgba(255,255,255,.05);padding:8px 16px}.tab:not(.active){padding:8px}.tab:hover{color:var(--text-primary);background:rgba(255,255,255,.05)}.tab:hover:not(.active){padding:8px}.tab[title]{position:relative}.tab[title]:hover:after{content:attr(title);position:absolute;bottom:-32px;left:50%;transform:translate(-50%);background:rgba(0,0,0,.8);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;white-space:nowrap;z-index:1000;pointer-events:none}.tab[title]:hover:before{content:"";position:absolute;bottom:-12px;left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#000c;pointer-events:none}.global-controls{display:flex;align-items:center;gap:16px}.network-status{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-secondary);padding:6px 12px;background:var(--input-bg);border-radius:12px}.status-dot{width:6px;height:6px;background:var(--success-green);border-radius:50%}.settings-button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:12px;color:var(--text-primary);cursor:pointer;font-size:18px}.swap-interface{display:flex;flex-direction:column;gap:12px}.swap-box{background:#1A1D26;border-radius:16px;padding:20px;width:100%;margin:0 auto;border:1px solid var(--border-color);box-shadow:0 4px 12px #0000001a;box-sizing:border-box}.token-input-panel{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px;margin-bottom:8px}.token-input-row{display:flex;align-items:center;gap:8px;position:relative}.token-input-row .balance-text{color:#8f96a1;font-family:Roboto Mono,monospace}.token-input-row .usd-value{color:#6b7280;font-family:Roboto Mono,monospace}.token-select{flex:0 0 auto;min-width:120px;max-width:140px;position:relative;display:flex;flex-direction:column;gap:4px}.token-select-header{display:flex;flex-direction:column;gap:8px}.token-select-header label{color:#8f96a1;font-size:14px}.token-select-button{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:none;color:#fff;font-size:16px;padding:8px 12px;cursor:pointer;border-radius:8px;transition:background-color .2s;width:auto;min-width:140px;max-width:180px}.token-select-button .token-logo{width:24px;height:24px;border-radius:50%;object-fit:contain}.token-select-dropdown{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:8px;z-index:10;max-height:300px;overflow-y:auto;box-shadow:0 4px 12px #0003}.token-list{margin-bottom:8px}.token-option{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:none;background:none;color:var(--text-primary);cursor:pointer;border-radius:8px;transition:background-color .2s}.token-option:hover,.token-option.selected{background:var(--input-bg)}.token-option .token-logo{width:32px;height:32px;border-radius:50%}.add-custom-token{width:24px;height:24px;padding:0;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:6px;color:var(--text-secondary);cursor:pointer;font-size:14px;margin:4px auto 0;transition:all .2s}.add-custom-token:hover{background:var(--accent-blue);color:var(--text-primary)}.custom-input{margin-top:8px;padding:8px;background:var(--input-bg);border-radius:8px}.custom-input input{width:100%;background:none;border:1px solid var(--border-color);border-radius:6px;padding:8px 12px;color:var(--text-primary);font-size:14px}.custom-input input:focus{border-color:var(--accent-blue);outline:none}.custom-input .error{color:#ef4444;font-size:12px;margin-top:4px}.token-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.token-symbol{font-weight:500;color:var(--text-primary)}.token-name{font-size:14px;color:var(--text-secondary)}.token-metadata{padding:12px;background:var(--panel-bg);border-radius:12px;margin-top:12px;font-size:14px;color:var(--text-secondary)}.amount-input{background:transparent;border:none;color:#fff;font-size:24px;font-weight:500;padding:8px;width:100%;text-align:right;outline:none}.amount-input::-webkit-outer-spin-button,.amount-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.amount-input[type=number]{-moz-appearance:textfield}.amount-input::placeholder{color:#ffffff80}.input-details{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.max-button{background:none;border:none;color:#3b82f6;padding:0;cursor:pointer;margin-left:4px}.max-button:hover:not(:disabled){color:#2563eb}.max-button:disabled{opacity:.5;cursor:not-allowed}.swap-direction-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:2px solid var(--border-color);border-radius:50%;color:var(--text-secondary);cursor:pointer;position:absolute;left:50%;transform:translate(-50%);margin-top:-20px;z-index:2;transition:all .2s}.swap-direction-button:hover{border-color:var(--accent-blue);color:var(--text-primary)}.swap-direction-button svg{width:20px;height:20px}.price-comparison{margin:16px 0;display:flex;flex-direction:column;gap:8px}.dex-price{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:var(--input-bg);cursor:pointer;transition:background-color .2s}.dex-price.selected{background:rgba(59,130,246,.1);border:1px solid var(--accent-blue)}.dex-price input[type=radio]{width:16px;height:16px;margin:0}.price-impact{color:var(--text-secondary);font-size:14px;margin:16px 0;display:flex;align-items:center;gap:8px}.impact-low{color:var(--success-green)}.swap-button{width:100%;background:var(--accent-blue);border:none;border-radius:16px;color:var(--text-primary);padding:16px;font-size:16px;font-weight:600;cursor:pointer;margin-top:16px;transition:opacity .2s}.swap-button:hover{opacity:.9}.swap-button:disabled{background:linear-gradient(to right,#94a3b8,#64748b);cursor:not-allowed;opacity:.7}.token-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.token-modal{background:var(--bg-dark);width:var(--modal-width);max-width:var(--modal-width);max-height:85vh;border-radius:24px;padding:24px;margin:20px;overflow-y:auto;border:1px solid var(--border-color)}.token-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 0 12px;width:100%}.token-modal-header h2{font-size:20px;font-weight:500;margin:0;padding:0}.modal-close-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s}.modal-close-button:hover{background:var(--bg-light);color:var(--text-primary)}.modal-close-button svg{width:20px;height:20px}.token-modal-warning{background:rgba(251,191,36,.1);color:var(--warning-yellow);font-size:14px;padding:12px 16px;border-radius:12px;margin-bottom:16px;line-height:1.5}.token-selector-search{position:relative;display:flex;gap:8px;align-items:center;width:var(--modal-content-width);max-width:var(--modal-content-width);margin:0 auto 12px}.token-selector-search-wrapper{position:relative;flex:1}.token-selector-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--text-secondary);font-size:18px}.token-selector-search-input{width:100%;background:var(--input-bg);border:1px solid var(--border-color);border-radius:12px;padding:12px 16px 12px 44px;color:var(--text-primary);font-size:16px;box-sizing:border-box}.token-selector-search-input:focus{outline:none;border-color:var(--accent-blue)}.add-custom-token-button{background:var(--input-bg);border:none;border-radius:12px;color:var(--text-secondary);width:42px;height:42px;display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer;transition:all .2s;flex-shrink:0}.add-custom-token-button:hover{background:var(--panel-bg);color:var(--text-primary)}.popular-tokens{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--border-color)}.popular-token-button{display:flex;align-items:center;gap:6px;background:var(--input-bg);border:none;border-radius:24px;padding:6px 12px;color:var(--text-primary);font-size:14px;cursor:pointer;transition:background-color .2s}.popular-token-button:hover{background:var(--panel-bg)}.popular-token-button .token-logo{width:20px;height:20px;border-radius:50%}.token-list-section{margin-top:8px;overflow:hidden;width:100%;box-sizing:border-box}.token-list-section h3{font-size:16px;font-weight:500;margin:0 0 16px;color:var(--text-secondary)}.token-list{display:flex;flex-direction:column;gap:8px;width:100%;box-sizing:border-box;padding:0;margin:0;overflow-y:auto;overflow-x:hidden}.token-option{width:100%;padding:12px;border:none;background:var(--input-bg);color:var(--text-primary);cursor:pointer;border-radius:12px;transition:background-color .2s;box-sizing:border-box;margin:0}.token-option:hover{background:var(--panel-bg)}.token-option.selected{background:rgba(59,130,246,.1);border:1px solid var(--accent-blue)}.token-option-left{display:flex;align-items:center;gap:12px}.token-option-left .token-logo{width:32px;height:32px;border-radius:50%}.token-option-right{text-align:right}.token-balance{display:block;font-weight:500}.token-standard{display:inline-block;font-size:12px;color:var(--text-secondary);background:var(--panel-bg);padding:2px 6px;border-radius:4px;margin-top:4px}@media (max-width: 480px){.app{padding:60px 12px 12px}.swap-box{padding:16px}.modal-close-button{width:36px;height:36px}.modal-close-button svg{width:24px;height:24px}.swap-direction-button{width:36px;height:36px;border-width:2px;margin-top:-22px}.swap-direction-button svg{width:24px;height:24px}}.quote-amounts{display:flex;gap:8px;flex:1}.quote-amount{display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:8px;transition:background-color .2s}.quote-amount:hover{background:rgba(255,255,255,.1)}.quote-amount.best-quote{border:1px solid #4CAF50}.quote-amount.selected{background:rgba(76,175,80,.1)}.quote-amount.best-quote:not(.selected){border-style:dashed}.quote-details{display:flex;justify-content:space-between;align-items:center;padding:0 4px}.quote-details .dex-label{font-size:12px;color:#8f96a1;padding:2px 6px;background:rgba(255,255,255,.1);border-radius:4px}.quote-details .usd-value{font-size:12px;color:#8f96a1}.swap-interface .quote-amount.best-quote{background:rgba(59,130,246,.1);border:1px solid var(--accent-blue)}.swap-interface .price-comparison.subtle{opacity:.6;font-size:12px;line-height:1.2;color:var(--text-secondary);padding:4px 0}.swap-interface .price-comparison .dex-price{margin-bottom:2px;color:inherit}.swap-interface .price-with-switch{display:flex;align-items:center;gap:4px}.swap-interface .switch-price{background:none;border:none;color:inherit;padding:0 4px;cursor:pointer;opacity:.7;font-size:8px}.swap-interface .switch-price:hover{opacity:1}.swap-interface .quote-amount{border:1px solid transparent;border-radius:12px;padding:8px;margin-bottom:8px;transition:all .2s;display:flex;flex-direction:column;gap:8px;color:#8f96a1;font-family:Roboto Mono,monospace}.swap-interface .quote-details{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#8f96a1;width:100%}.swap-interface .usd-value{color:#6b7280;font-size:14px;text-align:right;margin-left:auto}.swap-interface .quote-amount input{font-size:1.2em;font-weight:500}.swap-interface .price-impact{font-size:.75em;color:var(--text-secondary);opacity:.8}.swap-interface .swap-button{width:100%;background:linear-gradient(to right,#3b82f6,#2563eb);border:none;border-radius:16px;color:#fff;padding:16px;font-size:16px;font-weight:600;cursor:pointer;margin-top:16px;transition:all .2s;box-shadow:0 4px 6px -1px #3b82f61a,0 2px 4px -1px #3b82f60f}.swap-interface .swap-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 8px -1px #3b82f633,0 4px 6px -1px #3b82f61a}.swap-interface .swap-button:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 6px -1px #3b82f61a,0 2px 4px -1px #3b82f60f}.swap-interface .swap-button:disabled{background:linear-gradient(to right,#94a3b8,#64748b);cursor:not-allowed;opacity:.7}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:0 20px;box-sizing:border-box}.swap-modal{background:var(--bg-dark);width:var(--modal-width);max-width:var(--modal-width);max-height:85vh;border-radius:24px;padding:var(--modal-padding);margin:20px 0;overflow-y:auto;border:1px solid var(--border-color);box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.modal-content{width:100%;max-width:var(--modal-content-width);box-sizing:border-box}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 0 12px;width:100%}.modal-header h2{font-size:20px;font-weight:500;margin:0;padding:0}.swap-details{display:flex;flex-direction:column;gap:12px;width:100%;box-sizing:border-box}.swap-confirmation{display:flex;flex-direction:column;gap:24px;width:100%;box-sizing:border-box}.swap-amounts{background:var(--input-bg);border-radius:16px;padding:20px;width:100%;box-sizing:border-box}.you-pay,.you-receive{display:flex;flex-direction:column;gap:8px}.you-pay span,.you-receive span{color:var(--text-secondary);font-size:14px}.token-amount{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:500}.token-amount img{width:24px;height:24px;border-radius:50%}.detail-row{display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;font-size:14px;color:var(--text-secondary);padding:4px 0}.detail-row .warning{color:var(--warning-yellow)}.fee-details{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.swap-execution{display:flex;flex-direction:column;gap:20px}.execution-info{color:var(--text-secondary);font-size:14px;line-height:1.5;padding:12px 16px;background:rgba(59,130,246,.1);border-radius:12px}.execution-steps{display:flex;flex-direction:column;gap:8px;margin:16px 0}.step-group{display:flex;flex-direction:column;gap:8px}.step-group h4{margin:0 0 8px;font-size:16px;color:var(--text-primary)}.execution-step{background:rgba(255,255,255,.05);border-radius:12px;overflow:hidden;transition:all .3s ease}.execution-step.expanded{background:rgba(255,255,255,.1)}.step-header{display:flex;align-items:center;padding:16px;cursor:pointer;gap:12px}.step-status{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.status-icon{width:20px;height:20px}.status-icon.complete{color:#00ff9d}.status-icon.loading{color:#3b82f6;animation:spin 1s linear infinite}.status-icon.pending{width:12px;height:12px;border-radius:50%;background:#4b5563}.status-icon.error{width:12px;height:12px;border-radius:50%;background:#ef4444}.step-title{flex:1;font-size:14px;font-weight:500}.expand-icon{color:#6b7280;transition:transform .3s ease}.expand-icon.active{transform:rotate(180deg)}.step-content{padding:0 16px 16px;animation:slideDown .3s ease}.step-details{background:rgba(0,0,0,.2);border-radius:8px;padding:12px;margin-top:8px}.monospace{font-family:monospace;font-size:12px}.step-error{display:flex;align-items:flex-start;gap:8px;background:rgba(239,68,68,.1);border-radius:8px;padding:12px;margin-top:8px}.error-icon{font-size:16px}.error-message{color:#ef4444;font-size:13px;line-height:1.4;flex:1}.step-progress{margin-top:12px}.progress-bar{height:4px;background:rgba(59,130,246,.2);border-radius:2px;overflow:hidden}.progress-indicator{height:100%;width:30%;background:#3b82f6;border-radius:2px;animation:progress 1s ease-in-out infinite}.progress-text{display:block;text-align:center;font-size:12px;color:#6b7280;margin-top:8px}.execution-error,.execution-success{text-align:center;padding:24px 16px;margin-top:16px;background:rgba(255,255,255,.05);border-radius:12px}.execution-success .success-icon{font-size:32px;color:#00ff9d;margin-bottom:12px}.retry-button,.close-button{margin-top:16px;padding:8px 24px;border-radius:8px;font-size:14px;font-weight:500;transition:all .2s ease}.retry-button{background:#ef4444;color:#fff}.retry-button:hover{background:#dc2626}.close-button{background:#3b82f6;color:#fff}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(400%)}}.principal-button{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:none;border-radius:8px;padding:8px 12px;color:#8f96a1;cursor:pointer;transition:all .2s}.principal-button:hover{background:rgba(255,255,255,.15)}.principal-text{font-family:monospace;font-size:14px}.copy-icon{width:14px;height:14px;opacity:.7;transition:opacity .2s}.copy-icon.success{color:#22c55e;opacity:1}.principal-button:hover .copy-icon{opacity:1}.notification{position:fixed;top:20px;right:20px;padding:12px 20px;border-radius:8px;color:#fff;font-size:14px;z-index:1100;animation:slideIn .3s ease-out}.notification.success{background-color:#10b981}.notification.error{background-color:#ef4444}.control-button{height:36px;display:flex;align-items:center;gap:6px;background:var(--input-bg);border:none;border-radius:12px;color:var(--text-primary);cursor:pointer;font-size:16px;padding:0 12px;transition:all .2s}.control-button:hover{background:var(--panel-bg)}.slippage-value{font-size:14px;color:var(--text-secondary)}.balance-display{font-size:14px;color:var(--text-secondary);opacity:.7;margin-top:2px;margin-left:4px}.login-button{background:var(--accent-blue);color:var(--text-primary);border:none;border-radius:12px;padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.login-button:hover{opacity:.9}.auth-info{display:flex;align-items:center;gap:8px}.principal-button{display:flex;align-items:center;gap:6px;background:var(--input-bg);border:none;border-radius:12px;padding:6px 12px;color:var(--text-secondary);font-size:13px;font-family:Roboto Mono,monospace;cursor:pointer;transition:all .2s ease}.principal-button:hover{background:var(--panel-bg);color:var(--text-primary)}.principal-text{color:inherit}.copy-icon{color:inherit;opacity:.7;transition:opacity .2s ease}.copy-icon.success{color:var(--success-green);opacity:1}.logout-button{background:rgba(239,68,68,.1);color:#ef4444;border:none;border-radius:12px;padding:6px 12px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-button:hover{background:rgba(239,68,68,.2)}.settings-container{position:relative}.settings-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:8px;min-width:200px;z-index:100;box-shadow:0 4px 12px #0003}.settings-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:none;color:var(--text-primary);font-size:14px;text-align:left;text-decoration:none;cursor:pointer;border-radius:8px;transition:background-color .2s}.settings-item:hover{background:var(--input-bg)}.settings-item.logout{color:#ef4444}.slippage-container{position:relative}.slippage-settings-panel{position:absolute;top:100%;right:0;margin-top:8px;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:16px;width:300px;z-index:100;box-shadow:0 4px 12px #0003}.slippage-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.slippage-header h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:500;color:var(--text-primary)}.info-button{background:none;border:none;padding:4px;color:var(--text-secondary);cursor:help;opacity:.7;transition:opacity .2s}.info-button:hover{opacity:1}.preset-buttons{display:flex;gap:8px;margin-bottom:12px}.preset-buttons button{background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;padding:8px 12px;color:var(--text-primary);font-size:14px;cursor:pointer;transition:all .2s}.preset-buttons button:hover{background:var(--bg-lighter);border-color:var(--text-secondary)}.preset-buttons button.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.custom-input-container{position:relative;flex:1}.custom-input-container input{width:100%;background:var(--bg-darker);border:1px solid var(--border-color);border-radius:8px;padding:8px 28px 8px 12px;color:var(--text-primary);font-size:14px}.custom-input-container input:focus{outline:none;border-color:var(--text-secondary)}.percent-sign{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--text-secondary);font-size:14px}.error-message{color:#ef4444;font-size:12px;margin-top:8px}.confirm-swap-button{width:100%;padding:12px;border:none;border-radius:12px;background:#3b82f6;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;box-sizing:border-box}.confirm-swap-button:hover{background:#2563eb}.confirm-swap-button:active{background:#1d4ed8}.close-button{width:100%;padding:12px;border:none;border-radius:12px;background:#3b82f6;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.close-button:hover{background:#2563eb}.close-button:active{background:#1d4ed8}.pool-position{width:100%;max-width:440px;margin:0 auto;background:#1A1D26;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 12px #0000001a;box-sizing:border-box}.pool-position-header{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-color)}.pool-position-content{padding:20px}@media (max-width: 480px){.pool-position{padding:0}.pool-position-header{padding:12px 16px}.pool-position-content{padding:16px}}.label-row{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.balance-group{display:flex;align-items:center;gap:4px}.balance-group .send-button{order:1}.balance-group .wallet-icon{order:2}.balance-group .balance-amount{order:3;display:flex;align-items:center;gap:0}.balance-group .max-button{order:4;margin-left:4px}.send-button{display:flex;align-items:center;justify-content:center;background:none;border:none;padding:0;cursor:pointer;color:#666;font-size:16px;transition:color .2s}.send-button:hover{color:var(--primary-color)}.wallet-icon{color:#666;font-size:14px}.spinner{color:#666;font-size:14px;animation:spin 1s linear infinite}.balance-amount{display:inline-flex;align-items:center;gap:0;color:var(--text-primary);font-size:14px;white-space:nowrap}.balance-amount .balance-text{color:#8f96a1!important;font-family:Roboto Mono,monospace}.balance-amount .separator{color:var(--text-secondary);font-size:14px;opacity:.5;margin:0;padding:0;display:inline-block}.balance-amount .usd-value{color:#6b7280!important;font-family:Roboto Mono,monospace}.label-row label{color:#666;font-size:14px;margin-left:auto}.compact-progress{display:none;margin-bottom:16px}.compact-progress.visible{display:block}.progress-bar-container{position:relative;height:4px;background:rgba(37,178,115,.2);border-radius:2px;margin-bottom:8px}.progress-bar-container .progress-bar{position:absolute;left:0;top:0;height:100%;background:#25B273;transition:width .3s ease;border-radius:2px}.progress-status{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--text-secondary);margin-top:8px}.progress-status span{font-size:12px;color:var(--text-secondary)}.current-step{font-size:12px;color:var(--text-secondary);text-align:center;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px}.status-icon{display:flex;align-items:center;justify-content:center}.status-icon.loading{animation:spin 1s linear infinite}.status-icon.complete{color:#25b273}.status-icon.error{color:#ff4d4d}.powered-by-container{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding:0 48px;width:100%;box-sizing:border-box}.powered-by-container a{display:flex;align-items:center;text-decoration:none;transition:transform .2s ease,opacity .2s ease}.powered-by-container a:hover{transform:translateY(-2px);opacity:.9}.powered-by-container img{height:30px;object-fit:contain;filter:brightness(1.05)}.powered-by-container a:hover img{filter:brightness(1.2)}@media (max-width: 480px){.powered-by-container{margin-top:16px;padding:0 24px}.powered-by-container img{height:26px}}.hamburger-menu{position:relative;margin-right:16px}.hamburger-button{background:none;border:none;padding:8px;cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.hamburger-button:hover{opacity:.8}.hamburger-dropdown{position:absolute;top:100%;left:0;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:8px 0;min-width:160px;z-index:1000;margin-top:4px;box-shadow:0 4px 12px #00000026;overflow:hidden}.hamburger-item{display:flex;align-items:center;padding:8px 16px;color:#fff;text-decoration:none;transition:background-color .2s;font-size:14px;border:none;background:none;width:100%;text-align:left;cursor:pointer}.hamburger-item:hover,.hamburger-item.active{background-color:#2c2d3a}.hamburger-item svg{margin-right:8px;font-size:16px}.logo{font-family:Orbitron,sans-serif;font-size:1.75rem;font-weight:600;font-style:italic;color:#fff;transform:skew(-12deg);cursor:pointer;transition:all .3s ease}.logo span{display:inline-block;color:#fff;transition:color .3s ease}.logo:hover span{background:linear-gradient(120deg,#fff,rgba(230,220,255,.9));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.wallet-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;text-align:center;color:var(--text-secondary)}.wallet-empty-state .empty-icon{font-size:48px;margin-bottom:16px;opacity:.7}.wallet-empty-state h3{color:var(--text-primary);font-size:18px;margin:0 0 8px}.wallet-empty-state p{margin:0 0 24px;font-size:14px;line-height:1.5}.login-button{display:flex;align-items:center;gap:8px;background:var(--accent-blue);border:none;border-radius:12px;padding:12px 24px;color:var(--text-primary);font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.login-button:hover{opacity:.9;transform:translateY(-1px)}.login-button .icon{font-size:20px}.dex-button{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:var(--input-bg);border:1px solid var(--border-color);border-radius:12px;color:var(--text-primary);cursor:pointer;transition:all .2s ease;width:100%;position:relative}.dex-button:hover{background:var(--panel-bg);border-color:var(--accent-blue);transform:translateY(-1px)}.dex-button:active{transform:translateY(0)}.dex-button .dex-name{font-size:20px;font-weight:600;margin-bottom:8px}.dex-button .button-description{font-size:14px;color:var(--text-secondary)}.dex-button .external-link-icon{position:absolute;top:16px;right:16px;font-size:18px;color:var(--text-secondary);opacity:.7}.dex-button:hover .external-link-icon{color:var(--accent-blue);opacity:1}.handshake-icon{color:var(--text-primary)}.donate-button:hover .handshake-icon{animation:quick-shake .5s ease-in-out infinite}@keyframes friendly-shake{0%,80%,to{transform:rotate(0)}82%{transform:rotate(-15deg)}84%{transform:rotate(15deg)}86%{transform:rotate(-8deg)}88%{transform:rotate(8deg)}90%{transform:rotate(0)}}@keyframes quick-shake{0%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}to{transform:rotate(-10deg)}}.achievement-notifications{position:fixed;bottom:20px;right:20px;z-index:1000;pointer-events:none}.achievement-notification{position:absolute;right:0;display:flex;align-items:center;background:rgba(26,26,26,.95);border-radius:8px;padding:12px 16px;margin-bottom:12px;box-shadow:0 4px 12px #0003;width:300px;pointer-events:auto;animation:slideIn .3s ease-out forwards;transition:transform .3s ease}.achievement-notification:hover{transform:translate(-5px)}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.achievement-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:16px}.achievement-logo{width:40px;height:40px;object-fit:contain}.achievement-icon{color:gold}.achievement-info{flex-grow:1;min-width:0}.achievement-info h3{margin:0;color:gold;font-size:14px;font-weight:500}.achievement-name{color:#fff;font-size:16px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dismiss-button{background:none;border:none;color:#666;padding:4px;cursor:pointer;margin-left:12px;display:flex;align-items:center;justify-content:center;opacity:.5;transition:opacity .2s}.dismiss-button:hover{opacity:1}.donate-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.donate-modal-content{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;padding:24px;width:90%;max-width:400px;position:relative}.donate-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.donate-modal-header h3{margin:0;font-size:20px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:8px}.donate-modal-close-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--input-bg);border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s;padding:8px}.donate-modal-close-button:hover{color:var(--text-primary)}.donate-modal-body p{color:var(--text-secondary);margin-bottom:24px;font-size:14px;line-height:1.6}.amount-selection{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.amount-buttons{display:flex;gap:12px;justify-content:center}.amount-button{background:var(--input-bg);border:1px solid var(--border-color);border-radius:12px;padding:12px 24px;color:var(--text-primary);font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;flex:1;text-align:center}.amount-button:hover:not(:disabled){background:var(--panel-bg);border-color:var(--accent-blue);transform:translateY(-1px)}.amount-button.selected{background:var(--accent-blue);border-color:var(--accent-blue)}.amount-button:disabled{opacity:.5;cursor:not-allowed}.selected-amount{text-align:center;color:var(--text-primary);font-size:18px;font-weight:500;padding:12px;background:var(--input-bg);border-radius:12px;border:1px solid var(--border-color)}.action-buttons{display:flex;gap:12px;margin-top:24px}.cancel-button{flex:1;background:var(--input-bg);border:1px solid var(--border-color);border-radius:12px;padding:12px 24px;color:var(--text-secondary);font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button:hover{background:var(--panel-bg);color:var(--text-primary)}.donate-button{flex:1;background:var(--accent-blue);border:none;border-radius:12px;padding:12px 24px;color:var(--text-primary);font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.donate-button:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.donate-button:disabled{opacity:.5;cursor:not-allowed}.error-message{color:#ef4444;background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);padding:12px;border-radius:8px;font-size:14px;text-align:center;margin-top:16px}.confetti-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1001;overflow:hidden}.confetti.heart{position:absolute;font-size:24px;color:var(--heart-color);opacity:0;animation:heart-fall var(--fall-duration, 3s) linear forwards;animation-delay:var(--delay, 0s);transform-origin:center;will-change:transform,opacity;text-shadow:0 0 5px rgba(0,0,0,.3)}@keyframes heart-fall{0%{opacity:1;transform:translateY(-20px) scale(.3) rotate(0)}25%{opacity:1;transform:translateY(25vh) translate(var(--shake-distance, 15px)) scale(1) rotate(90deg)}50%{opacity:1;transform:translateY(50vh) translate(calc(var(--shake-distance, 15px) * -1)) scale(.8) rotate(180deg)}75%{opacity:.8;transform:translateY(75vh) translate(var(--shake-distance, 15px)) scale(1.2) rotate(270deg)}to{opacity:0;transform:translateY(105vh) translate(0) scale(.5) rotate(360deg)}}.modal-header.thank-you{justify-content:center;margin-bottom:30px}.modal-header.thank-you h3{font-size:28px;color:var(--text-primary)}.thank-you-heart{color:#ff4757;animation:pulse 1.5s infinite}.modal-body.thank-you{text-align:center}.thank-you-message{font-size:16px!important;color:var(--text-primary)!important;margin-bottom:30px!important;line-height:1.6}.welcome-button{background:linear-gradient(135deg,#ff6b6b,#ff4757);border:none;border-radius:12px;padding:14px 32px;color:#fff;font-size:18px;font-weight:500;cursor:pointer;transition:all .3s;width:100%;box-shadow:0 4px 15px #ff47574d}.welcome-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff475766}.welcome-button:active{transform:translateY(1px)}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}:root{--bg-dark: #0a0f1c;--panel-bg: #111827;--input-bg: #1f2937;--border-color: rgba(255, 255, 255, .1);--text-primary: #ffffff;--text-secondary: #94a3b8;--accent-blue: #3b82f6;--success-green: #22c55e;--warning-yellow: #fbbf24;--primary-color: var(--accent-blue);--secondary-color: var(--panel-bg);--error-red: #ef4444;--error-light: rgba(239, 68, 68, .1)}body{background:var(--bg-dark);color:var(--text-primary);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:1.5rem}img{max-width:50vw;max-height:25vw;display:block;margin:auto}form{display:flex;justify-content:center;gap:.5em;flex-flow:row wrap;max-width:40vw;margin:auto;align-items:baseline}button[type=submit]{padding:5px 20px;margin:10px auto;float:right}#greeting{margin:10px auto;padding:10px 60px;border:1px solid #222}#greeting:empty{display:none}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.icon-spin{animation:spin 1s linear infinite}
