:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.dapp-manager{max-width:1200px;margin:0 auto;padding:20px;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;background:#fff;padding:20px 30px;border-radius:12px;box-shadow:0 4px 6px #0000001a}.header h1{margin:0;font-size:28px;color:#333;font-weight:600}.header-actions{display:flex;gap:12px}.add-btn,.export-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.add-btn{background:linear-gradient(135deg,#11998e,#38ef7d)}.add-btn:hover,.export-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0003}.add-btn:active,.export-btn:active{transform:translateY(0)}.dapp-list{display:flex;flex-direction:column;gap:16px}.dapp-card{background:#fff;border-radius:12px;padding:20px;display:flex;gap:20px;align-items:flex-start;cursor:move;transition:all .3s ease;box-shadow:0 2px 8px #0000001a;border:2px solid transparent}.dapp-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:#667eea}.dapp-card.dragging{opacity:.5;transform:scale(.98)}.drag-handle{display:flex;align-items:center;color:#999;font-size:20px;cursor:grab;-webkit-user-select:none;user-select:none;padding:0 5px}.drag-handle:active{cursor:grabbing}.dapp-icon{flex-shrink:0;width:80px;height:80px;border-radius:12px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.dapp-icon img{width:100%;height:100%;object-fit:cover}.dapp-content{flex:1;display:flex;flex-direction:column;gap:10px;min-width:0}.dapp-header-info{display:flex;justify-content:space-between;align-items:center;gap:10px}.dapp-name{margin:0;font-size:20px;font-weight:600;color:#333;flex:1}.dapp-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.dapp-index{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500}.delete-btn{background:#fff;border:2px solid #ff4444;color:#f44;font-size:18px;width:36px;height:36px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.delete-btn:hover{background:#f44;transform:scale(1.1)}.delete-btn:active{transform:scale(.95)}.dapp-description{margin:0;color:#666;font-size:14px;line-height:1.6}.dapp-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.dapp-url{color:#667eea;text-decoration:none;font-size:14px;word-break:break-all;transition:color .2s ease;flex:1;min-width:200px}.dapp-url:hover{color:#764ba2;text-decoration:underline}.tbc-badge{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;white-space:nowrap;flex-shrink:0}.tbc-badge.required{background:#e8f5e9;color:#2e7d32}.tbc-badge.optional{background:#fff3e0;color:#ef6c00}.add-form-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.add-form{background:#fff;border-radius:16px;padding:30px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.add-form h2{margin:0 0 25px;font-size:24px;color:#333;font-weight:600}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:#333}.form-group input,.form-group textarea{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical;min-height:80px}.url-input-wrapper{display:flex;align-items:stretch;border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;transition:border-color .2s ease}.url-input-wrapper:focus-within{border-color:#667eea}.url-prefix{display:flex;align-items:center;padding:12px;background:#f5f5f5;color:#666;font-size:13px;white-space:nowrap;border-right:1px solid #e0e0e0;-webkit-user-select:all;user-select:all}.url-suffix-input{flex:1;padding:12px!important;border:none!important;font-size:14px;min-width:0}.url-suffix-input:focus{outline:none}.icon-preview{margin-top:10px;display:flex;justify-content:center}.icon-preview img{width:80px;height:80px;border-radius:8px;object-fit:cover;box-shadow:0 2px 8px #0000001a}.checkbox-group label{display:flex;align-items:center;gap:8px;cursor:pointer}.checkbox-group input[type=checkbox]{width:auto;cursor:pointer}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:30px}.cancel-btn,.submit-btn{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.cancel-btn{background:#f5f5f5;color:#666}.cancel-btn:hover{background:#e0e0e0}.submit-btn{background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff;box-shadow:0 2px 4px #0000001a}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0003}.submit-btn:active{transform:translateY(0)}@media(max-width:768px){.dapp-manager{padding:10px}.header{flex-direction:column;gap:15px;padding:15px}.header h1{font-size:24px}.header-actions{width:100%;flex-direction:column}.add-btn,.export-btn{width:100%}.dapp-card{flex-direction:column;align-items:center;text-align:center}.drag-handle{align-self:flex-start}.dapp-icon{width:100px;height:100px}.dapp-footer{flex-direction:column;align-items:stretch}.dapp-url{min-width:unset}.add-form{padding:20px}.add-form h2{font-size:20px}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{width:100%}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
