*{margin:0;padding:0;box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0a0a0a;color:#e0e0e0}.app{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(135deg,#0a0a0a,#1a1a2e)}.container{width:100%;max-width:700px;background:#151520;border-radius:16px;padding:40px;box-shadow:0 8px 32px #0006,0 0 0 1px #ffffff1a}.container-header{display:flex;justify-content:flex-end;margin-bottom:8px}.tutorial-link{color:#667eea;font-size:.9rem;text-decoration:none;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:6px;transition:all .2s;cursor:pointer;background-color:#667eea1a}.tutorial-link:hover{background-color:#667eea33}.logo-container{display:flex;justify-content:center;align-items:center;margin-bottom:16px}.logo-image{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(102,126,234,.4))}@keyframes logo-glow{0%{filter:drop-shadow(0 0 8px rgba(102,126,234,.4))}to{filter:drop-shadow(0 0 16px rgba(102,126,234,.8))}}.title{font-size:28px;font-weight:600;text-align:center;margin-bottom:32px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.input-group{margin-bottom:24px}.label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#b0b0b0;margin-bottom:8px}.input{width:100%;padding:12px 16px;background:#1e1e2e;border:1px solid #2a2a3a;border-radius:8px;color:#e0e0e0;font-size:14px;transition:all .3s ease}.input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input:disabled{opacity:.6;cursor:not-allowed}.input::placeholder{color:#666}.file-upload-area{border:2px dashed #2a2a3a;border-radius:12px;padding:40px;text-align:center;cursor:pointer;transition:all .3s ease;background:#1a1a2a;margin-bottom:24px;min-height:200px;display:flex;align-items:center;justify-content:center}.file-upload-area:hover{border-color:#667eea;background:#1e1e2e}.file-upload-area.has-file{border-color:#667eea;background:#1a1a2a}.upload-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;color:#888}.upload-placeholder p{margin:0}.upload-placeholder .hint{font-size:12px;color:#666}.file-info{display:flex;align-items:center;gap:16px;width:100%;padding:16px;background:#1e1e2e;border-radius:8px}.file-details{flex:1;text-align:left}.file-name{font-size:14px;font-weight:500;color:#e0e0e0;margin-bottom:4px;word-break:break-all}.file-size{font-size:12px;color:#888;margin:0}.file-rename-hint{font-size:11px;color:#667eea;margin:4px 0 0;font-style:italic}.change-file-btn{padding:8px 16px;background:#2a2a3a;border:1px solid #3a3a4a;border-radius:6px;color:#e0e0e0;font-size:12px;cursor:pointer;transition:all .2s ease}.change-file-btn:hover{background:#3a3a4a;border-color:#667eea}.progress-container{margin-bottom:20px}.progress-bar{width:100%;height:8px;background:#1e1e2e;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease;border-radius:4px}.progress-info{display:flex;justify-content:space-between;align-items:center}.progress-text{font-size:12px;color:#888;margin:0}.upload-speed{font-size:12px;color:#4ade80;font-weight:500}.upload-bytes{text-align:center;font-size:11px;color:#666;margin:4px 0 0}.status-message{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}.status-message.success{background:#22c55e1a;border:1px solid rgba(34,197,94,.3);color:#4ade80}.status-message.error{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#f87171}.upload-btn{width:100%;padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .3s ease;margin-bottom:20px}.upload-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px #667eea66}.upload-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.footer-buttons{display:flex;gap:12px}.secondary-btn{flex:1;padding:12px 24px;background:#1e1e2e;border:1px solid #2a2a3a;border-radius:8px;color:#888;font-size:14px;cursor:not-allowed;transition:all .2s ease}.secondary-btn:disabled{opacity:.5}@media(max-width:640px){.container{padding:24px}.title{font-size:24px}.file-upload-area{padding:24px;min-height:150px}.file-info{flex-direction:column;text-align:center}.file-details{text-align:center}.footer-buttons{flex-direction:column}}.storage-info-card{background:#1a1a2a;border:1px solid #2a2a3a;border-radius:10px;padding:16px;margin-bottom:24px}.storage-header{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#b0b0b0;margin-bottom:12px}.storage-progress-container{display:flex;align-items:center;gap:12px;margin-bottom:12px}.storage-progress-bar{flex:1;height:10px;background:#1e1e2e;border-radius:5px;overflow:hidden}.storage-progress-fill{height:100%;background:linear-gradient(90deg,#4ade80,#22c55e);transition:width .3s ease;border-radius:5px}.storage-progress-fill.warning{background:linear-gradient(90deg,#fbbf24,#f59e0b)}.storage-progress-fill.danger{background:linear-gradient(90deg,#f87171,#ef4444)}.storage-percentage{font-size:13px;font-weight:600;color:#e0e0e0;min-width:50px;text-align:right}.storage-details{display:flex;justify-content:space-between;font-size:12px;color:#888}.storage-file-warning{display:flex;align-items:center;gap:6px;font-size:12px;color:#f87171;margin-top:10px;padding:8px 12px;background:#f871711a;border-radius:6px}.storage-error{display:flex;align-items:center;gap:6px;font-size:12px;color:#f87171}.storage-loading{font-size:12px;color:#888}.remember-checkbox{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px;color:#888;cursor:pointer;-webkit-user-select:none;user-select:none}.remember-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#667eea;cursor:pointer}.remember-checkbox span{transition:color .2s}.remember-checkbox:hover span{color:#b0b0b0}.refresh-btn{margin-left:auto;padding:4px 8px;background:transparent;border:1px solid #3a3a4a;border-radius:4px;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.refresh-btn:hover:not(:disabled){border-color:#667eea;color:#667eea}.refresh-btn:disabled{opacity:.4;cursor:not-allowed}
