.login-modal-overlay{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:rgba(0,0,0,.8);justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.login-modal{background:#141619;border-radius:15px;width:100%;max-width:720px;padding:30px 10px;position:relative;box-shadow:0 20px 40px rgba(0,0,0,.5)}.login-modal-close{color:#777;cursor:pointer;transform-origin:50%;width:20px;height:20px;font-size:24px;transition:all .3s;position:absolute;top:30px;right:30px}.login-modal-close:hover{rotate:90deg}.login-modal-title{color:#fff;text-align:center;margin:0 0 20px;font-size:20px;font-weight:700}.login-progress{justify-content:center;align-items:center;gap:8px;margin-bottom:32px;display:flex}.login-step{align-items:center;padding-bottom:12px;display:flex;position:relative}.login-step-circle{color:#777;background:0 0;border:1px solid #777;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin:0 6px;font-size:12px;font-weight:600;transition:all .3s;display:flex}.login-step-circle.completed{color:#fff;background:#00cc9b;border:1px solid #00cc9b;width:24px;height:24px}.login-step.current .login-step-circle{color:#fff;background:#00cc9b;border:1px solid #00cc9b}.login-step.current .login-step-title{color:#fff}.login-step.pending .login-step-circle{color:#777;border:1px solid #777}.login-step-title{color:#6a727b;text-align:center;padding:0 10px;font-size:12px;font-weight:500}.login-step.current{color:#fff!important}.login-step.current:after{content:"";background-color:#00cc9b;height:2px;position:absolute;bottom:0;left:0;right:0}.login-step-separator{align-items:center;margin:0 4px;padding-bottom:12px;display:flex}.login-content{color:#fff;background:rgba(38,42,51,.3);border:1px dashed #262a33;border-radius:5px;align-items:flex-start;gap:24px;margin-bottom:12px;padding:20px;font-size:14px;display:flex}.login-content-1{height:260px}.login-info-section{text-align:center;flex:1}.login-info-title{text-align:left;color:#fff;width:100%;margin:0 0 16px;font-weight:600;line-height:1.4}.web5-highlight{color:#00cc9b}.login-benefits{margin:0;padding:0;list-style:none}.login-benefits li{color:#fff;text-align:left;margin-bottom:8px;padding-left:16px;line-height:1.6;position:relative}.login-benefits li:before{content:"•";color:#fff;font-weight:700;position:absolute;left:0}.login-graphic-section{width:224px;height:160px}.pixel-art-container{flex-direction:column;align-items:center;gap:12px;display:flex;position:relative}.pixel-text{color:#00cc9b;text-shadow:2px 2px #000;font-weight:700}.web5-text{letter-spacing:2px;font-size:16px}.ckb-text{letter-spacing:1px;font-size:14px}.pixel-planets{align-items:center;gap:16px;display:flex}.pixel-planet{border-radius:50%;width:24px;height:24px;position:relative}.yellow-planet{background:gold;box-shadow:0 0 8px rgba(255,215,0,.5)}.purple-planet{background:#8a2be2;box-shadow:0 0 8px rgba(138,43,226,.5)}.planet-rings{border:2px solid rgba(255,255,255,.3);border-radius:50%;width:32px;height:32px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pixel-planet:before{content:"";background:rgba(255,255,255,.6);border-radius:50%;width:4px;height:4px;position:absolute;top:2px;left:2px}.login-footer{justify-content:space-between;align-items:center;padding:20px 0 0;display:flex}.login-info-link{color:#00cc9b;align-items:center;gap:4px;font-size:14px;text-decoration:none;transition:color .3s;display:flex}.login-info-link:hover{color:#00b287}.info-icon{color:#000;background:#00cc9b;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:12px;font-weight:700;line-height:1;display:flex}.login-button-container{align-items:center;gap:8px;display:flex}.wallet-icon{color:#fff;background:#3b82f6;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;margin-bottom:4px;font-size:12px;font-weight:700;display:flex}.login-connect-button{color:#000;cursor:pointer;background:#00cc9b;border:none;border-radius:6px;min-width:114px;height:32px;padding:0 24px;font-size:14px;font-weight:500;line-height:32px;transition:all .3s}.login-connect-button:hover:not(:disabled){background:#00b287;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,204,155,.3)}.login-connect-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 6px rgba(0,204,155,.2)}.login-connect-button:disabled{color:#6a727b;cursor:not-allowed;box-shadow:none;opacity:.6;background:#4c525c;transform:none}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.login-modal{animation:.3s ease-out fadeIn}@keyframes pixelGlow{0%,to{text-shadow:2px 2px #000,0 0 8px #00cc9b}50%{text-shadow:2px 2px #000,0 0 16px #00cc9b,0 0 24px #00cc9b}}.pixel-text{animation:3s ease-in-out infinite pixelGlow}@keyframes planetRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.planet-rings{animation:10s linear infinite planetRotate}.name-input-container{width:80%;margin:20px 0;display:inline-block;position:relative}.name-input{color:#fff;background:#1c2027;border:1px solid #4c525c;border-radius:8px;width:100%;padding:16px;font-size:14px;transition:all .3s}.name-input:focus{border-color:#00cc9b;outline:none;box-shadow:0 0 0 2px rgba(0,204,155,.1)}.name-input:disabled{color:#6a727b;cursor:not-allowed;opacity:.6;background:#0f1114;border-color:#2c3038}.name-input::placeholder{color:#6a727b}.name-input-icon{pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.validation-icon{width:20px;height:20px;font-size:20px}.validation-icon.loading{color:#00cc9b;animation:1s linear infinite spin}.validation-icon.success{color:#00cc9b}.validation-icon.error{color:#ef4444}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.input-valid-icon{color:#000;background:#00cc9b;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.validation-message{margin-top:8px}.validation-error{color:#ef4444;font-size:12px}.login-description{color:#e5e7eb;text-align:left;margin:16px 0 24px;font-size:14px;line-height:1.6}.drag-drop-container{justify-content:space-between;align-items:center;gap:40px;min-height:200px;margin:32px 0;display:flex}.drag-source{flex:0 0 240px;align-items:center}.planet-account{cursor:grab;border:1px dashed #4c525c;border-radius:12px;justify-content:center;align-items:center;width:100px;height:100px;margin:10px auto;transition:all .3s;display:flex}.planet-account:hover{background:#262a33;border-color:#00cc9b}.planet-account.dragging{opacity:.7;cursor:grabbing;transform:scale(.95)}.account-info{margin-bottom:12px}.account-name{color:#00cc9b;margin-bottom:4px;font-size:16px;font-weight:600}.account-address{color:#fff;cursor:pointer;justify-content:center;align-items:center;gap:4px;margin-bottom:4px;font-size:12px;transition:all .3s;display:flex}.wallet-badge{color:#fff;background:#3b82f6;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:flex;position:absolute;top:-8px;right:-8px}.wallet-status-section{margin-top:12px;margin-bottom:12px}.wallet-status-divider{border-top:1px dashed #262a33;height:1px;margin-bottom:12px}.wallet-status-container{flex-direction:column;gap:8px;display:flex}.wallet-status-info{align-items:center;gap:8px;display:flex}.wallet-checkmark{color:#00cc9b;font-size:16px;font-weight:600}.wallet-connected-text{color:#00cc9b;font-size:14px;font-weight:500}.wallet-address-container{justify-content:space-between;align-items:center;gap:12px;display:flex}.wallet-address-text{color:#e5e7eb;flex:1;font-family:monospace;font-size:12px}.wallet-disconnect-link{color:#ef4444;cursor:pointer;font-size:12px;text-decoration:none;transition:color .3s}.wallet-disconnect-link:hover{color:#dc2626;text-decoration:underline}.wallet-status{background:#1c2027;border:1px solid #4c525c;border-radius:8px;margin-top:16px;padding:12px}.wallet-connected{color:#00cc9b;margin:0 0 4px;font-size:14px;font-weight:600}.wallet-address{color:#e5e7eb;margin:0 0 12px;font-size:12px}.wallet-controls{justify-content:center;gap:8px;display:flex}.wallet-control-btn{cursor:pointer;border:none;border-radius:4px;min-width:80px;padding:6px 12px;font-size:12px;font-weight:500;transition:all .3s}.wallet-control-btn:disabled{color:#6a727b;cursor:not-allowed;opacity:.5;background:#4c525c}.disconnect-btn{color:#fff;background:#ef4444}.disconnect-btn:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 2px 8px rgba(239,68,68,.3)}.switch-btn{color:#fff;background:#3b82f6}.switch-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 2px 8px rgba(59,130,246,.3)}.drag-target{flex:1;justify-content:center;align-items:center;display:flex}.nervos-galaxy{cursor:pointer;justify-content:center;align-items:center;width:240px;height:166px;transition:all .3s;display:flex;position:relative}.nervos-galaxy:hover{transform:scale(1.05)}.nervos-galaxy.dropped{border:1px dashed #00cc9b}.insufficient-funds-warning{color:#ef4444;text-align:center;text-align:center;margin-top:20px;font-size:12px;line-height:16px}.create-account-error{text-align:center;color:#ef4444;margin-top:8px;padding:8px;font-size:14px}.create-account-error .error-reason{color:#ef4444;margin-top:4px;font-size:12px}.success-info{text-align:center}.success-card{align-items:top;background:url(/bg-card.svg) no-repeat;justify-content:space-between;width:350px;height:182px;margin:0 auto;padding:50px 30px 0 0;display:flex}.success-head{text-align:center;width:120px}.success-details{text-align:left;flex:1;padding-left:10px}.success-name{color:#00cc9b;word-break:break-all;margin-bottom:4px;font-size:16px;font-weight:600}.success-address{color:#6a727b;align-items:center;gap:8px;font-size:12px;display:flex}.success-description{color:#fff;margin:12px 0;font-size:12px;line-height:1.6}.card-img{background:#141619;border-radius:5px;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto;display:flex}.card-name{color:#000;text-align:center;padding:10px 0;font-size:14px;font-weight:600;line-height:16px}.step-navigation{justify-content:center;gap:16px;width:100%;display:flex;position:relative}.step-navigation a{color:#00cc9b;text-decoration:underline}.web5-did-dropdown-container{display:inline-block;position:relative}.login-web5-did-button{color:#fff;cursor:pointer;background:#6a727b;border:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-width:114px;height:32px;padding:0 24px;font-size:14px;font-weight:500;line-height:32px;transition:all .3s;display:flex;position:relative}.login-web5-did-button:hover,.login-web5-did-button.active{background:#5a6068}.web5-did-dropdown{z-index:1000;background:#262a33;border-radius:6px;min-width:200px;margin-top:4px;position:absolute;top:-60px;right:0;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.3)}.web5-did-dropdown-item{color:#fff;cursor:pointer;white-space:nowrap;padding:12px 16px;font-size:14px;transition:background-color .2s}.web5-did-dropdown-item:hover{background:#1c2027}.web5-did-dropdown-item:first-child{border-top-left-radius:6px;border-top-right-radius:6px}.web5-did-dropdown-item:last-child{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.nav-button{cursor:pointer;border:none;border-radius:6px;min-width:100px;padding:12px 24px;font-size:14px;font-weight:600;transition:all .3s}.next-button{color:#000;background:#00cc9b}.next-button:hover:not(:disabled){background:#00b287;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,204,155,.3)}.next-button:disabled{color:#6a727b;cursor:not-allowed;box-shadow:none;background:#4c525c;transform:none}.complete-button{color:#000;cursor:pointer;background:#00cc9b;border:none;padding:12px 48px;font-size:16px;transition:all .3s}.complete-button:hover:not(:disabled){background:#00b287;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,204,155,.3)}.complete-button:disabled{color:#6a727b;cursor:not-allowed;box-shadow:none;opacity:.6;background:#4c525c;transform:none}@keyframes dragPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.planet-account.dragging{animation:.5s ease-in-out infinite dragPulse}@keyframes successGlow{0%,to{box-shadow:0 0 20px rgba(0,204,155,.5)}50%{box-shadow:0 0 40px rgba(0,204,155,.8)}}.success-planet{animation:2s ease-in-out infinite successGlow}@media (max-width:768px){.modal-overlay{padding:0}.login-modal{width:100%;max-width:none;margin:0;padding:5px}.login-content{flex-direction:column;gap:16px;padding:10px}.login-info-title{margin-bottom:8px}.login-benefits li{margin-bottom:4px;line-height:1.2}.login-graphic-section{text-align:center;flex:none;order:-1;align-items:center;width:100%;min-height:120px}.login-footer{flex-direction:column;align-items:stretch;gap:16px}.login-button-container{justify-content:center}.login-progress{flex-wrap:wrap;gap:4px}.login-step-separator{display:none}.login-step-circle{width:16px;height:16px;margin:0}.login-step-title{padding:0 2px}.name-input-container,.name-input{box-sizing:border-box;width:100%}.drag-drop-container{gap:8px;min-height:80px;margin:8px 0}.drag-source,.drag-target{flex:0 0 50%}.planet-account{width:50px;height:50px}.nervos-galaxy{width:120px;height:83px}.galaxy-core{width:100%;height:100%}.galaxy-core img,.galaxy-core object{max-width:120px;max-height:80px;width:100%!important;height:100%!important}.insufficient-funds-warning{text-align:center}.create-account-loading{text-align:center;color:#fff;font-size:14px}.login-description{margin:10px 0}.login-progress{margin-bottom:10px}}
