* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #232f3e;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.input-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
}

button {
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover:not(:disabled) {
    background-color: #ec7211;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.progress-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.results-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.result-item.success {
    border-left: 4px solid #4CAF50;
}

.result-item.error {
    border-left: 4px solid #f44336;
}

.result-item h3 {
    color: #232f3e;
    margin-bottom: 10px;
    font-size: 18px;
}

.result-item p {
    margin-bottom: 5px;
    font-size: 14px;
}

.error-msg {
    color: #f44336;
}

.status-master {
    color: #ff9900;
    font-weight: 600;
}

.status-member {
    color: #4CAF50;
    font-weight: 600;
}

.status-none {
    color: #666;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .input-section, .progress-section, .results-section {
        padding: 15px;
    }
    
    textarea {
        font-size: 12px;
        padding: 10px;
    }
    
    button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-item h3 {
        font-size: 16px;
    }
    
    .result-item p {
        font-size: 13px;
    }
}
